Run codespell on code
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
70d8ab9495
commit
ccac7ca0bf
2
Makefile
2
Makefile
|
|
@ -125,7 +125,7 @@ gopath:
|
||||||
test $(shell pwd) = $(shell cd ../../../../src/github.com/containers/buildah ; pwd)
|
test $(shell pwd) = $(shell cd ../../../../src/github.com/containers/buildah ; pwd)
|
||||||
|
|
||||||
codespell:
|
codespell:
|
||||||
codespell -S Makefile,buildah.spec.rpkg,AUTHORS,bin,vendor,.git,go.mod,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L uint,iff,od,erro -w
|
codespell -S Makefile,buildah.spec.rpkg,AUTHORS,bin,vendor,.git,go.mod,go.sum,CHANGELOG.md,changelog.txt,seccomp.json,.cirrus.yml,"*.xz,*.gz,*.tar,*.tgz,*ico,*.png,*.1,*.5,*.orig,*.rej" -L passt,bu,uint,iff,od,erro -w
|
||||||
|
|
||||||
.PHONY: validate
|
.PHONY: validate
|
||||||
validate: install.tools
|
validate: install.tools
|
||||||
|
|
|
||||||
|
|
@ -349,10 +349,10 @@ type BuilderOptions struct {
|
||||||
ProcessLabel string
|
ProcessLabel string
|
||||||
// MountLabel is the SELinux mount label associated with the container
|
// MountLabel is the SELinux mount label associated with the container
|
||||||
MountLabel string
|
MountLabel string
|
||||||
// PreserveBaseImageAnn[otation]s indicates that we should preserve base
|
// PreserveBaseImageAnns indicates that we should preserve base
|
||||||
// image information that was present in our base image, instead of
|
// image information (Annotations) that are present in our base image,
|
||||||
// overwriting them with information about the base image itself. This
|
// rather than overwriting them with information about the base image
|
||||||
// is mainly useful as an internal implementation detail of multistage
|
// itself. Useful as an internal implementation detail of multistage
|
||||||
// builds, and does not need to be set by most callers.
|
// builds, and does not need to be set by most callers.
|
||||||
PreserveBaseImageAnns bool
|
PreserveBaseImageAnns bool
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ __buildah_to_extglob() {
|
||||||
# continue processing its completion.
|
# continue processing its completion.
|
||||||
#
|
#
|
||||||
# TODO if the preceding command has options that accept arguments and an
|
# TODO if the preceding command has options that accept arguments and an
|
||||||
# argument is equal ot one of the subcommands, this is falsely detected as
|
# argument is equal or one of the subcommands, this is falsely detected as
|
||||||
# a match.
|
# a match.
|
||||||
__buildah_subcommands() {
|
__buildah_subcommands() {
|
||||||
local subcommands="$1"
|
local subcommands="$1"
|
||||||
|
|
|
||||||
|
|
@ -1496,7 +1496,7 @@ func checkIfMountDestinationPreExists(root string, dest string) (bool, error) {
|
||||||
// We created exact path for globbing so it will
|
// We created exact path for globbing so it will
|
||||||
// return only one result.
|
// return only one result.
|
||||||
if statResults[0].Error != "" && len(statResults[0].Globbed) == 0 {
|
if statResults[0].Error != "" && len(statResults[0].Globbed) == 0 {
|
||||||
// Path do not exsits.
|
// Path do not exist.
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
// Path exists.
|
// Path exists.
|
||||||
|
|
|
||||||
|
|
@ -5080,7 +5080,7 @@ _EOF
|
||||||
assert "$output" !~ '--build-arg SECRET=<VALUE>'
|
assert "$output" !~ '--build-arg SECRET=<VALUE>'
|
||||||
assert "$output" !~ '--build-arg NEWSECRET=<VALUE>'
|
assert "$output" !~ '--build-arg NEWSECRET=<VALUE>'
|
||||||
|
|
||||||
# case should similarly honor globally declated args
|
# case should similarly honor globally declared args
|
||||||
cat > $mytmpdir/Containerfile << _EOF
|
cat > $mytmpdir/Containerfile << _EOF
|
||||||
ARG SECRET="Itismysecret"
|
ARG SECRET="Itismysecret"
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue