Skip to content

feat(999.47-04): retire patches[] shape, emit packages[] on apt/dnf/y… - #1

Merged
matthewrstone merged 1 commit into
mainfrom
feat/999.47-packages-version-source-fact
Sep 23, 2026
Merged

matthewrstone merged 1 commit into
mainfrom
feat/999.47-packages-version-source-fact

Conversation

@matthewrstone

Copy link
Copy Markdown
Collaborator

…um (breaking)

Ports the fact script as it now stands after puppet-console's 999.47-01 (apt) and 999.47-03 (dnf/yum) plans: all three branches emit packages[]{name,arch,current,available,repo,security} carrying real version/source data, replacing the legacy patches[]{id,severity,security} array. dnf/yum resolve the installed version via one batched rpm -q lookup per fact run instead of per-package, and validate package names (pkgname_is_safe) before they reach rpm's argv.

Version bumped 0.1.1 -> 0.2.0: a fact-shape change breaking any external consumer of patches[] is not a patch-level change.

No version tag pushed by this commit -- RELEASE.md requires a green CI/ security-scan gate and a published GitHub Release before vendor.yaml's pin moves; that is a human call, not this commit's.

…um (breaking)

Ports the fact script as it now stands after puppet-console's 999.47-01
(apt) and 999.47-03 (dnf/yum) plans: all three branches emit
packages[]{name,arch,current,available,repo,security} carrying real
version/source data, replacing the legacy patches[]{id,severity,security}
array. dnf/yum resolve the installed version via one batched rpm -q lookup
per fact run instead of per-package, and validate package names
(pkgname_is_safe) before they reach rpm's argv.

Version bumped 0.1.1 -> 0.2.0: a fact-shape change breaking any external
consumer of patches[] is not a patch-level change.

No version tag pushed by this commit -- RELEASE.md requires a green CI/
security-scan gate and a published GitHub Release before vendor.yaml's
pin moves; that is a human call, not this commit's.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@matthewrstone
matthewrstone merged commit 6dc2d71 into main Sep 23, 2026
46 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant