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

Update list of deprecated / obsolete RPM tags #2327

Open
dralley opened this issue Dec 20, 2022 · 3 comments
Open

Update list of deprecated / obsolete RPM tags #2327

dralley opened this issue Dec 20, 2022 · 3 comments

Comments

@dralley
Copy link
Contributor

dralley commented Dec 20, 2022

There are a number of RPM tags that are no longer useful and are essentially deprecated which have not yet been officially marked as such in documentation or in code comments.

Some examples:

@pmatilai
Copy link
Member

pmatilai commented Jan 12, 2023

Of those, only RPMSIGTAG_PGP5 is actually obsolete. The signature length is just a stupid tag and for that the docs need to be updated.

@dralley
Copy link
Contributor Author

dralley commented Apr 2, 2023

Well, I did include "deprecated". I think that still applies?

IMO if a tag is "stupid and pointless" and doesn't need to be written then it is effectively deprecated and should be documented as such, yes?. My main point is to just have it documented somewhere.

There's also a bunch of tags which could be present in either header, but really ought to be in only one of the headers, and that's not very clearly documented right now either. i.e. RPMSIGTAG_* tag aliases which it seems shouldn't be used as such.

@dralley
Copy link
Contributor Author

dralley commented Apr 5, 2023

RPMTAG_CHANGELOG doesn't seem to be used anywhere anymore, presumably replaced by the combo (RPMTAG_CHANGELOGNAME, RPMTAG_CHANGELOGTIME, RPMTAG_CHANGELOGTEXT)

ikaneshiro added a commit to ctrliq/beskar that referenced this issue Mar 12, 2024
This header is deprecated and unused by default in newer versions of rpm:
  rpm-software-management/rpm#2327
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants