V Tue, Jun 21, 2022 at 11:58:02AM +0200, Pierre-Yves Chibon napsal(a): > On Tue, Jun 21, 2022 at 12:27:57AM +0200, Fabio Valentini wrote: > > There's currently a 100% foolproof way to parse NEVRs into their > > components, because there are *always* two "-" separators (when > > counting from the end) that separate "name", "epoch:version", and > > "release" (i.e. you can do nevr.rsplit("-", 2) in Python, and you get > > 100% correct results for 100% of packages in Fedora repositories). > > That is already broken today with modules where the stream which is included in > the name can have '-' in them. > I believe that the hyphen is replaced with an underscore when building a modular package. -- Petr
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure