Skip to content

Fix package metadata fields not updated after signing#4384

Merged
dralley merged 1 commit intopulp:mainfrom
daviddavis:fix-package-fields
Mar 24, 2026
Merged

Fix package metadata fields not updated after signing#4384
dralley merged 1 commit intopulp:mainfrom
daviddavis:fix-package-fields

Conversation

@daviddavis
Copy link
Copy Markdown
Contributor

When creating a signed copy of a package, all RPM metadata fields are now refreshed from the signed file using createrepo_c, ensuring size_package, rpm_header_start, rpm_header_end, time_file, and other fields stay consistent.

fixes #4383

@daviddavis daviddavis marked this pull request as draft March 20, 2026 18:32
@github-actions github-actions bot removed the no-issue label Mar 20, 2026
@daviddavis daviddavis force-pushed the fix-package-fields branch 4 times, most recently from 8ffce15 to 3b01cad Compare March 23, 2026 19:50
@daviddavis daviddavis marked this pull request as ready for review March 23, 2026 19:51
When creating a signed copy of a package, all RPM metadata fields are now
refreshed from the signed file using createrepo_c, ensuring size_package,
rpm_header_start, rpm_header_end, time_file, and other fields stay consistent.

fixes pulp#4383

Assisted By: Claude Opus 4.6
@dralley dralley merged commit ac64463 into pulp:main Mar 24, 2026
14 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.

Size is incorrect for signed packages

3 participants