Replies: 2 comments 1 reply
-
The first question that pops to my mind with rpm features: Did you ever see the concept being used in practice? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Filed an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
RPM has the concept of extension tags which do not exist within the header as entries in and of themselves, but rather they are constructed on the fly when requested if the user passed in the flags to allow them to be used.
https://github.com/rpm-software-management/rpm/blob/master/docs/manual/tags.md#extensions
These are basically just helpers which have been dropped into the same query system as the rest of the RPM tags.
Should we support these in a similar way, or should we split the functionality off into standalone functions? On one hand the standalone function approach is more easily documented and more idiomatic to use. On the other hand users who are porting code from C may have trouble understanding why they can fetch the values of certain tags from librpm but not from rpm-rs.
Beta Was this translation helpful? Give feedback.
All reactions