Skip to content

Commit

Permalink
fix: update module github.com/spf13/cobra to v1.8.1 (#50)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/spf13/cobra](https://togithub.com/spf13/cobra) | `v1.8.0`
-> `v1.8.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fcobra/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fspf13%2fcobra/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fspf13%2fcobra/v1.8.0/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fcobra/v1.8.0/v1.8.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>spf13/cobra (github.com/spf13/cobra)</summary>

### [`v1.8.1`](https://togithub.com/spf13/cobra/releases/tag/v1.8.1)

[Compare
Source](https://togithub.com/spf13/cobra/compare/v1.8.0...v1.8.1)

#### ✨ Features

- Add env variable to suppress completion descriptions on create by
[@&#8203;scop](https://togithub.com/scop) in
[spf13/cobra#1938

#### 🐛 Bug fixes

- Micro-optimizations by [@&#8203;scop](https://togithub.com/scop) in
[spf13/cobra#1957

#### 🔧 Maintenance

- build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.3 to 2.0.4
by [@&#8203;dependabot](https://togithub.com/dependabot) in
[spf13/cobra#2127
- Consistent annotation names by
[@&#8203;nirs](https://togithub.com/nirs) in
[spf13/cobra#2140
- Remove fully inactivated linters by
[@&#8203;nirs](https://togithub.com/nirs) in
[spf13/cobra#2148
- Address golangci-lint deprecation warnings, enable some more linters
by [@&#8203;scop](https://togithub.com/scop) in
[spf13/cobra#2152

#### 🧪 Testing & CI/CD

- Add test for func in cobra.go by
[@&#8203;korovindenis](https://togithub.com/korovindenis) in
[spf13/cobra#2094
- ci: test golang 1.22 by
[@&#8203;cyrilico](https://togithub.com/cyrilico) in
[spf13/cobra#2113
- Optimized and added more linting by
[@&#8203;scop](https://togithub.com/scop) in
[spf13/cobra#2099
- build(deps): bump actions/setup-go from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[spf13/cobra#2087
- build(deps): bump actions/labeler from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[spf13/cobra#2086
- build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[spf13/cobra#2108
- build(deps): bump actions/cache from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[spf13/cobra#2102

#### ✏️ Documentation

- Fixes and docs for usage as plugin by
[@&#8203;nirs](https://togithub.com/nirs) in
[spf13/cobra#2070
- flags: clarify documentation that LocalFlags related function do not
modify the state by [@&#8203;niamster](https://togithub.com/niamster) in
[spf13/cobra#2064
- chore: remove repetitive words by
[@&#8203;racerole](https://togithub.com/racerole) in
[spf13/cobra#2122
- Add LXC to the list of projects using Cobra
[@&#8203;VaradBelwalkar](https://togithub.com/VaradBelwalkar) in
[spf13/cobra#2071
- Update projects_using_cobra.md by
[@&#8203;marcuskohlberg](https://togithub.com/marcuskohlberg) in
[spf13/cobra#2089
- \[chore]: update projects using cobra by
[@&#8203;cmwylie19](https://togithub.com/cmwylie19) in
[spf13/cobra#2093
- Add Taikun CLI to list of projects by
[@&#8203;Smidra](https://togithub.com/Smidra) in
[spf13/cobra#2098
- Add Incus to the list of projects using Cobra by
[@&#8203;montag451](https://togithub.com/montag451) in
[spf13/cobra#2118

#### New Contributors

- [@&#8203;VaradBelwalkar](https://togithub.com/VaradBelwalkar) made
their first contribution in
[spf13/cobra#2071
- [@&#8203;marcuskohlberg](https://togithub.com/marcuskohlberg) made
their first contribution in
[spf13/cobra#2089
- [@&#8203;cmwylie19](https://togithub.com/cmwylie19) made their first
contribution in
[spf13/cobra#2093
- [@&#8203;korovindenis](https://togithub.com/korovindenis) made their
first contribution in
[spf13/cobra#2094
- [@&#8203;niamster](https://togithub.com/niamster) made their first
contribution in
[spf13/cobra#2064
- [@&#8203;Smidra](https://togithub.com/Smidra) made their first
contribution in
[spf13/cobra#2098
- [@&#8203;montag451](https://togithub.com/montag451) made their first
contribution in
[spf13/cobra#2118
- [@&#8203;cyrilico](https://togithub.com/cyrilico) made their first
contribution in
[spf13/cobra#2113
- [@&#8203;racerole](https://togithub.com/racerole) made their first
contribution in
[spf13/cobra#2122
- [@&#8203;pedromotita](https://togithub.com/pedromotita) made their
first contribution in
[spf13/cobra#2120
- [@&#8203;cubxxw](https://togithub.com/cubxxw) made their first
contribution in
[spf13/cobra#2128

***

Thank you everyone who contributed to this release and all your hard
work! Cobra and this community would never be possible without all of
you!!!! 🐍

**Full Changelog**:
spf13/cobra@v1.8.0...v1.8.1

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

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

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/lab42/mirror).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jun 15, 2024
1 parent fa78245 commit 1de9dc2
Show file tree
Hide file tree
Showing 12 changed files with 129 additions and 94 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22.2
require (
github.com/fsnotify/fsnotify v1.7.0
github.com/rs/zerolog v1.33.0
github.com/spf13/cobra v1.8.0
github.com/spf13/cobra v1.8.1
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.9.0
k8s.io/client-go v0.30.2
Expand Down
3 changes: 3 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down Expand Up @@ -112,6 +113,8 @@ github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0=
github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ=
Expand Down
21 changes: 8 additions & 13 deletions vendor/github.com/spf13/cobra/.golangci.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 3 additions & 10 deletions vendor/github.com/spf13/cobra/active_help.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions vendor/github.com/spf13/cobra/args.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 11 additions & 14 deletions vendor/github.com/spf13/cobra/bash_completions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions vendor/github.com/spf13/cobra/cobra.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

51 changes: 31 additions & 20 deletions vendor/github.com/spf13/cobra/command.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1de9dc2

Please sign in to comment.