docs: 平台仓改为公开 —— 消费方可匿名 clone / 拉 release 包
- Gitea 仓 private=false(API 改;实测匿名 GET repo/release/asset 均 200/206,gzip 正常) - docs §6.2 与 CLAUDE §4.2 补「公开仓无需凭据;fetch-platform.sh 自动有凭据带凭据、无凭据走匿名」
This commit is contained in:
1 parent
3093ec49fe
commit
dc051d485d
2 files changed
+6
No files matched your search
@@ -202,6 +202,8 @@ bash scripts/release.sh 0.5.0 --publish # 再推到 Gitea Release(tag v0.5.0
|
||||
**B** 最小消费方用 `--extern` + `-L dependency` 直链 rlib、零重编平台(方案 C 可用)。
|
||||
- `--publish`:默认 `GITEA_URL=http://127.0.0.1:13300`、`GITEA_REPO=ssw/ssw-platform`,
|
||||
凭据取本机 `git credential` 或 `GITEA_USER/GITEA_PASS`。
|
||||
- 🔓 **平台仓已设为公开**(2026-11-05,`private=false`)⇒ 消费方 clone / 下载 release asset
|
||||
**无需凭据**;`fetch-platform.sh` 无凭据时自动走匿名(有凭据则带上,兼容私有镜像)。
|
||||
- 🔴 **Gitea 附件上限**:默认 100M,本包约 146M ⇒ 本机已把 `[attachment] MAX_SIZE` 调到 500
|
||||
(`persist/gits/gitea/conf/app.ini`,备份 `app.ini.bak-*`,`docker restart jnpf-gitea` 生效)。
|
||||
换环境必须同步调大,否则上传 413。
|
||||
|
||||
@@ -279,6 +279,10 @@ bash scripts/release.sh 0.5.1 --publish # 出包 + 推 Gitea Release(ta
|
||||
repo `ssw/ssw-platform`,可用 `GITEA_URL` / `GITEA_REPO` / `GITEA_USER` / `GITEA_PASS` 覆盖
|
||||
(凭据缺省取本机 `git credential`)。
|
||||
|
||||
🔓 **平台仓已设为公开**(2026-11-05,`private=false`)⇒ 消费方 clone 与下载 release asset
|
||||
**均无需凭据**(实测匿名 `GET /releases/download/...` 返回 206、gzip 正常)。`fetch-platform.sh`
|
||||
会自动「有凭据带凭据、没凭据走匿名」。
|
||||
|
||||
> ⚠️ Gitea 默认附件上限 100M,本包约 146M;本机已把 `[attachment] MAX_SIZE` 调到 500
|
||||
> (`persist/gits/gitea/conf/app.ini`,备份 `app.ini.bak-*`)。换环境需同步调大,否则上传 413。
|
||||
|
||||
|
||||
Reference in new issue
Block a user