Commit graph

28150 commits

Author SHA1 Message Date
Vishnu Kothakapu
af9d0b995f Performance: Upgrade sort.Slice to slices.SortFunc across codebase
This commit modernizes the codebase by replacing older, reflection-based sort.Slice and sort.SliceIsSorted calls with the modern slices.Sort and slices.SortFunc introduced in Go 1.21.

This provides better performance and type safety by utilizing generics rather than runtime reflection.

Signed-off-by: Vishnu Kothakapu <vishnukothakapu27@gmail.com>
2026-08-24 14:45:40 +05:30
Paul Holzinger
e9b8854cf4
Merge pull request #29563 from vishnukothakapu/perf-walkdir
Performance: Upgrade filepath.Walk to filepath.WalkDir
2026-08-20 19:04:21 +02:00
Vishnu Kothakapu
7a71964303 Performance: Upgrade filepath.Walk to filepath.WalkDir
filepath.Walk makes an expensive os.Stat system call on every file. filepath.WalkDir uses os.ReadDir under the hood to bypass this overhead, making directory scanning much faster.

Fixes: #29562
Signed-off-by: Vishnu Kothakapu <vishnukothakapu27@gmail.com>
2026-08-20 20:48:08 +05:30
Lokesh Mandvekar
b9e98bc46a
Merge pull request #29589 from rsvr76/fix-28452-clean
Some checks are pending
ci / int local rootless fedora-prior (push) Blocked by required conditions
ci / sys local rootless fedora-prior (push) Blocked by required conditions
ci / int remote root fedora-prior (push) Blocked by required conditions
ci / sys remote root fedora-prior (push) Blocked by required conditions
ci / int local root fedora-rawhide (push) Blocked by required conditions
ci / sys local root fedora-rawhide (push) Blocked by required conditions
ci / int local rootless fedora-rawhide (push) Blocked by required conditions
ci / sys local rootless fedora-rawhide (push) Blocked by required conditions
ci / int remote root fedora-rawhide (push) Blocked by required conditions
ci / sys remote root fedora-rawhide (push) Blocked by required conditions
ci / apiv2 root fedora-current (push) Blocked by required conditions
ci / bindings root fedora-current (push) Blocked by required conditions
ci / compose_v2 root fedora-current (push) Blocked by required conditions
ci / docker_py root fedora-current (push) Blocked by required conditions
ci / unit root fedora-current (push) Blocked by required conditions
ci / apiv2 rootless fedora-current (push) Blocked by required conditions
ci / compose_v2 rootless fedora-current (push) Blocked by required conditions
ci / farm rootless fedora-current (push) Blocked by required conditions
ci / unit rootless fedora-current (push) Blocked by required conditions
ci / upgrade v5.3.1 root fedora-current (push) Blocked by required conditions
ci / upgrade v5.6.2 root fedora-current (push) Blocked by required conditions
ci / machine linux amd64 (push) Blocked by required conditions
ci / windows unit (push) Blocked by required conditions
ci / windows e2e (push) Blocked by required conditions
ci / windows machine hyperv (push) Blocked by required conditions
ci / windows machine wsl (push) Blocked by required conditions
ci / macos machine applehv (push) Blocked by required conditions
ci / macos machine libkrun (push) Blocked by required conditions
ci / Total Success (push) Blocked by required conditions
zizmor: GitHub Actions Security Analysis / Zizmor (push) Waiting to run
contrib/packit-tmt: handle missing testing-farm repo
2026-08-20 10:39:30 -04:00
Paul Holzinger
dbae2a4496
Merge pull request #29596 from podman-container-tools/renovate/docker.io-library-golang-1.x
Update docker.io/library/golang Docker tag to v1.27
2026-08-20 12:16:45 +02:00
renovate[bot]
ce62cc93c9
Update docker.io/library/golang Docker tag to v1.27
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-20 01:49:54 +00:00
Jan Rodák
9774d5338e
Merge pull request #29585 from podman-container-tools/renovate/github.com-sirupsen-logrus-1.x
Some checks are pending
ci / int local rootless fedora-prior (push) Blocked by required conditions
ci / sys local rootless fedora-prior (push) Blocked by required conditions
ci / int remote root fedora-prior (push) Blocked by required conditions
ci / sys remote root fedora-prior (push) Blocked by required conditions
ci / int local root fedora-rawhide (push) Blocked by required conditions
ci / sys local root fedora-rawhide (push) Blocked by required conditions
ci / int local rootless fedora-rawhide (push) Blocked by required conditions
ci / sys local rootless fedora-rawhide (push) Blocked by required conditions
ci / int remote root fedora-rawhide (push) Blocked by required conditions
ci / sys remote root fedora-rawhide (push) Blocked by required conditions
ci / apiv2 root fedora-current (push) Blocked by required conditions
ci / bindings root fedora-current (push) Blocked by required conditions
ci / compose_v2 root fedora-current (push) Blocked by required conditions
ci / docker_py root fedora-current (push) Blocked by required conditions
ci / unit root fedora-current (push) Blocked by required conditions
ci / apiv2 rootless fedora-current (push) Blocked by required conditions
ci / compose_v2 rootless fedora-current (push) Blocked by required conditions
ci / farm rootless fedora-current (push) Blocked by required conditions
ci / unit rootless fedora-current (push) Blocked by required conditions
ci / upgrade v5.3.1 root fedora-current (push) Blocked by required conditions
ci / upgrade v5.6.2 root fedora-current (push) Blocked by required conditions
ci / machine linux amd64 (push) Blocked by required conditions
ci / windows unit (push) Blocked by required conditions
ci / windows e2e (push) Blocked by required conditions
ci / windows machine hyperv (push) Blocked by required conditions
ci / windows machine wsl (push) Blocked by required conditions
ci / macos machine applehv (push) Blocked by required conditions
ci / macos machine libkrun (push) Blocked by required conditions
ci / Total Success (push) Blocked by required conditions
zizmor: GitHub Actions Security Analysis / Zizmor (push) Waiting to run
Update module github.com/sirupsen/logrus to v1.10.1
2026-08-19 19:07:05 +02:00
Jan Rodák
cd91b08c66
Merge pull request #29539 from ravencore06/refactor/remove-redundant-error-formatting
refactor: remove redundant err.Error() calls
2026-08-19 18:06:06 +02:00
rsvr76
e033c0521b contrib/packit-tmt: handle missing testing-farm repo
Check for testing-farm-tag-repository before passing --disable-repo to dnf.
This prevents the dependency upgrade from failing when Testing Farm did
not create the repository.

Fixes: #28452

Signed-off-by: rsvr76 <vishnuramrs07@gmail.com>
2026-08-19 21:20:51 +05:30
Jan Rodák
4edc8d68e3
Merge pull request #29484 from ellieayla/artifact-list-json-output
feat: Add output format: podman artifact ls --format=json
2026-08-19 17:41:01 +02:00
Srinidhi
3bfcad5da2 refactor: remove redundant err.Error() calls
Signed-off-by: Srinidhi <srinidhisadhanala@gmail.com>
2026-08-19 20:38:00 +05:30
ellieayla
f596bb7a73 feat: Add output format: podman artifact ls --format=json
The 'podman artifact ls' command supports a --format flag accepting a go template string. Some commands (eg 'podman image ls') accept a --format=json parameter, and export pure json object to stdout.

This change adds a --format=json output mode to artifact lists too.

Includes simple documentation mention of --format=json option alongside go template description.

Signed-off-by: ellieayla <1447600+me@users.noreply.github.com>
2026-08-19 10:18:10 -04:00
Jan Rodák
c3976ef6ac
Merge pull request #29584 from podman-container-tools/renovate/google.golang.org-grpc-1.x
Some checks are pending
ci / int local rootless fedora-prior (push) Blocked by required conditions
ci / sys local rootless fedora-prior (push) Blocked by required conditions
ci / int remote root fedora-prior (push) Blocked by required conditions
ci / sys remote root fedora-prior (push) Blocked by required conditions
ci / int local root fedora-rawhide (push) Blocked by required conditions
ci / sys local root fedora-rawhide (push) Blocked by required conditions
ci / int local rootless fedora-rawhide (push) Blocked by required conditions
ci / sys local rootless fedora-rawhide (push) Blocked by required conditions
ci / int remote root fedora-rawhide (push) Blocked by required conditions
ci / sys remote root fedora-rawhide (push) Blocked by required conditions
ci / apiv2 root fedora-current (push) Blocked by required conditions
ci / bindings root fedora-current (push) Blocked by required conditions
ci / compose_v2 root fedora-current (push) Blocked by required conditions
ci / docker_py root fedora-current (push) Blocked by required conditions
ci / unit root fedora-current (push) Blocked by required conditions
ci / apiv2 rootless fedora-current (push) Blocked by required conditions
ci / compose_v2 rootless fedora-current (push) Blocked by required conditions
ci / farm rootless fedora-current (push) Blocked by required conditions
ci / unit rootless fedora-current (push) Blocked by required conditions
ci / upgrade v5.3.1 root fedora-current (push) Blocked by required conditions
ci / upgrade v5.6.2 root fedora-current (push) Blocked by required conditions
ci / machine linux amd64 (push) Blocked by required conditions
ci / windows unit (push) Blocked by required conditions
ci / windows e2e (push) Blocked by required conditions
ci / windows machine hyperv (push) Blocked by required conditions
ci / windows machine wsl (push) Blocked by required conditions
ci / macos machine applehv (push) Blocked by required conditions
ci / macos machine libkrun (push) Blocked by required conditions
ci / Total Success (push) Blocked by required conditions
zizmor: GitHub Actions Security Analysis / Zizmor (push) Waiting to run
Update module google.golang.org/grpc to v1.83.1
2026-08-19 16:08:51 +02:00
Paul Holzinger
768072c6a8
Merge pull request #29572 from dexp007/main
compat/secrets: do not expose secret data on inspect endpoint
2026-08-19 15:55:51 +02:00
Lokesh Mandvekar
4451a3f7b9
Merge pull request #29569 from vtushar06/fix-skip-aarch64-msg
test/system: pass skip_if_aarch64 its message
2026-08-19 08:48:09 -04:00
Lokesh Mandvekar
f18a8d0c55
Merge pull request #29586 from podman-container-tools/renovate/major-ci-vm-image
Update dependency podman-container-tools/automation to v20260819
2026-08-19 08:44:11 -04:00
renovate[bot]
ae4b31372e
Update dependency podman-container-tools/automation to v20260819
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-19 11:20:33 +00:00
Paul Holzinger
0d95300020
Merge pull request #29531 from ROKUMATE/hack-ci-pr-tests-exit
hack/ci: exit instead of return on missing github credentials
2026-08-19 13:19:19 +02:00
Davoud Azari
b57e7075e2 compat/secrets: do not expose secret data on inspect endpoint
The Docker-compat secret inspect endpoint was incorrectly honoring
the showsecret query parameter, which could expose plaintext secret
data to clients using the Docker-compatible API.

