mirror of
https://github.com/containers/podman.git
synced 2025-07-04 10:10:32 +08:00
Run codespell on code
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
4
.github/workflows/discussion_lock.yml
vendored
4
.github/workflows/discussion_lock.yml
vendored
@ -29,11 +29,11 @@ concurrency:
|
|||||||
group: lock
|
group: lock
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Number of days befor a closed issue/PR is be comment-locked.
|
# Number of days before a closed issue/PR is be comment-locked.
|
||||||
# Note: dessant/lock-threads will only process a max. of
|
# Note: dessant/lock-threads will only process a max. of
|
||||||
# 50 issues/PRs at a time.
|
# 50 issues/PRs at a time.
|
||||||
CLOSED_DAYS: 90
|
CLOSED_DAYS: 90
|
||||||
# Pre-created issue/PR label to add (preferrably a bright color).
|
# Pre-created issue/PR label to add (preferably a bright color).
|
||||||
# This is intended to direct a would-be commenter's actions.
|
# This is intended to direct a would-be commenter's actions.
|
||||||
LOCKED_LABEL: 'locked - please file new issue/PR'
|
LOCKED_LABEL: 'locked - please file new issue/PR'
|
||||||
|
|
||||||
|
2
Makefile
2
Makefile
@ -299,7 +299,7 @@ test/version/version: version/version.go
|
|||||||
|
|
||||||
.PHONY: codespell
|
.PHONY: codespell
|
||||||
codespell:
|
codespell:
|
||||||
codespell -S bin,vendor,.git,go.sum,.cirrus.yml,"RELEASE_NOTES.md,*.xz,*.gz,*.ps1,*.tar,swagger.yaml,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L passt,bu,hastable,te,clos,ans,pullrequest,uint,iff,od,seeked,splitted,marge,erro,hist,ether,specif -w
|
codespell -S bin,vendor,.git,go.sum,.cirrus.yml,"*.fish,RELEASE_NOTES.md,*.xz,*.gz,*.ps1,*.tar,swagger.yaml,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L passt,bu,hastable,te,clos,ans,pullrequest,uint,iff,od,seeked,splitted,marge,erro,hist,ether,specif -w
|
||||||
|
|
||||||
.PHONY: validate
|
.PHONY: validate
|
||||||
validate: lint .gitvalidation validate.completions man-page-check swagger-check tests-included tests-expect-exit pr-removes-fixed-skips
|
validate: lint .gitvalidation validate.completions man-page-check swagger-check tests-included tests-expect-exit pr-removes-fixed-skips
|
||||||
|
@ -72,7 +72,7 @@ table.synopsis { border: none; border-collapse: collapse; margin-left: 2em; marg
|
|||||||
/* [It] is where the test happens but we don't need any special highlights */
|
/* [It] is where the test happens but we don't need any special highlights */
|
||||||
.ginkgo-it { }
|
.ginkgo-it { }
|
||||||
|
|
||||||
/* Finall summary line at bottom */
|
/* Final summary line at bottom */
|
||||||
.ginkgo-final-success { background: #393; font-weight: bold; font-size: 150%; }
|
.ginkgo-final-success { background: #393; font-weight: bold; font-size: 150%; }
|
||||||
.ginkgo-final-fail { background: #f00; font-weight: bold; font-size: 150%; }
|
.ginkgo-final-fail { background: #f00; font-weight: bold; font-size: 150%; }
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# New home
|
# New home
|
||||||
|
|
||||||
The contents of the hello iamge have been moved to a dedicated repository:
|
The contents of the hello image have been moved to a dedicated repository:
|
||||||
https://github.com/containers/PodmanHello
|
https://github.com/containers/PodmanHello
|
||||||
|
|
||||||
# Warning
|
# Warning
|
||||||
|
@ -33,7 +33,7 @@ set_argv (int pos, char *arg)
|
|||||||
/*
|
/*
|
||||||
We use cgo code here so we can fork then exec separately,
|
We use cgo code here so we can fork then exec separately,
|
||||||
this is done so we can mount proc after the fork because the pid namespace is
|
this is done so we can mount proc after the fork because the pid namespace is
|
||||||
only active after spawning childs.
|
only active after spawning children.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
fork_exec_ps ()
|
fork_exec_ps ()
|
||||||
|
@ -368,7 +368,7 @@ func (r *Runtime) GetRootlessNetNs(new bool) (*RootlessNetNS, error) {
|
|||||||
|
|
||||||
// When the netns is not valid but the file exists we have to remove it first,
|
// When the netns is not valid but the file exists we have to remove it first,
|
||||||
// https://github.com/containers/common/pull/1381 changed the behavior from
|
// https://github.com/containers/common/pull/1381 changed the behavior from
|
||||||
// NewNSWithName()so it will now error whe the file already exists.
|
// NewNSWithName()so it will now error when the file already exists.
|
||||||
// https://github.com/containers/podman/issues/17903#issuecomment-1494329622
|
// https://github.com/containers/podman/issues/17903#issuecomment-1494329622
|
||||||
if errors.As(err, &ns.NSPathNotNSErr{}) {
|
if errors.As(err, &ns.NSPathNotNSErr{}) {
|
||||||
logrus.Infof("rootless netns is no longer valid: %v", err)
|
logrus.Infof("rootless netns is no longer valid: %v", err)
|
||||||
|
@ -491,7 +491,7 @@ none | false | false | 0
|
|||||||
@test "podman pull - EXTEND_TIMEOUT_USEC" {
|
@test "podman pull - EXTEND_TIMEOUT_USEC" {
|
||||||
# Make sure that Podman extends the start timeout via DBUS when running
|
# Make sure that Podman extends the start timeout via DBUS when running
|
||||||
# inside a systemd unit (i.e., with NOTIFY_SOCKET set). Extending the
|
# inside a systemd unit (i.e., with NOTIFY_SOCKET set). Extending the
|
||||||
# timout works by continuously sending EXTEND_TIMEOUT_USEC; Podman does
|
# timeout works by continuously sending EXTEND_TIMEOUT_USEC; Podman does
|
||||||
# this at most 10 times, adding up to ~5min.
|
# this at most 10 times, adding up to ~5min.
|
||||||
|
|
||||||
image_on_local_registry=localhost:${PODMAN_LOGIN_REGISTRY_PORT}/name:tag
|
image_on_local_registry=localhost:${PODMAN_LOGIN_REGISTRY_PORT}/name:tag
|
||||||
|
Reference in New Issue
Block a user