Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate rpm format detection and terminology #3461

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

pmatilai
Copy link
Member

No description provided.

@pmatilai pmatilai requested a review from a team as a code owner November 21, 2024 12:12
@pmatilai pmatilai requested review from ffesti and removed request for a team November 21, 2024 12:12
@pmatilai pmatilai marked this pull request as draft November 21, 2024 13:00
@pmatilai
Copy link
Member Author

Meh, forgot tests... I really am not awake today

%_rpmfilever was always just "something" to get the v6 work going, and
is simply a bad name for what it does. Call it %_rpmformat which seems
more obvious and also consistent with the tag we have for it. Update
related usages to talk about rpmformat consistently.

No functional changes.
v6 packages have RPMTAG_RPMFORMAT, but we need to differentiate between
3 and 4 too in various places. As such this is a rather simple-minded
heuristic but it at least gives us a central place where to manage that
detection.
We now have a nice way to centrally get the format number, use it
in the signing code instead of the various ad-hoc methods added during
multi-signature development, and use 'rpmformat' as the variable name
for easy grepping.

No functional changes.
@pmatilai pmatilai marked this pull request as ready for review November 22, 2024 08:35
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