spiegel_podman/pkg
Daniel J Walsh 4764b0e403
Add creation timestamp to podman artifacts
This commit implements automatic creation timestamp functionality for artifacts
as requested in GitHub issue #27081, allowing users to see when artifacts were created.

Changes made:
- Add org.opencontainers.image.created annotation with Unix nanoseconds timestamp during artifact creation
- Preserve original creation timestamp when using --append option
- Update artifact inspect and add man pages to document the new functionality
- Add comprehensive e2e and system BATS tests to verify creation timestamp behavior
- Store timestamp as integer (Unix nanoseconds) for programmatic access

The creation timestamp helps users understand artifact freshness, particularly
useful for AI models and other time-sensitive artifacts managed by tools like RamaLama.

Usage examples:
  podman artifact add myartifact:latest /path/to/file     # Creates with timestamp
  podman artifact inspect myartifact:latest              # Shows created annotation as integer
  podman artifact add --append myartifact:latest /file2  # Preserves original timestamp

Fixes: https://github.com/containers/podman/issues/27081
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2025-09-25 08:39:28 -04:00
..
annotations update golangci-lint to 1.60.1 2024-08-19 11:41:28 +02:00
api libpod: Fill out OnlineCPUs in the FreeBSD stats handler 2025-09-18 14:33:42 +00:00
auth run modernize -fix ./... 2025-09-10 16:17:04 +02:00
autoupdate Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
bindings pkg/bindings: on terminal attach always wait for stdout to be done 2025-09-12 19:13:47 +02:00
channel bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
checkpoint Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
copy Fix windows path handling in podman cp 2025-04-08 15:23:08 -07:00
criu chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ctime update golangci/golangci-lint to v1.63.4 2025-01-07 15:48:53 +01:00
domain run modernize -fix ./... 2025-09-10 16:17:04 +02:00
emulation fix(emulation): handle fs.ErrNotExist in registeredBinfmtMisc 2025-09-11 16:56:13 +08:00
env run modernize -fix ./... 2025-09-10 16:17:04 +02:00
errorhandling pkg/errorhandling: remove deadcode 2025-06-26 19:37:14 +02:00
farm Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
fileserver pkg/fileserver: remove deadcode 2025-06-26 19:37:15 +02:00
inspect Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
k8s.io run modernize -fix ./... 2025-09-10 16:17:04 +02:00
libartifact Add creation timestamp to podman artifacts 2025-09-25 08:39:28 -04:00
logiface run modernize -fix ./... 2025-09-10 16:17:04 +02:00
lookup Cease using deprecated runc userlookup 2024-02-02 11:02:43 -05:00
machine run modernize -fix ./... 2025-09-10 16:17:04 +02:00
namespaces use strings.SplitSeq where possible 2025-09-10 16:17:04 +02:00
parallel pkg/parallel: remove deadcode 2025-06-26 19:37:15 +02:00
pidhandle Verify the ExecSession pid before killing it. 2025-05-06 06:24:13 +02:00
ps Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
rctl use strings.SplitSeq where possible 2025-09-10 16:17:04 +02:00
rootless use strings.SplitSeq where possible 2025-09-10 16:17:04 +02:00
seccomp pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
selinux Fix SELinux functions names to not be repetitive 2020-04-23 15:57:34 -04:00
signal pkg/signal: ignore SIGTOP for signal proxy 2025-04-30 19:43:13 +02:00
specgen run modernize -fix ./... 2025-09-10 16:17:04 +02:00
specgenutil run modernize -fix ./... 2025-09-10 16:17:04 +02:00
specgenutilexternal Allow not specifying type with --mount flag 2025-05-30 14:47:13 -04:00
syncmap Add syncmap package and use it for graph stop/remove 2025-02-17 14:32:34 -05:00
systemd pkg/systemd/quadletL silence one lint warning 2025-09-10 16:17:05 +02:00
terminal Fix Lint on Windows and enable the job 2024-02-20 08:06:18 -05:00
trust run modernize -fix ./... 2025-09-10 16:17:04 +02:00
util run modernize -fix ./... 2025-09-10 16:17:04 +02:00