Repository navigation
プラグイン管理を lock 駆動に再設計 - #1
Merged
Merged
Conversation
旧方式 (最新版を無検証で上書き) を廃止し、TORO-Proxy の plugin-pins と同じ型にする: plugins.lock.json に版と配布元の公開ハッシュを固定し、check (三者照合) / update (PR で上げる) / fetch (staging へ取りそろえ) を提供する。配布元は Modrinth 17件と GitHub 4件が自動対象、toro-plugin-compat の5件は compat、検証可能な配布元が無いものと内製の37件は manual として自動処理から外す。初期 lock は plugin-provenance 監査 (2026-11-06) の実測を種に実 API と実ダウンロードで照合して生成した。Velocity は TORO-Proxy の lock が担うため対象外。SignedVelocity-Paper は撤去決定済みのため収載しない。
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.
概要
旧方式 (dev ブランチの main.py: 最新版を無検証で plugins フォルダへ上書き) を廃止し、TORO-Proxy の plugin-pins と同じ lock 駆動の設計に作り替える。現在の TORO-Server (toro-main) の全プラグインを対象に、版の固定と配布元の公開ハッシュによる検証を必須とする。
変更内容
auto_update_plugins.py(標準ライブラリのみ):check(固定・配布元の公開ハッシュ・実ダウンロードの三者照合)、update(最新リリースを解決し公開ハッシュと一致を確かめて lock を書き換え)、fetch <dir>(lock の版を staging へ取りそろえ、旧版 jar を除去)plugins.lock.json: 63件。Modrinth 17件と GitHub 4件が自動対象、toro-plugin-compat のパッチ済み5件はcompat、検証可能な配布元が無いものと内製の37件はmanualとして自動処理から除外対象外
ops/both-service/plugins.lock.jsonが担うため入れていない