Repository navigation
chore(index): Cargo 图标、版本控制分类,并同步 README 总览 - #23
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动类型
改了什么
icon,指向 lithe-plugin-cargo#4 合并后固定提交上的icons/cargo.svg(8fea6ad)。图标来自 JetBrains IntelliJ Community 的platform/icons/src/language/rust.svg(Apache-2.0),来源已写进插件仓库的 NOTICE。之前 README 显示的是默认拼图图标。scripts/render-readme.mjs的分类表加上vcs→ “版本控制”,scripts/store.test.mjs补了对应断言。这个提交原本在 feat(index): 收录 Subversion 0.1.0 macOS 预发布插件 #22 里,但 feat(index): 收录 Subversion 0.1.0 macOS 预发布插件 #22 合并时它还没推上去,所以没合进 main,Subversion 现在会被归到“其他”。Sync README工作流在推送时被main的 “Only owners merge main” 规则拒绝(GH013: Cannot update this protected ref,run 40059922297),README 一直停在 6 个插件。这次在 PR 里直接带上node scripts/render-readme.mjs生成的结果:全部 · 7 | 构建工具 · 3 | 语言支持 · 3 | 版本控制 · 1,Subversion 卡片也会出现。Cargo 的图标和 README 修复合在一个 PR 里,是因为在机器人恢复之前,每个改动索引的 PR 都要自己带上 README,分开提交会互相冲突。
后续
Sync README机器人还是推不上main。以后要么把同步改成开 PR(和 track-releases 一样),要么给它加一个规则豁免;这件事单独处理,本 PR 不改工作流和规则。自检
node scripts/validate-index.mjs:7 个插件通过node --test scripts/store.test.mjs:46 项通过node scripts/render-readme.mjs --check:README 与索引一致image/svg+xml