This restricts showsecret to libpod-only requests. Docker-compat
clients always receive redacted secret data, matching Docker's own
behavior.

Add APIv2 tests covering the showsecret behavior on both the
Docker-compat and libpod endpoints, confirming secret data is never
returned from the compat endpoint while libpod continues to honor
the flag.

Fixes: #29570

Signed-off-by: Davoud Azari <davidmotral@gmail.com>
2026-08-19 14:30:37 +03:30
Paul Holzinger
5c9779cc5d
Merge pull request #29576 from ravencore06/test/reduce-flaky-test-sleep
test: synchronize SHM lock test
2026-08-19 12:36:24 +02:00
renovate[bot]
1a4c83d7ab
Update module github.com/sirupsen/logrus to v1.10.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-19 10:29:18 +00:00
Paul Holzinger
6297eeb796
Merge pull request #29583 from podman-container-tools/renovate/go-github.com-moby-go-archive-vulnerability
Update module github.com/moby/go-archive to v0.3.0 [SECURITY]
2026-08-19 12:27:20 +02:00
Jan Rodák
be2fb37322
Merge pull request #29581 from podman-container-tools/renovate/github.com-opencontainers-cgroups-0.x
Update module github.com/opencontainers/cgroups to v0.1.0
2026-08-19 11:30:55 +02:00
renovate[bot]
5e2de91def
Update module google.golang.org/grpc to v1.83.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-19 09:13:42 +00:00
Matt Heon
f63cf24b00
Merge pull request #29460 from RudraDudhat2509/fix/hyperv-vsock-ready-timeout
hyperv: add timeout to vsock ready wait
2026-08-19 05:11:28 -04:00
renovate[bot]
7004e42cb6
Update module github.com/moby/go-archive to v0.3.0 [SECURITY]
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-19 07:57:27 +00:00
Jan Rodák
c21fb45ac8
Merge pull request #29378 from danishprakash/fix-farm-build-tag
farm: handle tagged --tag references on build
2026-08-19 09:55:37 +02:00
Danish Prakash
5745ac69e0
farm: handle tagged --tag references on build
podman farm build pushes each per-arch image to the registry by
appending `UnknownDigestSuffix` to the image specified using --tag. This
fails because a tag is not expected when UnknownDigestSuffix is used.
Parse the image reference and pass only the untagged image
reference when podman does this suffixed push to the registry.

Fixes #25039

Co-authored-by: Kevin Crocombe <kevin.crocombe@pegortech.co.uk>
Signed-off-by: Danish Prakash <contact@danishpraka.sh>
2026-08-19 12:44:54 +05:30
renovate[bot]
84f1339181
Update module github.com/opencontainers/cgroups to v0.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-19 00:31:27 +00:00
Matt Heon
732e7c9d26
Merge pull request #29574 from CodeWithAK28/docs-manifest-api-params
Some checks are pending
ci / int local rootless fedora-prior (push) Blocked by required conditions
ci / sys local rootless fedora-prior (push) Blocked by required conditions
ci / int remote root fedora-prior (push) Blocked by required conditions
ci / sys remote root fedora-prior (push) Blocked by required conditions
ci / int local root fedora-rawhide (push) Blocked by required conditions
ci / sys local root fedora-rawhide (push) Blocked by required conditions
ci / int local rootless fedora-rawhide (push) Blocked by required conditions
ci / sys local rootless fedora-rawhide (push) Blocked by required conditions
ci / int remote root fedora-rawhide (push) Blocked by required conditions
ci / sys remote root fedora-rawhide (push) Blocked by required conditions
ci / apiv2 root fedora-current (push) Blocked by required conditions
ci / bindings root fedora-current (push) Blocked by required conditions
ci / compose_v2 root fedora-current (push) Blocked by required conditions
ci / docker_py root fedora-current (push) Blocked by required conditions
ci / unit root fedora-current (push) Blocked by required conditions
ci / apiv2 rootless fedora-current (push) Blocked by required conditions
ci / compose_v2 rootless fedora-current (push) Blocked by required conditions
ci / farm rootless fedora-current (push) Blocked by required conditions
ci / unit rootless fedora-current (push) Blocked by required conditions
ci / upgrade v5.3.1 root fedora-current (push) Blocked by required conditions
ci / upgrade v5.6.2 root fedora-current (push) Blocked by required conditions
ci / machine linux amd64 (push) Blocked by required conditions
ci / windows unit (push) Blocked by required conditions
ci / windows e2e (push) Blocked by required conditions
ci / windows machine hyperv (push) Blocked by required conditions
ci / windows machine wsl (push) Blocked by required conditions
ci / macos machine applehv (push) Blocked by required conditions
ci / macos machine libkrun (push) Blocked by required conditions
ci / Total Success (push) Blocked by required conditions
zizmor: GitHub Actions Security Analysis / Zizmor (push) Waiting to run
pkg/api/server: document missing manifest push and create params
2026-08-18 15:21:05 -04:00
Matt Heon
4c253a899e
Merge pull request #29540 from hihry/fix/updateDocs
docs: remove hardcoded config paths in favor of man page references (#29187)
2026-08-18 15:01:23 -04:00
hihry
65a33be7ed docs: remove hardcoded config paths in favor of man page references
Remove hardcoded configuration file directory paths from podman.1.md and podman-image-trust.1.md.in. Instead of hardcoding paths that become outdated, direct readers to their respective man pages (such as containers.conf(5) and containers-policy.json(5)) for complete path resolution details.

Fixes: #29187

Signed-off-by: hihry <work.himanshu.r.v@gmail.com>
Signed-off-by: Himanshu Ravindra Iwanati <work.himanshu.r.v@gmail.com>
2026-08-18 19:50:32 +05:30
Paul Holzinger
4d055045e5
Merge pull request #29489 from ashley-cui/tmpfs
Some checks are pending
ci / int local rootless fedora-prior (push) Blocked by required conditions
ci / sys local rootless fedora-prior (push) Blocked by required conditions
ci / int remote root fedora-prior (push) Blocked by required conditions
ci / sys remote root fedora-prior (push) Blocked by required conditions
ci / int local root fedora-rawhide (push) Blocked by required conditions
ci / sys local root fedora-rawhide (push) Blocked by required conditions
ci / int local rootless fedora-rawhide (push) Blocked by required conditions
ci / sys local rootless fedora-rawhide (push) Blocked by required conditions
ci / int remote root fedora-rawhide (push) Blocked by required conditions
ci / sys remote root fedora-rawhide (push) Blocked by required conditions
ci / apiv2 root fedora-current (push) Blocked by required conditions
ci / bindings root fedora-current (push) Blocked by required conditions
ci / compose_v2 root fedora-current (push) Blocked by required conditions
ci / docker_py root fedora-current (push) Blocked by required conditions
ci / unit root fedora-current (push) Blocked by required conditions
ci / apiv2 rootless fedora-current (push) Blocked by required conditions
ci / compose_v2 rootless fedora-current (push) Blocked by required conditions
ci / farm rootless fedora-current (push) Blocked by required conditions
ci / unit rootless fedora-current (push) Blocked by required conditions
ci / upgrade v5.3.1 root fedora-current (push) Blocked by required conditions
ci / upgrade v5.6.2 root fedora-current (push) Blocked by required conditions
ci / machine linux amd64 (push) Blocked by required conditions
ci / windows unit (push) Blocked by required conditions
ci / windows e2e (push) Blocked by required conditions
ci / windows machine hyperv (push) Blocked by required conditions
ci / windows machine wsl (push) Blocked by required conditions
ci / macos machine applehv (push) Blocked by required conditions
ci / macos machine libkrun (push) Blocked by required conditions
ci / Total Success (push) Blocked by required conditions
zizmor: GitHub Actions Security Analysis / Zizmor (push) Waiting to run
Compat v1.46: support HostConfig.Mounts.TmpfsOptions for containers/create
2026-08-18 15:37:15 +02:00
Srinidhi
a34c978984 test: synchronize SHM lock test
Signed-off-by: Srinidhi <srinidhisadhanala@gmail.com>
2026-08-18 16:57:53 +05:30
Tushar Verma
085e4baac9 test/tmt: raise system test duration to 60m
Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
2026-08-18 16:10:56 +05:30
Jan Rodák
dbd571e1ee
Merge pull request #29286 from GlediLami/fix-wslkerninst-filepath
podman-wslkerninst: remove unused binary
2026-08-18 11:17:14 +02:00
ROKUMATE
c839aeed07 hack/ci: exit instead of return on missing github credentials
Signed-off-by: ROKUMATE <rohitkumawat0110@gmail.com>
2026-08-18 13:11:13 +05:30
Anisha Khairnar
baddf266c1 pkg/api/server: document missing manifest push and create params
The manifest push and create endpoints accept query parameters that
were never documented, so API users can't discover them.

Push was missing compressionFormat, compressionLevel, format and
removeSignatures. Create was missing annotation and annotations.
The wording matches the same parameters on the image push endpoint.
The deprecated v3 push and add endpoints are left alone.

Signed-off-by: Anisha Khairnar <anishakhairnar284@gmail.com>
2026-08-18 12:39:30 +05:30
Danish Prakash
598920feef
Merge pull request #29322 from ROKUMATE/test-pkg-machine-env
pkg/machine/env: add tests for WithPodmanPrefix and dir prefixes
2026-08-18 10:08:39 +05:30
Lokesh Mandvekar
771d18a08e Packit/TF: enable Fedora aarch64 system tests
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
(cherry picked from commit a3edb9380b)
2026-08-18 07:53:53 +05:30
Matt Heon
db8802b1a3
Merge pull request #29536 from umar11b/farm-list-quiet
farm: add --quiet/-q flag to podman farm list
2026-08-17 16:23:19 -04:00
Matt Heon
7c33ac6128
Merge pull request #29244 from Honny1/change-links
docs: replace commands-demo.md with demos.md
2026-08-17 16:20:07 -04:00
Jan Rodák
4b6873a5ef
Merge pull request #29527 from vishnukothakapu/perf-strings-equalfold
Performance: Replace strings.ToLower with strings.EqualFold
2026-08-17 21:59:25 +02:00
Matt Heon
fe1f1cb5b8
Merge pull request #29499 from KHARSHAVARDHAN-eng/fix-29491-event-logger-goroutine-leak
events: fix goroutine leak when using --until with dropped contexts
2026-08-17 15:39:11 -04:00
Brent Baude
28449cccb5
Merge pull request #29553 from podman-container-tools/renovate/github.com-mattn-go-sqlite3-1.x
Update module github.com/mattn/go-sqlite3 to v1.14.50
2026-08-17 14:11:49 -05:00
Tushar Verma
e60c112f34 test/system: pass skip_if_aarch64 its message
Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
2026-08-17 23:31:41 +05:30
Jan Rodák
9482f83760
Merge pull request #29479 from HindzStark/fix-copy-event-status
events: add missing Copy status to StringToStatus
2026-08-17 14:55:00 +02:00
Paul Holzinger
0c5e0841b4
Merge pull request #29529 from vtushar06/fix-bud-remote-mode
hack/ci: pass --remote to bud tests
2026-08-17 14:46:56 +02:00
Harsha Vardhan
f7caec8ed6 test(events): remove redundant until cancellation test
Remove the redundant context cancellation test as requested during review.

Fixes: https://github.com/podman-container-tools/podman/issues/29491

Signed-off-by: Harsha Vardhan <harshahvk2005@gmail.com>
2026-08-17 16:44:32 +05:30
Tushar Verma
de8c356969 test/buildah-bud: drop PODBIN_NAME indirection
Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
2026-08-17 16:29:57 +05:30