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(deps): update golang-packages #3958

Merged
merged 2 commits into from
Jul 22, 2024
Merged

fix(deps): update golang-packages #3958

merged 2 commits into from
Jul 22, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 22, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
github.com/adrg/xdg v0.4.0 -> v0.5.0 age adoption passing confidence require minor
github.com/alessio/shellescape v1.4.2 -> v1.5.0 age adoption passing confidence require minor
github.com/charmbracelet/huh v0.4.2 -> v0.5.1 age adoption passing confidence require minor
github.com/distribution/reference v0.5.0 -> v0.6.0 age adoption passing confidence require minor
github.com/xanzy/go-gitlab v0.106.0 -> v0.107.0 age adoption passing confidence require minor
go (source) 1.22.4 -> 1.22.5 age adoption passing confidence toolchain patch
k8s.io/api v0.30.2 -> v0.30.3 age adoption passing confidence require patch
k8s.io/apimachinery v0.30.2 -> v0.30.3 age adoption passing confidence require patch
k8s.io/client-go v0.30.2 -> v0.30.3 age adoption passing confidence require patch

Release Notes

adrg/xdg (github.com/adrg/xdg)

v0.5.0

Compare Source

Changelog
  • user-dirs.dirs config file is now parsed on Unix-like operating systems (except for macOS and Plan 9).
    See XDG user directories README section for more details.
  • Updated golang.org/x/sys dependency to the latest version.
Internal
  • Moved all path related functionality in internal pathutil package.
  • Added internal userdirs package:
    • Moved xdg.UserDirectories to userdirs.Directories.
    • Added parsing functions for user-dirs.dirs config file.
  • Improved package testing.
alessio/shellescape (github.com/alessio/shellescape)

v1.5.0

Compare Source

Changelog

charmbracelet/huh (github.com/charmbracelet/huh)

v0.5.1

Compare Source

v0.5.0

Compare Source

This big news in this release is that forms in Huh can now be dynamic. Read on for more:

Dynamic Forms 🪄

Country / State form with dynamic inputs running.

huh? forms can now react to changes in other parts of the form. Replace properties such as Options, Title, Description with their dynamic counterparts: OptionsFunc, TitleFunc, and DescriptionFunc to recompute properties values on changes when watched variables change.

Let’s build a simple state / province picker.

var country string
var state string

The country select will be static, we’ll use this value to recompute the
options and title for the next input.

huh.NewSelect[string]().
    Options(huh.NewOptions("United States", "Canada", "Mexico")...).
    Value(&country).
    Title("Country").

Define your Select with TitleFunc and OptionsFunc and bind them to the
&country value from the previous field. Whenever the user chooses a different
country, the TitleFunc and OptionsFunc will be recomputed.

[!IMPORTANT]
We have to pass &country as the binding to recompute the function only when
country changes, otherwise we will hit the API too often.

huh.NewSelect[string]().
    Value(&state).
    Height(8).
    TitleFunc(func() string {
        switch country {
        case "United States":
            return "State"
        case "Canada":
            return "Province"
        default:
            return "Territory"
        }
    }, &country).
    OptionsFunc(func() []huh.Option[string] {
        opts := fetchStatesForCountry(country)
        return huh.NewOptions(opts...)
    }, &country),

Lastly, run the form with these inputs.

err := form.Run()
if err != nil {
    log.Fatal(err)
}

Changelog

New!
Fixed

New Contributors

Full Changelog: charmbracelet/huh@v0.4.2...v0.5.0


The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Slack.

distribution/reference (github.com/distribution/reference)

v0.6.0

Compare Source

What's Changed

New Contributors

Full Changelog: distribution/reference@v0.5.0...v0.6.0

xanzy/go-gitlab (github.com/xanzy/go-gitlab)

v0.107.0

Compare Source

golang/go (go)

v1.22.5

kubernetes/api (k8s.io/api)

v0.30.3

Compare Source

kubernetes/apimachinery (k8s.io/apimachinery)

v0.30.3

Compare Source

kubernetes/client-go (k8s.io/client-go)

v0.30.3

Compare Source


Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - "before 4am" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (squash) July 22, 2024 02:36
Copy link
Contributor Author

renovate bot commented Jul 22, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: github.com/alessio/shellescape@v1.5.0: parsing go.mod:
	module declares its path as: al.essio.dev/pkg/shellescape
	        but was required as: github.com/alessio/shellescape

Copy link
Contributor Author

renovate bot commented Jul 22, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate renovate bot merged commit 251129a into main Jul 22, 2024
7 of 13 checks passed
@renovate renovate bot deleted the renovate/golang-packages branch July 22, 2024 16:18
@woodpecker-bot woodpecker-bot mentioned this pull request Jul 22, 2024
1 task
6543 pushed a commit to 6543-forks/woodpecker that referenced this pull request Sep 5, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
@woodpecker-bot woodpecker-bot mentioned this pull request Sep 8, 2024
1 task
@woodpecker-bot woodpecker-bot mentioned this pull request Dec 14, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant