mirror of https://github.com/containers/podman.git
This ended up slightly more complicated than anticipated, tin part because golangci-lint v2 dropped support for --exclude-dirs, so linter issues with GOOS=windows and GOOS=darwin which were previously ignored had to be fixed now. This is also the reason why the ./hack/golangci-lint was simplified. In addition, it now runs linters on Linux without systemd tag set. Tested locally with: for OS in linux windows darwin; do GOOS=$OS ./hack/golangci-lint.sh; done Linting for GOOS=linux + ./bin/golangci-lint run --build-tags=apparmor,seccomp,selinux 0 issues. + ./bin/golangci-lint run --build-tags=apparmor,seccomp,selinux,systemd 0 issues. + ./bin/golangci-lint run --build-tags=apparmor,seccomp,selinux,remote 0 issues. Linting for GOOS=windows + ./bin/golangci-lint run --build-tags=remote,containers_image_openpgp 0 issues. Linting for GOOS=darwin + ./bin/golangci-lint run --build-tags=remote,containers_image_openpgp 0 issues. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> |
||
---|---|---|
.. | ||
perf | ||
podman-registry-go | ||
apparmor_tag.sh | ||
bats | ||
branch_commits.rb | ||
btrfs_installed_tag.sh | ||
btrfs_tag.sh | ||
buildah-vendor-treadmill | ||
check_root.sh | ||
fork_exec_snoop.bt | ||
get_ci_vm.sh | ||
golangci-lint.sh | ||
install_catatonit.sh | ||
install_golangci.sh | ||
libdm_tag.sh | ||
libsubid_tag.sh | ||
make-and-check-size | ||
man-page-checker | ||
man-page-table-check | ||
markdown-preprocess | ||
markdown-preprocess-review | ||
markdown-preprocess.t | ||
podman-commands.sh | ||
podman-registry | ||
podman-socat | ||
podman_cleanup_tracer.bt | ||
podmansnoop | ||
podmanv2-retry | ||
swagger-check | ||
systemd_tag.sh | ||
tree_status.sh | ||
xref-docker-options | ||
xref-helpmsgs-manpages | ||
xref-helpmsgs-manpages.t | ||
xref-quadlet-docs |