Skip to content

合并同名源:catalog 313 → 221 个构建 - #5

Merged
laincat merged 1 commit into
mainfrom
chore/dedupe-sources
Nov 4, 2026
Merged

laincat merged 1 commit into
mainfrom
chore/dedupe-sources

Conversation

@laincat

@laincat laincat commented Nov 4, 2026

Copy link
Copy Markdown
Owner

catalog 里 313 个构建中有 150 个落在 60 组同名条目里,其中不少是同一站点被不同作者、
不同版本、甚至自动导出重复登记。按新写入 docs/订阅与版本规则.md 的规则清一遍:

类别 数量 规则
同一 key 多份 51 只留发布时会被选中的那份(状态 > priority > 版本),删掉的一定是本来就不会进订阅的
不同 key 但同名 41 保留排序最高的 key;KadishJoey/venera-json 的 source_xx_hash 自动导出一律合并到同名手写源

结果:313 → 221 个构建,同名残留 0、同 key 残留 0。

影响:

  • 订阅里同名源不再出现两条(如「极速漫画」「腾讯动漫」「如漫画」「咚漫」「zero搬运网」)
  • 每日巡检少跑 92 个构建(此前每个构建都要真实抓取、下载并解码图片)
  • 自有源(wnacg)和栗子(lizimh)等不在删除范围内,monitor/source-notes.json 的两条备注对应构建都保留
  • 官方版本基线来自 monitor/official-keys.json,不依赖被删的官方登记项,因此基线比较不受影响

验证:

  • validate_catalog:221 个构建通过
  • scripts/cloud_audit.py self-test:通过
  • python3 -m unittest discover -s scripts -p '*_test.py':69 项通过
  • 合并后触发一次巡检重新生成 subscriptions/*、data/sources.lock.json 与各报告
完整删除清单(92 条)
名称 key 版本 仓库 处理
Komiic Komiic 1.0.3 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
Komiic Komiic 1.0.2 l233333333/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
腾讯动漫 ac_qq 1.0.1 Angus-fw/venera-configs 同名合并到 tencentcomics(1.0.0,xiaoxingmian/venera-configs)
百合会 baihehui 1.0.2 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
香蕉漫画 banana 1.0.4 Junkrat9527/venera-sources 同名合并到 manhuauo_banana_v2(1.0.3,handahao666-boop/venera_comic_source)
包子漫画 baozi 1.1.6 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
包子漫画 baozi 1.1.0 l233333333/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
哔哩漫画 bilimanga 1.6.2 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
CCC追漫台 ccc 1.0.1 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
CCC追漫台 ccc 1.0.2 zakkida/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
カドコミ comic_walker 1.0.1 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
カドコミ comic_walker 1.0.1 zakkida/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
comick comick 1.1.1 l233333333/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
拷贝漫画 copy_manga 1.4.3 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
拷贝漫画 copy_manga 1.4.4 zakkida/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
CosplayTele cosplaytele_25_190983 0.2.0 KadishJoey/venera-json 同名合并到 cosplaytele(1.7.0,meaninglesslyy/venera-config)
动漫屋 dm5 0.2.0 hea784/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
咚漫 dongman 1.0.8 Junkrat9527/venera-sources 同名合并到 dongmanmanhua(1.0.6,handahao666-boop/venera_comic_source)
动漫啦 dongman_la 1.0.3 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
动漫啦 dongmanla 1.0.1 token1008/venera-cn-64bit 同名合并到 dongman_la(1.0.5,handahao666-boop/venera_comic_source)
ehentai ehentai 1.1.8 yelongyue197-svg/venera-sources 同一 key 只保留发布时优先的构建(venera-app/venera-configs)
飞翔漫画 ffppt 1.0.2 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
古风漫画 gfmh 1.3.1 Junkrat9527/venera-sources 同名合并到 GfmhApp(1.3.0,handahao666-boop/venera_comic_source)
瓜子漫画 guazimanhua 1.0.4 handahao666-boop/venera_comic_source 同名合并到 guazi_manhua_v2(1.0.1,ChenTeea/veneresource)
瓜子漫画 guazimanhua 1.0.4 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
嬉皮漫畫 hipmh 1.0.6 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
hitomi.la hitomi 1.1.3 zakkida/venera-sources 同一 key 只保留发布时优先的构建(venera-app/venera-configs)
爱看漫 ikmmh 1.0.6 venera-app/venera-configs 同名合并到 ikmmh_v2(3.0.0,handahao666-boop/venera_comic_source)
爱看漫 ikmmh 1.0.8 yelongyue197-svg/venera-sources 同一 key 只保留发布时优先的构建(venera-app/venera-configs)
极速漫画 jisu_1kkk 1.0.0 token1008/venera-cn-64bit 同名合并到 one_kkk(2.0.0,Junkrat9527/venera-sources)
禁漫天堂 jm 1.4.1 hea784/venera-configs 同一 key 只保留发布时优先的构建(BB-CHICKEN/venera-jm)
禁漫天堂 jm 1.4.0 venera-app/venera-configs 同一 key 只保留发布时优先的构建(BB-CHICKEN/venera-jm)
禁漫天堂 jm 1.3.1 yelongyue197-svg/venera-sources 同一 key 只保留发布时优先的构建(BB-CHICKEN/venera-jm)
Komga komga 1.0.1 zakkida/venera-sources 同一 key 只保留发布时优先的构建(venera-app/venera-configs)
来漫画(分流) laimanhua_split 1.2.2 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
Lanraragi lanraragi 1.1.0 yelongyue197-svg/venera-sources 同一 key 只保留发布时优先的构建(venera-app/venera-configs)
极速漫画 legacy_1kkk 0.1.0 wuliaoe/venera-extra-sources 同名合并到 one_kkk(2.0.0,Junkrat9527/venera-sources)
51漫画 legacy_51sami 0.1.0 wuliaoe/venera-extra-sources 同名合并到 manga51(1.2.0,handahao666-boop/venera_comic_source)
漫画联合国 legacy_comicun 0.1.0 wuliaoe/venera-extra-sources 同名合并到 source_32_e5ebaf(0.2.0,KadishJoey/venera-json)
大魔兔 legacy_damotu 0.1.0 wuliaoe/venera-extra-sources 同名合并到 damotu(1.0.0,token1008/venera-cn-64bit)
六漫画 legacy_hbdsfj 0.1.0 wuliaoe/venera-extra-sources 同名合并到 liumanhua(1.0.0,token1008/venera-cn-64bit)
看漫画 legacy_kanman 0.1.0 wuliaoe/venera-extra-sources 同名合并到 kanman(2.2.7,Junkrat9527/venera-sources)
51漫画 manga51 1.1.0 huajiaoshu520/venera-cimoc 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
51漫画 manga51 1.3.0 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
MangaDex manga_dex 1.2.0 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
MangaDex manga_dex 1.1.0 yelongyue197-svg/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
Mangabz mangabz 0.2.0 hea784/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
Mangabz mangabz 1.0.0 YHQY-Dev/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
Mangabz mangabz_72_18ed08 0.2.0 KadishJoey/venera-json 同名合并到 mangabz(1.0.0,handahao666-boop/venera_comic_source)
漫画人 manhuaren 1.0.0 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
漫蛙吧 manwaba 1.0.3 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
漫网 manwang 1.3.4 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
漫画1234 mh1234 1.0.1 zakkida/venera-sources 同一 key 只保留发布时优先的构建(venera-app/venera-configs)
4399漫画网 mh4399 1.0.5 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
MOJOIN mojoin 1.0.8 Junkrat9527/venera-sources 同名合并到 mojoin_v2(1.0.7,handahao666-boop/venera_comic_source)
nhentai nhentai 1.2.1 yelongyue197-svg/venera-sources 同一 key 只保留发布时优先的构建(venera-app/venera-configs)
鸟鸟韩漫 nnhanman 1.1.1 meaninglesslyy/venera-config 同名合并到 nnhm(1.3.0,Junkrat9527/venera-sources)
极速漫画 one_kkk 0.2.0 hea784/venera-configs 同一 key 只保留发布时优先的构建(Junkrat9527/venera-sources)
腾讯动漫(正版) qq_comic_official 2.0.0 Junkrat9527/venera-sources 同名合并到 qq_comic_official_v1(1.0.3,handahao666-boop/venera_comic_source)
Rawkuma rawkuma 1.1.3 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
如漫画 rumanhua 2.4.1 Junkrat9527/venera-sources 同名合并到 rumanhua_fixed_v15(1.2.8,handahao666-boop/venera_comic_source)
如漫画 rumanhua2 0.4.3 zhimouzhou/venera-manga-sources 同名合并到 rumanhua_fixed_v15(1.2.8,handahao666-boop/venera_comic_source)
SF漫画 sf_27_eb0a9b 0.2.0 KadishJoey/venera-json 同名合并到 sfacg_manhua(1.0.0,handahao666-boop/venera_comic_source)
SF漫画 sfacg_manhua 1.0.2 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
少年ジャンプ+ shonen_jump_plus 1.1.1 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
少年ジャンプ+ shonen_jump_plus 1.1.3 yelongyue197-svg/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
包子漫画 source_02_e3ec7f 0.2.0 KadishJoey/venera-json 同名合并到 baozi(1.1.7,handahao666-boop/venera_comic_source)
再漫画 source_06_b7b48e 0.2.0 KadishJoey/venera-json 同名合并到 zaimanhua(1.0.2,handahao666-boop/venera_comic_source)
野蛮漫画 source_08_fa018e 0.2.0 KadishJoey/venera-json 同名合并到 yemancomic(0.1.2,hea784/venera-configs)
顶漫画 source_09_fe41f7 0.2.0 KadishJoey/venera-json 同名合并到 dingmanhua(1.0.5,Angus-fw/venera-configs)
绅士会所 source_16_d622ad 0.2.0 KadishJoey/venera-json 同名合并到 hentaiclub(1.0.0,meaninglesslyy/venera-config)
腾讯漫画 source_26_c5541c 0.2.0 KadishJoey/venera-json 同名合并到 acqq(1.0.0,token1008/venera-cn-64bit)
漫画人 source_35_667a4f 0.2.0 KadishJoey/venera-json 同名合并到 manhuaren(1.0.1,handahao666-boop/venera_comic_source)
咚漫 source_36_d33fb7 0.2.0 KadishJoey/venera-json 同名合并到 dongmanmanhua(1.0.6,handahao666-boop/venera_comic_source)
极速漫画 source_39_7cc572 0.2.0 KadishJoey/venera-json 同名合并到 one_kkk(2.0.0,Junkrat9527/venera-sources)
动漫啦 source_40_5846eb 0.2.0 KadishJoey/venera-json 同名合并到 dongman_la(1.0.5,handahao666-boop/venera_comic_source)
动漫屋 source_41_b0c446 0.2.0 KadishJoey/venera-json 同名合并到 dm5(7.0.3,handahao666-boop/venera_comic_source)
漫漫漫画 source_42_481e60 0.2.0 KadishJoey/venera-json 同名合并到 manman(1.0.0,token1008/venera-cn-64bit)
漫本 source_46_ac3286 0.2.0 KadishJoey/venera-json 同名合并到 manben(1.1.0,Junkrat9527/venera-sources)
漫画皮 source_48_074d4f 0.2.0 KadishJoey/venera-json 同名合并到 manhuapi(1.4.2,Junkrat9527/venera-sources)
拷贝漫画 source_61_acb91b 0.2.0 KadishJoey/venera-json 同名合并到 copy_manga(1.6.6,handahao666-boop/venera_comic_source)
無限動漫 source_64_2e309a 0.2.0 KadishJoey/venera-json 同名合并到 8comic(1.0.0,zakkida/venera-sources)
漫画柜 source_74_9820b5 0.2.0 KadishJoey/venera-json 同名合并到 ManHuaGui(1.2.1,handahao666-boop/venera_comic_source)
腾讯动漫 tencent_comics 1.1.3 Junkrat9527/venera-sources 同名合并到 tencentcomics(1.0.0,xiaoxingmian/venera-configs)
图库漫画 tuku_cc 1.0.2 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
LINE WEBTOON webtoons_zh_hant 1.0.0 handahao666-boop/venera_comic_source 同一 key 只保留发布时优先的构建(Junkrat9527/venera-sources)
W漫画 wmanhua 1.0.2 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
野蛮漫画 yemancomic 1.3.8 Junkrat9527/venera-sources 同一 key 只保留发布时优先的构建(hea784/venera-configs)
优酷漫画 ykmh 1.0.0 venera-app/venera-configs 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
优酷漫画 ykmh 1.0.2 zakkida/venera-sources 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)
zero搬运网 zerobyw 1.2.0 Junkrat9527/venera-sources 同名合并到 zerobyw33(1.2.0,handahao666-boop/venera_comic_source)
zero搬运网 zerobyw33 1.2.0 meaninglesslyy/venera-config 同一 key 只保留发布时优先的构建(handahao666-boop/venera_comic_source)

catalog 里 150 个构建落在 60 组同名条目中:同一 key 被多个仓库登记、同一站点有
不同作者的不同 key 版本、以及 KadishJoey/venera-json 的 source_xx_hash 自动导出
重复登记。这既让订阅里出现同名重复条目,也让每日巡检多跑近三分之一的工作量。

去重规则(写入 docs/订阅与版本规则.md):

1. 字节完全相同的重复条目只留第一条;
2. 同一个 key 只保留发布时会被选中的那份——排序与 publish 一致(今日状态 >
   priority > 版本),所以删掉的一定是本来就不会进订阅的构建;
3. 不同 key 但同名,保留排序最高的 key,其余合并过去;KadishJoey/venera-json 的
   source_xx_hash 自动导出条目一律合并到同名手写源。

删除 92 个构建(同 key 51、同名不同 key 41),剩余 221;同名残留 0、同 key 残留 0。
自有源 wnacg、栗子 lizimh 等不在删除范围;官方版本基线来自
monitor/official-keys.json,不依赖被删的官方登记项。

验证:validate_catalog 通过(221 个构建)、cloud_audit self-test 通过、
scripts 下 69 项单测通过。
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T12:29:43.292849Z 81c45c8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@laincat
laincat merged commit 8ffe2aa into main Nov 4, 2026
1 check passed
@laincat
laincat deleted the chore/dedupe-sources branch November 4, 2026 12:28

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 81c45c8f57

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

`monitor/catalog.json` 是审阅过的清单,同一站点被不同作者或不同版本重复登记时会累积成多份。每轮巡检前按下面的规则只保留一份,清单因此保持"一个站点一个构建、一个 key 一个构建":

1. **字节完全相同**:同一源码出现两次(仅仓库不同)只留第一条。
2. **同一个 key**:只保留发布时会被选中的那份。排序与发布一致——今日状态(`passed` > `partial` > 其它)> `priority` > 版本;这个顺序保证删掉的一定是本来就不会进订阅的构建。

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve publication eligibility when deduplicating builds

The stated ordering omits the leading eligibility and core-success checks in scripts/cloud_audit.py::publish, and the catalog cleanup consequently deletes the only publishable ccc build. The removed zakkida/venera-sources version 1.0.2 is currently published in the extended subscription (data/sources.lock.json), whereas the retained handahao version 1.0.1 equals the official baseline and is rejected by excluded_official, even when its reading checks pass. The next publication will therefore remove CCC追漫台 entirely rather than merely deduplicate it. Restore the eligible 1.0.2 build and apply the complete publication score before priority/version when choosing which builds to retain.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant