Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tune comment for v2-archives #184

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions internal/setup/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ type yamlRelease struct {
Format string `yaml:"format"`
Archives map[string]yamlArchive `yaml:"archives"`
PubKeys map[string]yamlPubKey `yaml:"public-keys"`
// "v2-archives" is used for backwards compatibility with Chisel <= 1.0.0
// since it will be ignored. In new versions, it will be parsed with the new
// fields that break said compatibility, e.g. "pro" archives.
//
// Note: "archives" and "v2-archives" are merged together while parsing.
// "v2-archives" is used for backwards compatibility with Chisel <= 1.0.0,
// where it will be ignored. In new versions, it will be parsed with the new
// fields that break said compatibility (e.g. "pro" archives) and merged
// together with "archives".
V2Archives map[string]yamlArchive `yaml:"v2-archives"`
}

Expand Down
Loading