Repository navigation
合并同名源:catalog 313 → 221 个构建 - #5
Conversation
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 项单测通过。
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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` > 版本;这个顺序保证删掉的一定是本来就不会进订阅的构建。 |
There was a problem hiding this comment.
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 👍 / 👎.
catalog 里 313 个构建中有 150 个落在 60 组同名条目里,其中不少是同一站点被不同作者、
不同版本、甚至自动导出重复登记。按新写入
docs/订阅与版本规则.md的规则清一遍:priority> 版本),删掉的一定是本来就不会进订阅的KadishJoey/venera-json的source_xx_hash自动导出一律合并到同名手写源结果:313 → 221 个构建,同名残留 0、同 key 残留 0。
影响:
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 条)
KomiicKomiicac_qqtencentcomics(1.0.0,xiaoxingmian/venera-configs)baihehuibananamanhuauo_banana_v2(1.0.3,handahao666-boop/venera_comic_source)baozibaozibilimangacccccccomic_walkercomic_walkercomickcopy_mangacopy_mangacosplaytele_25_190983cosplaytele(1.7.0,meaninglesslyy/venera-config)dm5dongmandongmanmanhua(1.0.6,handahao666-boop/venera_comic_source)dongman_ladongmanladongman_la(1.0.5,handahao666-boop/venera_comic_source)ehentaiffpptgfmhGfmhApp(1.3.0,handahao666-boop/venera_comic_source)guazimanhuaguazi_manhua_v2(1.0.1,ChenTeea/veneresource)guazimanhuahipmhhitomiikmmhikmmh_v2(3.0.0,handahao666-boop/venera_comic_source)ikmmhjisu_1kkkone_kkk(2.0.0,Junkrat9527/venera-sources)jmjmjmkomgalaimanhua_splitlanraragilegacy_1kkkone_kkk(2.0.0,Junkrat9527/venera-sources)legacy_51samimanga51(1.2.0,handahao666-boop/venera_comic_source)legacy_comicunsource_32_e5ebaf(0.2.0,KadishJoey/venera-json)legacy_damotudamotu(1.0.0,token1008/venera-cn-64bit)legacy_hbdsfjliumanhua(1.0.0,token1008/venera-cn-64bit)legacy_kanmankanman(2.2.7,Junkrat9527/venera-sources)manga51manga51manga_dexmanga_dexmangabzmangabzmangabz_72_18ed08mangabz(1.0.0,handahao666-boop/venera_comic_source)manhuarenmanwabamanwangmh1234mh4399mojoinmojoin_v2(1.0.7,handahao666-boop/venera_comic_source)nhentainnhanmannnhm(1.3.0,Junkrat9527/venera-sources)one_kkkqq_comic_officialqq_comic_official_v1(1.0.3,handahao666-boop/venera_comic_source)rawkumarumanhuarumanhua_fixed_v15(1.2.8,handahao666-boop/venera_comic_source)rumanhua2rumanhua_fixed_v15(1.2.8,handahao666-boop/venera_comic_source)sf_27_eb0a9bsfacg_manhua(1.0.0,handahao666-boop/venera_comic_source)sfacg_manhuashonen_jump_plusshonen_jump_plussource_02_e3ec7fbaozi(1.1.7,handahao666-boop/venera_comic_source)source_06_b7b48ezaimanhua(1.0.2,handahao666-boop/venera_comic_source)source_08_fa018eyemancomic(0.1.2,hea784/venera-configs)source_09_fe41f7dingmanhua(1.0.5,Angus-fw/venera-configs)source_16_d622adhentaiclub(1.0.0,meaninglesslyy/venera-config)source_26_c5541cacqq(1.0.0,token1008/venera-cn-64bit)source_35_667a4fmanhuaren(1.0.1,handahao666-boop/venera_comic_source)source_36_d33fb7dongmanmanhua(1.0.6,handahao666-boop/venera_comic_source)source_39_7cc572one_kkk(2.0.0,Junkrat9527/venera-sources)source_40_5846ebdongman_la(1.0.5,handahao666-boop/venera_comic_source)source_41_b0c446dm5(7.0.3,handahao666-boop/venera_comic_source)source_42_481e60manman(1.0.0,token1008/venera-cn-64bit)source_46_ac3286manben(1.1.0,Junkrat9527/venera-sources)source_48_074d4fmanhuapi(1.4.2,Junkrat9527/venera-sources)source_61_acb91bcopy_manga(1.6.6,handahao666-boop/venera_comic_source)source_64_2e309a8comic(1.0.0,zakkida/venera-sources)source_74_9820b5ManHuaGui(1.2.1,handahao666-boop/venera_comic_source)tencent_comicstencentcomics(1.0.0,xiaoxingmian/venera-configs)tuku_ccwebtoons_zh_hantwmanhuayemancomicykmhykmhzerobywzerobyw33(1.2.0,handahao666-boop/venera_comic_source)zerobyw33