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

go.mod: update dependencies #268

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Commits on Nov 9, 2022

  1. go.mod: remove golang.org/x/tools dependency

    This removes golang.org/x/tools/cmd/stringer as a direct dependency of this
    module, instead using "go install" to install the required tool as part of
    `go generate`. I opted for pinning to a fixed version for reproducibility, but
    we could switch to `@latest` if there's no concerns for getting newer versions.
    
    With this patch:
    
        which stringer
        # (no output)
    
        go generate ./pkg/guid
        which stringer
        /Users/thajeztah/go/bin/stringer
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    3e14573 View commit details
    Browse the repository at this point in the history
  2. go.mod: golang.org/x/sys v0.1.0

    The golang.org/x/,, projects now tag releases, so updating to the
    first tagged release.
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    be00fc2 View commit details
    Browse the repository at this point in the history
  3. go.mod: github.com/sirupsen/logrus v1.9.0

    Updating to the current release, which has been out for a while, and
    most projects have already updated to this version, so let's update
    it here as well to reduces the number of versions in the dependency
    tree.
    
    full diff: sirupsen/logrus@v1.7.0...v1.9.0
    
    Signed-off-by: Sebastiaan van Stijn <[email protected]>
    thaJeztah committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    07d2371 View commit details
    Browse the repository at this point in the history