fix(aqua): herdr のリポジトリ移動 (herdrdev/herdr) に追随する - #53
Merged
Conversation
aqua-registry v4.547.0 で herdr のリポジトリが ogulcancelik/herdr から herdrdev/herdr へ移り (旧名は alias)、ダウンロード URL が変わった。 aqua-checksums.json の ID は URL ベースのため旧オーナー名のままでは 一致せず、`checksum is required` で install が失敗していた。 - aqua update-checksum --prune で ID を herdrdev/herdr/v0.8.0 に再生成 (ハッシュ値自体は同一。旧 ogulcancelik/* と herdrdev/v0.7.5 を除去) - aqua.yaml のパッケージ名を alias ではなく正式名へ変更 - docs/herdr-cheatsheet.md のリポジトリ URL と パッケージ名を更新
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.
背景
chezmoi applyがchecksum is requiredで失敗し、herdr を install できなくなっていた。原因
aqua-registry v4.547.0 で herdr のパッケージ定義が
ogulcancelik/herdrからherdrdev/herdrへ移り、旧名は alias として残された。aqua-checksums.json の ID はダウンロード URL ベース (github_release/github.com/<owner>/<repo>/<ver>/<asset>) のため、実際に取得するherdrdev/herdr/v0.8.0/...に対応するエントリが無く、require_checksum: trueで弾かれていた。混入経路は #52 (registry v4.547.0)。update-aqua-checksum workflow がそのブランチで走った時点では aqua.yaml がまだ herdr v0.7.5 で、その後 main を取り込んだ merge commit では workflow が再実行されなかったため、v0.8.0 分の ID が旧オーナー名のまま残った。
変更
aqua update-checksum --pruneで ID をherdrdev/herdr/v0.8.0/*に再生成した(ハッシュ値自体は同一。旧ogulcancelik/*とherdrdev/v0.7.5のエントリは prune で除去)。aqua.yamlのパッケージ名を alias のogulcancelik/herdrではなく正式名herdrdev/herdrに変更した。Renovate も実リポジトリを追うようになる。docs/herdr-cheatsheet.mdのリポジトリ URL と aqua パッケージ名を更新した。動作確認
chezmoi applyが exit 0 で完走し、herdr が install される(herdr --version→herdr 0.8.0)ことを macOS (darwin/arm64) で確認済み。