Files
gitea-publish 56e2c8a403 fix: 排除规则漏了根目录的 EE 许可证引用文件;脚本补 public 方向修正
修一个会误导读者的排除漏洞:
只排除 ee/ 时,LICENSES/LicenseRef-OpenWork-EE.txt 仍会被推进镜像。
它是 REUSE 规范的引用文件,存在的唯一意义是给 ee/ 下的文件做 SPDX 引用
(ee/ 里写着 "SPDX-License-Identifier: LicenseRef-OpenWork-EE")。
ee/ 一删,它就成了孤儿。许可证文本公開本身不侵权(上游自己就公开),
但一个不含 EE 代码的仓库里躺着 EE 许可证,读者只会以为我们漏排了。

许可证块补 redistributable_after_excludes: true。
依据:根 LICENSE 原文(已读远端全文)——
  "All content that resides under the /ee directory ... OpenWork EE License"
  "Content outside ... is available under the 'MIT' license"
排除 ee/ 后为纯 MIT。

mirror_sync.sh 补 private → public 方向修正,但默认不自动翻:
原先脚本只有「收紧」方向(应为私有就 PATCH private:true),
没有放宽方向——openwork 判定为 public 但仓库停在 private,
重跑多少次都不会翻过来,档案与事实不一致却看不出原因。
现在会报告「应为 public 但当前 private」,要求显式加 --set-public。
公开不可逆,放松方向永远不该自动做。

一句话结论去掉样本计数:
maka「四个里唯一」、QwenPaw/Tutti「七个里…」——每加一批样本就过时一次。
改成不带计数的表述,「已收录样本中」本就是隐含的。

总纲 id=98 已重发。
2026-09-02 00:26:49 +08:00

55 lines
2.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 收录总表 —— 驱动 fetch_stats.py 批量抓取
# 新增项目时在此登记,id 需与 data/projects/<id>.yaml 一致。
projects:
- id: ipollowork
repo: Devin-AXIS/iPolloWork
status: active
added_at: 2026-09-01
license_level: L3 # source-available,镜像私有
mirror_visibility: private
- id: openwork
repo: different-ai/openwork
status: active
added_at: 2026-09-01
license_level: L3 # 目录切分许可:ee/ 之外 MIT,ee/ 为 EE License
mirror_visibility: public # 人工复核:镜像时排除 ee/ 后为纯 MIT,故可公开
# ⚠️ 这个字段**不参与镜像决策**,只是批量抓取时的提示。
# mirror_sync.sh 只读 data/projects/openwork.yaml 的 mirror.excludes。
# 曾因只写在这里、脚本又不读它,导致 public 可见性建立在一条从未生效的规则上。
# 2026-09-01 已修:脚本支持并强制校验档案里的 excludes。
mirror_excludes: ["ee/"]
- id: orca
repo: stablyai/orca
status: active
added_at: 2026-09-01
license_level: L1
mirror_visibility: public
- id: maka
repo: apache/maka
status: active
added_at: 2026-09-01
license_level: L1
mirror_visibility: public
- id: openclaw
repo: openclaw/openclaw
status: active
added_at: 2026-09-01
license_level: L1 # ⚠️ 自动判定 L3(SPDX=NOASSERTION),人工复核推翻
mirror_visibility: public # LICENSE 原文是完整 MIT,NOASSERTION 系末端第三方声明段致检测器误判
mirror_mode: link-only # 体积 3276 MB:超带宽(50KB/s→19h)与 Gitea 推送上限(50MB)两个数量级,不镜像
- id: qwenpaw
repo: agentscope-ai/QwenPaw
status: active
added_at: 2026-09-01
license_level: L1
mirror_visibility: public
mirror_mode: pending # 109 MB,超 50 MB 推送上限,需 source-only 快照降级
- id: tutti
repo: tutti-os/tutti
status: active
added_at: 2026-09-01
license_level: L1
mirror_visibility: public
mirror_mode: pending # 243 MB,本地已有浅克隆可复用,仍需 unshallow + source-only 降级