Skip to content

Commit 0adbca0

Browse files
deps: Update module github.com/spf13/cobra to v1.8.1 (stable/8.5) (#19400)
[![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 [https://github.com/spf13/cobra/pull/1938](https://togithub.com/spf13/cobra/pull/1938) #### 🐛 Bug fixes - Micro-optimizations by [@&#8203;scop](https://togithub.com/scop) in [https://github.com/spf13/cobra/pull/1957](https://togithub.com/spf13/cobra/pull/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 [https://github.com/spf13/cobra/pull/2127](https://togithub.com/spf13/cobra/pull/2127) - Consistent annotation names by [@&#8203;nirs](https://togithub.com/nirs) in [https://github.com/spf13/cobra/pull/2140](https://togithub.com/spf13/cobra/pull/2140) - Remove fully inactivated linters by [@&#8203;nirs](https://togithub.com/nirs) in [https://github.com/spf13/cobra/pull/2148](https://togithub.com/spf13/cobra/pull/2148) - Address golangci-lint deprecation warnings, enable some more linters by [@&#8203;scop](https://togithub.com/scop) in [https://github.com/spf13/cobra/pull/2152](https://togithub.com/spf13/cobra/pull/2152) #### 🧪 Testing & CI/CD - Add test for func in cobra.go by [@&#8203;korovindenis](https://togithub.com/korovindenis) in [https://github.com/spf13/cobra/pull/2094](https://togithub.com/spf13/cobra/pull/2094) - ci: test golang 1.22 by [@&#8203;cyrilico](https://togithub.com/cyrilico) in [https://github.com/spf13/cobra/pull/2113](https://togithub.com/spf13/cobra/pull/2113) - Optimized and added more linting by [@&#8203;scop](https://togithub.com/scop) in [https://github.com/spf13/cobra/pull/2099](https://togithub.com/spf13/cobra/pull/2099) - build(deps): bump actions/setup-go from 4 to 5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2087](https://togithub.com/spf13/cobra/pull/2087) - build(deps): bump actions/labeler from 4 to 5 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2086](https://togithub.com/spf13/cobra/pull/2086) - build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2108](https://togithub.com/spf13/cobra/pull/2108) - build(deps): bump actions/cache from 3 to 4 by [@&#8203;dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2102](https://togithub.com/spf13/cobra/pull/2102) #### ✏️ Documentation - Fixes and docs for usage as plugin by [@&#8203;nirs](https://togithub.com/nirs) in [https://github.com/spf13/cobra/pull/2070](https://togithub.com/spf13/cobra/pull/2070) - flags: clarify documentation that LocalFlags related function do not modify the state by [@&#8203;niamster](https://togithub.com/niamster) in [https://github.com/spf13/cobra/pull/2064](https://togithub.com/spf13/cobra/pull/2064) - chore: remove repetitive words by [@&#8203;racerole](https://togithub.com/racerole) in [https://github.com/spf13/cobra/pull/2122](https://togithub.com/spf13/cobra/pull/2122) - Add LXC to the list of projects using Cobra [@&#8203;VaradBelwalkar](https://togithub.com/VaradBelwalkar) in [https://github.com/spf13/cobra/pull/2071](https://togithub.com/spf13/cobra/pull/2071) - Update projects_using_cobra.md by [@&#8203;marcuskohlberg](https://togithub.com/marcuskohlberg) in [https://github.com/spf13/cobra/pull/2089](https://togithub.com/spf13/cobra/pull/2089) - \[chore]: update projects using cobra by [@&#8203;cmwylie19](https://togithub.com/cmwylie19) in [https://github.com/spf13/cobra/pull/2093](https://togithub.com/spf13/cobra/pull/2093) - Add Taikun CLI to list of projects by [@&#8203;Smidra](https://togithub.com/Smidra) in [https://github.com/spf13/cobra/pull/2098](https://togithub.com/spf13/cobra/pull/2098) - Add Incus to the list of projects using Cobra by [@&#8203;montag451](https://togithub.com/montag451) in [https://github.com/spf13/cobra/pull/2118](https://togithub.com/spf13/cobra/pull/2118) #### New Contributors - [@&#8203;VaradBelwalkar](https://togithub.com/VaradBelwalkar) made their first contribution in [https://github.com/spf13/cobra/pull/2071](https://togithub.com/spf13/cobra/pull/2071) - [@&#8203;marcuskohlberg](https://togithub.com/marcuskohlberg) made their first contribution in [https://github.com/spf13/cobra/pull/2089](https://togithub.com/spf13/cobra/pull/2089) - [@&#8203;cmwylie19](https://togithub.com/cmwylie19) made their first contribution in [https://github.com/spf13/cobra/pull/2093](https://togithub.com/spf13/cobra/pull/2093) - [@&#8203;korovindenis](https://togithub.com/korovindenis) made their first contribution in [https://github.com/spf13/cobra/pull/2094](https://togithub.com/spf13/cobra/pull/2094) - [@&#8203;niamster](https://togithub.com/niamster) made their first contribution in [https://github.com/spf13/cobra/pull/2064](https://togithub.com/spf13/cobra/pull/2064) - [@&#8203;Smidra](https://togithub.com/Smidra) made their first contribution in [https://github.com/spf13/cobra/pull/2098](https://togithub.com/spf13/cobra/pull/2098) - [@&#8203;montag451](https://togithub.com/montag451) made their first contribution in [https://github.com/spf13/cobra/pull/2118](https://togithub.com/spf13/cobra/pull/2118) - [@&#8203;cyrilico](https://togithub.com/cyrilico) made their first contribution in [https://github.com/spf13/cobra/pull/2113](https://togithub.com/spf13/cobra/pull/2113) - [@&#8203;racerole](https://togithub.com/racerole) made their first contribution in [https://github.com/spf13/cobra/pull/2122](https://togithub.com/spf13/cobra/pull/2122) - [@&#8203;pedromotita](https://togithub.com/pedromotita) made their first contribution in [https://github.com/spf13/cobra/pull/2120](https://togithub.com/spf13/cobra/pull/2120) - [@&#8203;cubxxw](https://togithub.com/cubxxw) made their first contribution in [https://github.com/spf13/cobra/pull/2128](https://togithub.com/spf13/cobra/pull/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/camunda/camunda). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlLzguNSIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
2 parents eac2346 + 0eaff2f commit 0adbca0

File tree

12 files changed

+129
-94
lines changed

12 files changed

+129
-94
lines changed

clients/go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
github.com/google/go-cmp v0.6.0
1111
github.com/google/uuid v1.6.0
1212
github.com/mitchellh/go-homedir v1.1.0
13-
github.com/spf13/cobra v1.8.0
13+
github.com/spf13/cobra v1.8.1
1414
github.com/stretchr/testify v1.9.0
1515
github.com/testcontainers/testcontainers-go v0.29.1
1616
golang.org/x/net v0.23.0

clients/go/go.sum

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3
2121
github.com/cpuguy83/dockercfg v0.3.1 h1:/FpZ+JaygUR/lZP2NlFI2DVfrOEMAIKP5wWEJdoYe9E=
2222
github.com/cpuguy83/dockercfg v0.3.1/go.mod h1:sugsbF4//dDlL/i+S+rtpIWp+5h0BHJHfjj5/jFyUJc=
2323
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
24+
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
2425
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
2526
github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY=
2627
github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
@@ -124,6 +125,8 @@ github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ
124125
github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
125126
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
126127
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
128+
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
129+
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
127130
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
128131
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
129132
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

clients/go/vendor/github.com/spf13/cobra/.golangci.yml

Lines changed: 8 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/go/vendor/github.com/spf13/cobra/active_help.go

Lines changed: 3 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/go/vendor/github.com/spf13/cobra/args.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/go/vendor/github.com/spf13/cobra/bash_completions.go

Lines changed: 11 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/go/vendor/github.com/spf13/cobra/cobra.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/go/vendor/github.com/spf13/cobra/command.go

Lines changed: 31 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)