From 40a20a02a5629e3e071920de346197f1b5f0c6f0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 18 Jun 2024 10:32:00 -0700 Subject: [PATCH] Update module github.com/spf13/cobra to v1.8.1 (#10427) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![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/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
spf13/cobra (github.com/spf13/cobra) ### [`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 [@​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 [@​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 [@​dependabot](https://togithub.com/dependabot) in [https://github.com/spf13/cobra/pull/2127](https://togithub.com/spf13/cobra/pull/2127) - Consistent annotation names by [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​montag451](https://togithub.com/montag451) in [https://github.com/spf13/cobra/pull/2118](https://togithub.com/spf13/cobra/pull/2118) #### New Contributors - [@​VaradBelwalkar](https://togithub.com/VaradBelwalkar) made their first contribution in [https://github.com/spf13/cobra/pull/2071](https://togithub.com/spf13/cobra/pull/2071) - [@​marcuskohlberg](https://togithub.com/marcuskohlberg) made their first contribution in [https://github.com/spf13/cobra/pull/2089](https://togithub.com/spf13/cobra/pull/2089) - [@​cmwylie19](https://togithub.com/cmwylie19) made their first contribution in [https://github.com/spf13/cobra/pull/2093](https://togithub.com/spf13/cobra/pull/2093) - [@​korovindenis](https://togithub.com/korovindenis) made their first contribution in [https://github.com/spf13/cobra/pull/2094](https://togithub.com/spf13/cobra/pull/2094) - [@​niamster](https://togithub.com/niamster) made their first contribution in [https://github.com/spf13/cobra/pull/2064](https://togithub.com/spf13/cobra/pull/2064) - [@​Smidra](https://togithub.com/Smidra) made their first contribution in [https://github.com/spf13/cobra/pull/2098](https://togithub.com/spf13/cobra/pull/2098) - [@​montag451](https://togithub.com/montag451) made their first contribution in [https://github.com/spf13/cobra/pull/2118](https://togithub.com/spf13/cobra/pull/2118) - [@​cyrilico](https://togithub.com/cyrilico) made their first contribution in [https://github.com/spf13/cobra/pull/2113](https://togithub.com/spf13/cobra/pull/2113) - [@​racerole](https://togithub.com/racerole) made their first contribution in [https://github.com/spf13/cobra/pull/2122](https://togithub.com/spf13/cobra/pull/2122) - [@​pedromotita](https://togithub.com/pedromotita) made their first contribution in [https://github.com/spf13/cobra/pull/2120](https://togithub.com/spf13/cobra/pull/2120) - [@​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**: https://github.com/spf13/cobra/compare/v1.8.0...v1.8.1
--- ### 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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector). --------- 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: Alex Boten <223565+codeboten@users.noreply.github.com> --- cmd/builder/go.mod | 2 +- cmd/builder/go.sum | 6 +++--- cmd/otelcorecol/go.mod | 2 +- cmd/otelcorecol/go.sum | 6 +++--- otelcol/go.mod | 2 +- otelcol/go.sum | 6 +++--- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cmd/builder/go.mod b/cmd/builder/go.mod index 697bad5f793..c123a51656c 100644 --- a/cmd/builder/go.mod +++ b/cmd/builder/go.mod @@ -12,7 +12,7 @@ require ( github.com/knadh/koanf/providers/file v0.1.0 github.com/knadh/koanf/providers/fs v0.1.0 github.com/knadh/koanf/v2 v2.1.1 - github.com/spf13/cobra v1.8.0 + github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.9.0 go.uber.org/goleak v1.3.0 diff --git a/cmd/builder/go.sum b/cmd/builder/go.sum index 113018644b5..9b4a5ff398e 100644 --- a/cmd/builder/go.sum +++ b/cmd/builder/go.sum @@ -1,4 +1,4 @@ -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.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -40,8 +40,8 @@ github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/f github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -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/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= diff --git a/cmd/otelcorecol/go.mod b/cmd/otelcorecol/go.mod index 45a3afe8a8a..f74f17ea285 100644 --- a/cmd/otelcorecol/go.mod +++ b/cmd/otelcorecol/go.mod @@ -73,7 +73,7 @@ require ( github.com/rs/cors v1.10.1 // indirect github.com/shirou/gopsutil/v4 v4.24.5 // indirect github.com/shoenig/go-m1cpu v0.1.6 // indirect - github.com/spf13/cobra v1.8.0 // indirect + github.com/spf13/cobra v1.8.1 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/tklauser/go-sysconf v0.3.12 // indirect github.com/tklauser/numcpus v0.6.1 // indirect diff --git a/cmd/otelcorecol/go.sum b/cmd/otelcorecol/go.sum index e50361cfa2d..3b871c4f05d 100644 --- a/cmd/otelcorecol/go.sum +++ b/cmd/otelcorecol/go.sum @@ -9,7 +9,7 @@ github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UF github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -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/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= @@ -120,8 +120,8 @@ github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFt github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= -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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= diff --git a/otelcol/go.mod b/otelcol/go.mod index 39c77603dea..9ad6a104267 100644 --- a/otelcol/go.mod +++ b/otelcol/go.mod @@ -3,7 +3,7 @@ module go.opentelemetry.io/collector/otelcol go 1.21.0 require ( - github.com/spf13/cobra v1.8.0 + github.com/spf13/cobra v1.8.1 github.com/stretchr/testify v1.9.0 go.opentelemetry.io/collector v0.103.0 go.opentelemetry.io/collector/component v0.103.0 diff --git a/otelcol/go.sum b/otelcol/go.sum index d78b15cb72b..b8b3519f520 100644 --- a/otelcol/go.sum +++ b/otelcol/go.sum @@ -9,7 +9,7 @@ github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UF github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -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/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= @@ -118,8 +118,8 @@ github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFt github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= -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/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=