mirror of
https://git.openapi.site/https://github.com/desirecore/registry.git
synced 2026-09-05 15:23:39 +08:00
fix: 固定 Registry 受信文本换行 (#4)
This commit is contained in:
9
.gitattributes
vendored
Normal file
9
.gitattributes
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
* text=auto eol=lf
|
||||
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.gif binary
|
||||
*.webp binary
|
||||
*.ico binary
|
||||
*.zip binary
|
||||
@@ -323,6 +323,10 @@ DesireCore 客户端的同步流程:
|
||||
门禁校验后再打包,**绝不执行本 checkout 携带的脚本**。两侧任一校验失败都不能生成新的
|
||||
`defaults/registry.zip`。
|
||||
|
||||
`.gitattributes` 将所有文本固定为 LF;这是跨平台信任边界的一部分。主仓固定 authored Schema
|
||||
与受审内容摘要,Windows checkout 不得把已审核的 JSON/Markdown 改写为 CRLF,否则运行时会
|
||||
按哈希不匹配失败关闭整个官方 v4 目录。
|
||||
|
||||
## 贡献指南
|
||||
|
||||
1. Fork 本仓库
|
||||
|
||||
Reference in New Issue
Block a user