From 3fea1c27278c981cd026b02bfea5ed0090c35ef4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2025 17:13:40 +0100 Subject: [PATCH] fix(deps): update module github.com/spf13/cobra to v1.9.1 (#38023) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/spf13/cobra](https://redirect.github.com/spf13/cobra) | `v1.8.1` -> `v1.9.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fcobra/v1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fspf13%2fcobra/v1.9.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.1/v1.9.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.1/v1.9.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
spf13/cobra (github.com/spf13/cobra) ### [`v1.9.1`](https://redirect.github.com/spf13/cobra/releases/tag/v1.9.1) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.9.0...v1.9.1) ##### ๐Ÿ› Fixes - Fix CompletionFunc implementation by [@​ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/spf13/cobra/pull/2234](https://redirect.github.com/spf13/cobra/pull/2234) - Revert "Make detection for test-binary more universal ([#​2173](https://redirect.github.com/spf13/cobra/issues/2173))" by [@​marckhouzam](https://redirect.github.com/marckhouzam) in [https://github.com/spf13/cobra/pull/2235](https://redirect.github.com/spf13/cobra/pull/2235) **Full Changelog**: https://github.com/spf13/cobra/compare/v1.9.0...v1.9.1 ### [`v1.9.0`](https://redirect.github.com/spf13/cobra/releases/tag/v1.9.0) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.8.1...v1.9.0) #### โœจ Features - Allow linker to perform deadcode elimination for program using Cobra by [@​aarzilli](https://redirect.github.com/aarzilli) in [https://github.com/spf13/cobra/pull/1956](https://redirect.github.com/spf13/cobra/pull/1956) - Add default completion command even if there are no other sub-commands by [@​marckhouzam](https://redirect.github.com/marckhouzam) in [https://github.com/spf13/cobra/pull/1559](https://redirect.github.com/spf13/cobra/pull/1559) - Add CompletionWithDesc helper by [@​ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/spf13/cobra/pull/2231](https://redirect.github.com/spf13/cobra/pull/2231) #### ๐Ÿ› Fixes - Fix deprecation comment for Command.SetOutput by [@​thaJeztah](https://redirect.github.com/thaJeztah) in [https://github.com/spf13/cobra/pull/2172](https://redirect.github.com/spf13/cobra/pull/2172) - Replace deprecated ioutil usage by [@​nirs](https://redirect.github.com/nirs) in [https://github.com/spf13/cobra/pull/2181](https://redirect.github.com/spf13/cobra/pull/2181) - Fix --version help and output for plugins by [@​nirs](https://redirect.github.com/nirs) in [https://github.com/spf13/cobra/pull/2180](https://redirect.github.com/spf13/cobra/pull/2180) - Allow to reset the templates to the default by [@​marckhouzam](https://redirect.github.com/marckhouzam) in [https://github.com/spf13/cobra/pull/2229](https://redirect.github.com/spf13/cobra/pull/2229) #### ๐Ÿค– Completions - Make Powershell completion work in constrained mode by [@​lstemplinger](https://redirect.github.com/lstemplinger) in [https://github.com/spf13/cobra/pull/2196](https://redirect.github.com/spf13/cobra/pull/2196) - Improve detection for flags that accept multiple values by [@​thaJeztah](https://redirect.github.com/thaJeztah) in [https://github.com/spf13/cobra/pull/2210](https://redirect.github.com/spf13/cobra/pull/2210) - add CompletionFunc type to help with completions by [@​ccoVeille](https://redirect.github.com/ccoVeille) in [https://github.com/spf13/cobra/pull/2220](https://redirect.github.com/spf13/cobra/pull/2220) - Add similar whitespace escape logic to bash v2 completions than in other completions by [@​kangasta](https://redirect.github.com/kangasta) in [https://github.com/spf13/cobra/pull/1743](https://redirect.github.com/spf13/cobra/pull/1743) - Print ActiveHelp for bash along other completions by [@​marckhouzam](https://redirect.github.com/marckhouzam) in [https://github.com/spf13/cobra/pull/2076](https://redirect.github.com/spf13/cobra/pull/2076) - fix(completions): Complete map flags multiple times by [@​gabe565](https://redirect.github.com/gabe565) in [https://github.com/spf13/cobra/pull/2174](https://redirect.github.com/spf13/cobra/pull/2174) - fix(bash): nounset unbound file filter variable on empty extension by [@​scop](https://redirect.github.com/scop) in [https://github.com/spf13/cobra/pull/2228](https://redirect.github.com/spf13/cobra/pull/2228) #### ๐Ÿงช Testing - Test also with go 1.23 by [@​nirs](https://redirect.github.com/nirs) in [https://github.com/spf13/cobra/pull/2182](https://redirect.github.com/spf13/cobra/pull/2182) - Make detection for test-binary more universal by [@​thaJeztah](https://redirect.github.com/thaJeztah) in [https://github.com/spf13/cobra/pull/2173](https://redirect.github.com/spf13/cobra/pull/2173) #### โœ๐Ÿผ Documentation - docs: update README.md by [@​eltociear](https://redirect.github.com/eltociear) in [https://github.com/spf13/cobra/pull/2197](https://redirect.github.com/spf13/cobra/pull/2197) - Improve site formatting by [@​nirs](https://redirect.github.com/nirs) in [https://github.com/spf13/cobra/pull/2183](https://redirect.github.com/spf13/cobra/pull/2183) - doc: add Conduit by [@​raulb](https://redirect.github.com/raulb) in [https://github.com/spf13/cobra/pull/2230](https://redirect.github.com/spf13/cobra/pull/2230) - doc: azion project added to the list of CLIs that use cobra by [@​maxwelbm](https://redirect.github.com/maxwelbm) in [https://github.com/spf13/cobra/pull/2198](https://redirect.github.com/spf13/cobra/pull/2198) - Fix broken links in active_help.md by [@​vuil](https://redirect.github.com/vuil) in [https://github.com/spf13/cobra/pull/2202](https://redirect.github.com/spf13/cobra/pull/2202) - chore: fix function name in comment by [@​zhuhaicity](https://redirect.github.com/zhuhaicity) in [https://github.com/spf13/cobra/pull/2216](https://redirect.github.com/spf13/cobra/pull/2216) #### ๐Ÿ”ง Dependency upgrades - build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6 by [@​thaJeztah](https://redirect.github.com/thaJeztah) in [https://github.com/spf13/cobra/pull/2206](https://redirect.github.com/spf13/cobra/pull/2206) - Update to latest go-md2man by [@​mikelolasagasti](https://redirect.github.com/mikelolasagasti) in [https://github.com/spf13/cobra/pull/2201](https://redirect.github.com/spf13/cobra/pull/2201) - Upgrade `pflag` dependencies for v1.9.0 by [@​jpmcb](https://redirect.github.com/jpmcb) in [https://github.com/spf13/cobra/pull/2233](https://redirect.github.com/spf13/cobra/pull/2233) *** Thank you to all of our amazing contributors and all the great work that's been going into the completions feature!! ##### ๐Ÿ‘‹๐Ÿผ New Contributors - [@​gabe565](https://redirect.github.com/gabe565) made their first contribution in [https://github.com/spf13/cobra/pull/2174](https://redirect.github.com/spf13/cobra/pull/2174) - [@​maxwelbm](https://redirect.github.com/maxwelbm) made their first contribution in [https://github.com/spf13/cobra/pull/2198](https://redirect.github.com/spf13/cobra/pull/2198) - [@​lstemplinger](https://redirect.github.com/lstemplinger) made their first contribution in [https://github.com/spf13/cobra/pull/2196](https://redirect.github.com/spf13/cobra/pull/2196) - [@​vuil](https://redirect.github.com/vuil) made their first contribution in [https://github.com/spf13/cobra/pull/2202](https://redirect.github.com/spf13/cobra/pull/2202) - [@​mikelolasagasti](https://redirect.github.com/mikelolasagasti) made their first contribution in [https://github.com/spf13/cobra/pull/2201](https://redirect.github.com/spf13/cobra/pull/2201) - [@​zhuhaicity](https://redirect.github.com/zhuhaicity) made their first contribution in [https://github.com/spf13/cobra/pull/2216](https://redirect.github.com/spf13/cobra/pull/2216) - [@​ccoVeille](https://redirect.github.com/ccoVeille) made their first contribution in [https://github.com/spf13/cobra/pull/2220](https://redirect.github.com/spf13/cobra/pull/2220) - [@​kangasta](https://redirect.github.com/kangasta) made their first contribution in [https://github.com/spf13/cobra/pull/1743](https://redirect.github.com/spf13/cobra/pull/1743) - [@​aarzilli](https://redirect.github.com/aarzilli) made their first contribution in [https://github.com/spf13/cobra/pull/1956](https://redirect.github.com/spf13/cobra/pull/1956) **Full Changelog**: https://github.com/spf13/cobra/compare/v1.8.1...v1.9.0
--- ### Configuration ๐Ÿ“… **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). ๐Ÿšฆ **Automerge**: Disabled by config. Please merge this manually once you are satisfied. โ™ป **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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com> Co-authored-by: Yang Song --- cmd/telemetrygen/go.mod | 2 +- cmd/telemetrygen/go.sum | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cmd/telemetrygen/go.mod b/cmd/telemetrygen/go.mod index ce59cac66f23..976e2c8464f2 100644 --- a/cmd/telemetrygen/go.mod +++ b/cmd/telemetrygen/go.mod @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetryge go 1.23.0 require ( - github.com/spf13/cobra v1.8.1 + github.com/spf13/cobra v1.9.1 github.com/spf13/pflag v1.0.6 github.com/stretchr/testify v1.10.0 go.opentelemetry.io/collector/pdata v1.26.0 diff --git a/cmd/telemetrygen/go.sum b/cmd/telemetrygen/go.sum index e4f38e7b184e..9d00b578eed7 100644 --- a/cmd/telemetrygen/go.sum +++ b/cmd/telemetrygen/go.sum @@ -1,6 +1,6 @@ github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8= github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyYozVcomhLiZE= -github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -40,9 +40,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/rogpeppe/go-internal v1.13.1 h1:KvO1DLK/DRN07sQ1LQKScxyZJuNnedQ5/wKSR38lUII= github.com/rogpeppe/go-internal v1.13.1/go.mod h1:uMEvuHeurkdAXX61udpOXGD/AzZDWNMNyH2VO9fmH0o= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -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/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= +github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=