[Rpm-maint] [rpm-software-management/rpm] RFE: Handle disttag (#589)
Jeff Johnson
notifications at github.com
Sun Nov 11 02:50:30 UTC 2018
And to be ultra pedantic for parsing a pathological string that has missing N, E, V, and A but explicit R and D, there would need to be two dashes in front of "release:disttag" from the rules I just described:
rpm --query -- --R:D
Yes this is a pathological corner case that assumes that missing/unspecified values are interpreted as matching any value.
But I can definitely foresee a need to query all packages with a given DistTag which would become
Rpm --query -- --:D
The ugly syntax can be hidden in various ways: what is important is that the underlying parser is fed a well formed unambiguous query string which can be matched against existing NEVRDA package identifiers with possible missing values to retrieve a set of packages of interest.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/589#issuecomment-437639173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181110/90b163dc/attachment-0001.html>
More information about the Rpm-maint
mailing list