mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-04 07:06:36 +08:00
feat(pages): 支持 GitHub Release 部署源
增加 latest/tag 手动检查与同步、ETag 与限流退避、资源替换确认,以及对应的前端来源管理和部署来源展示。
This commit is contained in:
@@ -211,9 +211,16 @@ of_pages_projects
|
||||
GitHub:
|
||||
|
||||
```text
|
||||
SHA-256("github|" + owner_repo + "|" + selector + "|" + tag + "|" + asset_name)
|
||||
LP(value) = uint64be(byte_length(UTF8(value))) || UTF8(value)
|
||||
|
||||
SHA-256(
|
||||
"openflare:pages:github-release:v2" ||
|
||||
LP(owner_repo) || LP(selector) || LP(tag) || LP(asset_name)
|
||||
)
|
||||
```
|
||||
|
||||
GitHub identity 对每个 UTF-8 字段使用无歧义的长度前缀编码,不能使用分隔符直接拼接;自动更新开关和检查间隔不参与 identity。
|
||||
|
||||
Remote:
|
||||
|
||||
```text
|
||||
|
||||
Reference in New Issue
Block a user