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

deps: use v2 of go-toml #4342

Merged
merged 4 commits into from
Mar 5, 2024
Merged

deps: use v2 of go-toml #4342

merged 4 commits into from
Mar 5, 2024

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented Apr 26, 2023

v1 is no longer maintained.


This change is Reviewable

@lukedirtwalker lukedirtwalker requested a review from oncilla as a code owner April 26, 2023 21:33
Copy link
Contributor

@matzf matzf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 26 of 26 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @lukedirtwalker and @oncilla)

a discussion (no related file):
In control/config/config.go:161, in struct BSConfig, we have EPIC bool with the tag toml:"epic,omitempty" default:"false".
According to the migration guide, the default tag is no longer supported. I think we can just remove it.



private/trust/config/config.go line 52 at r1 (raw file):

type Cache struct {
	Disable    bool         `toml:"disable,omitempty"`
	Expiration util.DurWrap `toml:"expiration,omitempty"`

Good fix. Just for completeness, please note in the PR/commit description that this is a breaking change of the configuration format in this particular field.

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 26 of 26 files at r1, all commit messages.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @lukedirtwalker)

Copy link
Contributor

@matzf matzf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @lukedirtwalker)


private/trust/config/config.go line 52 at r1 (raw file):

Previously, matzf (Matthias Frei) wrote…

Good fix. Just for completeness, please note in the PR/commit description that this is a breaking change of the configuration format in this particular field.

This has been changed in #4417, so nevermind.

v1 is no longer maintained.
Copy link
Contributor

@matzf matzf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 4 of 7 files at r2, 3 of 3 files at r3, 2 of 2 files at r4, 2 of 2 files at r5, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @lukedirtwalker)

Copy link
Contributor

@matzf matzf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @lukedirtwalker)

@matzf matzf merged commit 6ed7c8f into scionproto:master Mar 5, 2024
4 checks passed
@lukedirtwalker lukedirtwalker deleted the go-toml-v2 branch April 29, 2024 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants