Probe the RPM filename nfpm actually publishes #175

Merged
benvin merged 1 commits from benvin/normalize-version into master 2026-09-28 22:22:42 +10:00
Member

nfpm re-renders semver versions into the RPM filename, so 2025.08.03 ships as 2025.8.3. The existence probe asked artifactapi for the raw metadata version, always got a 404, and rebuilt and republished nzbget_exporter and unkin-ca-certificates on every pipeline run.

  • add nfpm_rpm_version/rpm_file_name mirroring nfpm rendering
  • build the probe filename through rpm_file_name
  • drop dead normalize_version and get_package_full_name
  • cover the nfpm rendering table and the probed URL in tests
nfpm re-renders semver versions into the RPM filename, so `2025.08.03` ships as `2025.8.3`. The existence probe asked artifactapi for the raw metadata version, always got a 404, and rebuilt and republished `nzbget_exporter` and `unkin-ca-certificates` on every pipeline run. - add `nfpm_rpm_version`/`rpm_file_name` mirroring nfpm rendering - build the probe filename through `rpm_file_name` - drop dead `normalize_version` and `get_package_full_name` - cover the nfpm rendering table and the probed URL in tests
unkin-agent added 1 commit 2026-09-28 21:32:49 +10:00
Probe the RPM filename nfpm actually publishes
ci/woodpecker/pr/build-fedora44 Pipeline was successful
ci/woodpecker/pr/build-fedora42 Pipeline was successful
ci/woodpecker/pr/build-fedora43 Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
ci/woodpecker/pr/build-almalinux8 Pipeline was successful
5ab839e209
nfpm re-renders semver versions into the filename, so a zero-padded
version like 2025.08.03 ships as 2025.8.3. The existence probe used the
raw metadata version, always 404'd, and rebuilt and republished
nzbget_exporter and unkin-ca-certificates on every pipeline run.

- add nfpm_rpm_version/rpm_file_name mirroring nfpm's rendering
- build the probe filename through rpm_file_name
- drop dead normalize_version and get_package_full_name
benvin merged commit df7490388e into master 2026-09-28 22:22:42 +10:00
benvin deleted branch benvin/normalize-version 2026-09-28 22:22:43 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/rpmbuilder#175