Skip to content

Commit

Permalink
Merge pull request #20591 from containers/renovate/github.com-spf13-c…
Browse files Browse the repository at this point in the history
…obra-1.x

fix(deps): update module github.com/spf13/cobra to v1.8.0
  • Loading branch information
openshift-merge-bot[bot] authored Nov 6, 2023
2 parents 8c834d0 + 8f5c46c commit 886f932
Show file tree
Hide file tree
Showing 28 changed files with 198 additions and 1,719 deletions.
2 changes: 1 addition & 1 deletion completions/bash/podman
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ __podman_get_completion_results() {
local requestComp lastParam lastChar args

# Prepare the command to request completions for the program.
# Calling ${words[0]} instead of directly podman allows to handle aliases
# Calling ${words[0]} instead of directly podman allows handling aliases
args=("${words[@]:1}")
requestComp="${words[0]} __complete ${args[*]}"

Expand Down
2 changes: 1 addition & 1 deletion completions/bash/podman-remote
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ __podman-remote_get_completion_results() {
local requestComp lastParam lastChar args

# Prepare the command to request completions for the program.
# Calling ${words[0]} instead of directly podman-remote allows to handle aliases
# Calling ${words[0]} instead of directly podman-remote allows handling aliases
args=("${words[@]:1}")
requestComp="${words[0]} __complete ${args[*]}"

Expand Down
2 changes: 1 addition & 1 deletion completions/fish/podman-remote.fish
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function __podman_remote_clear_perform_completion_once_result
__podman_remote_debug ""
__podman_remote_debug "========= clearing previously set __podman_remote_perform_completion_once_result variable =========="
set --erase __podman_remote_perform_completion_once_result
__podman_remote_debug "Succesfully erased the variable __podman_remote_perform_completion_once_result"
__podman_remote_debug "Successfully erased the variable __podman_remote_perform_completion_once_result"
end

function __podman_remote_requires_order_preservation
Expand Down
2 changes: 1 addition & 1 deletion completions/fish/podman.fish
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function __podman_clear_perform_completion_once_result
__podman_debug ""
__podman_debug "========= clearing previously set __podman_perform_completion_once_result variable =========="
set --erase __podman_perform_completion_once_result
__podman_debug "Succesfully erased the variable __podman_perform_completion_once_result"
__podman_debug "Successfully erased the variable __podman_perform_completion_once_result"
end

function __podman_requires_order_preservation
Expand Down
6 changes: 3 additions & 3 deletions completions/powershell/podman-remote.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ filter __podman-remote_escapeStringWithSpecialChars {
$_ -replace '\s|#|@|\$|;|,|''|\{|\}|\(|\)|"|`|\||<|>|&','`$&'
}

[scriptblock]$__podman_remoteCompleterBlock = {
[scriptblock]${__podman_remoteCompleterBlock} = {
param(
$WordToComplete,
$CommandAst,
Expand Down Expand Up @@ -85,7 +85,7 @@ filter __podman-remote_escapeStringWithSpecialChars {

__podman-remote_debug "Calling $RequestComp"
# First disable ActiveHelp which is not supported for Powershell
$env:PODMAN_REMOTE_ACTIVE_HELP=0
${env:PODMAN_REMOTE_ACTIVE_HELP}=0

#call the command store the output in $out and redirect stderr and stdout to null
# $Out is an array contains each line per element
Expand Down Expand Up @@ -242,6 +242,6 @@ filter __podman-remote_escapeStringWithSpecialChars {
}
}
Register-ArgumentCompleter -CommandName 'podman-remote' -ScriptBlock $__podman_remoteCompleterBlock
Register-ArgumentCompleter -CommandName 'podman-remote' -ScriptBlock ${__podman_remoteCompleterBlock}
# This file is generated with "podman-remote completion"; see: podman-completion(1)
6 changes: 3 additions & 3 deletions completions/powershell/podman.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ filter __podman_escapeStringWithSpecialChars {
$_ -replace '\s|#|@|\$|;|,|''|\{|\}|\(|\)|"|`|\||<|>|&','`$&'
}

[scriptblock]$__podmanCompleterBlock = {
[scriptblock]${__podmanCompleterBlock} = {
param(
$WordToComplete,
$CommandAst,
Expand Down Expand Up @@ -85,7 +85,7 @@ filter __podman_escapeStringWithSpecialChars {

__podman_debug "Calling $RequestComp"
# First disable ActiveHelp which is not supported for Powershell
$env:PODMAN_ACTIVE_HELP=0
${env:PODMAN_ACTIVE_HELP}=0

#call the command store the output in $out and redirect stderr and stdout to null
# $Out is an array contains each line per element
Expand Down Expand Up @@ -242,6 +242,6 @@ filter __podman_escapeStringWithSpecialChars {
}
}
Register-ArgumentCompleter -CommandName 'podman' -ScriptBlock $__podmanCompleterBlock
Register-ArgumentCompleter -CommandName 'podman' -ScriptBlock ${__podmanCompleterBlock}
# This file is generated with "podman completion"; see: podman-completion(1)
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ require (
github.com/rootless-containers/rootlesskit v1.1.1
github.com/shirou/gopsutil/v3 v3.23.10
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.7.0
github.com/spf13/cobra v1.8.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.4
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
Expand Down
5 changes: 3 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ github.com/coreos/stream-metadata-go v0.4.3/go.mod h1:fMObQqQm8Ku91G04btKzEH3Asd
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/crc-org/vfkit v0.1.2-0.20231030102423-f3c783d34420 h1:QXiiq7uk7RR4t0Urp/OtIibD+6PJHkEE2zy3QTQ42so=
github.com/crc-org/vfkit v0.1.2-0.20231030102423-f3c783d34420/go.mod h1:OQiqOghCzdgkd/jRoVu4/lcfQSKje7XPVpfW1aO9YvE=
github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
Expand Down Expand Up @@ -995,8 +996,8 @@ github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKv
github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM=
github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0=
github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho=
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
Expand Down
8 changes: 4 additions & 4 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.

8 changes: 4 additions & 4 deletions vendor/github.com/spf13/cobra/README.md

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

10 changes: 7 additions & 3 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.

157 changes: 0 additions & 157 deletions vendor/github.com/spf13/cobra/active_help.md

This file was deleted.

2 changes: 1 addition & 1 deletion 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.

Loading

0 comments on commit 886f932

Please sign in to comment.