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

Extended FileInfo attributes #18

Open
Estefycp opened this issue Oct 4, 2019 · 2 comments
Open

Extended FileInfo attributes #18

Estefycp opened this issue Oct 4, 2019 · 2 comments

Comments

@Estefycp
Copy link

Estefycp commented Oct 4, 2019

Hi, I notice the fileinfo doesnt contain the flags isconfig, isdoc, rdev.
If I need to get them do I just need to get the right tag?
How can I now what is the meaning of each tag or how to calculate it?

@cavaliercoder
Copy link
Collaborator

Hey, I'm not sure the answer to your question so will have to look into it. Admittedly, have little time available while traveling and working but will try make this a priority.

If you find an answer, PRs are welcome :)

RPM tags are defined in the original source here: https://github.com/rpm-software-management/rpm/blob/master/lib/rpmtag.h#L61

Figuring out what they mean and how they are used is unfortunately, difficult.

@cavaliercoder cavaliercoder changed the title rpm dump Extended FileInfo attributes Oct 8, 2019
@cavaliercoder
Copy link
Collaborator

#20 introduced flags for these items. I may add IsConfig, etc. methods for convenience.

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

No branches or pull requests

2 participants