From b1e3e8d97258f560872fd7f97cefc5eeb993d989 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 14 Sep 2023 06:13:23 -0400 Subject: [PATCH] Run codespell on code Signed-off-by: Daniel J Walsh --- .github/workflows/discussion_lock.yml | 4 ++-- Makefile | 2 +- contrib/cirrus/logformatter | 2 +- contrib/hello/README.md | 2 +- libpod/container_top_linux.c | 2 +- libpod/networking_linux.go | 2 +- test/system/260-sdnotify.bats | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/discussion_lock.yml b/.github/workflows/discussion_lock.yml index 4387089f0b..a0b3e1c7dc 100644 --- a/.github/workflows/discussion_lock.yml +++ b/.github/workflows/discussion_lock.yml @@ -29,11 +29,11 @@ concurrency: group: lock 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 # 50 issues/PRs at a time. 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. LOCKED_LABEL: 'locked - please file new issue/PR' diff --git a/Makefile b/Makefile index 7b28767f3f..35dc21a024 100644 --- a/Makefile +++ b/Makefile @@ -299,7 +299,7 @@ test/version/version: version/version.go .PHONY: 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 validate: lint .gitvalidation validate.completions man-page-check swagger-check tests-included tests-expect-exit pr-removes-fixed-skips diff --git a/contrib/cirrus/logformatter b/contrib/cirrus/logformatter index 0888fc8959..70734649e2 100755 --- a/contrib/cirrus/logformatter +++ b/contrib/cirrus/logformatter @@ -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 */ .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-fail { background: #f00; font-weight: bold; font-size: 150%; } diff --git a/contrib/hello/README.md b/contrib/hello/README.md index 2a95823235..63d1363bd2 100644 --- a/contrib/hello/README.md +++ b/contrib/hello/README.md @@ -2,7 +2,7 @@ # 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 # Warning diff --git a/libpod/container_top_linux.c b/libpod/container_top_linux.c index 2f184ff0ee..566425b6fa 100644 --- a/libpod/container_top_linux.c +++ b/libpod/container_top_linux.c @@ -33,7 +33,7 @@ set_argv (int pos, char *arg) /* 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 - only active after spawning childs. + only active after spawning children. */ void fork_exec_ps () diff --git a/libpod/networking_linux.go b/libpod/networking_linux.go index 7741ec3c46..d2c9def0e5 100644 --- a/libpod/networking_linux.go +++ b/libpod/networking_linux.go @@ -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, // 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 if errors.As(err, &ns.NSPathNotNSErr{}) { logrus.Infof("rootless netns is no longer valid: %v", err) diff --git a/test/system/260-sdnotify.bats b/test/system/260-sdnotify.bats index 1c50cc8cb5..1036755677 100644 --- a/test/system/260-sdnotify.bats +++ b/test/system/260-sdnotify.bats @@ -491,7 +491,7 @@ none | false | false | 0 @test "podman pull - EXTEND_TIMEOUT_USEC" { # Make sure that Podman extends the start timeout via DBUS when running # 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. image_on_local_registry=localhost:${PODMAN_LOGIN_REGISTRY_PORT}/name:tag