[Rpm-maint] [rpm-software-management/rpm] Handle DistTag (#594)

wladmis notifications at github.com
Fri Nov 9 18:07:20 UTC 2018


wladmis commented on this pull request.



> @@ -731,13 +731,14 @@ int rpmdbCountPackages(rpmdb db, const char * name)
 }
 
 /**
- * Attempt partial matches on name[-version[-release]][.arch] strings.
+ * Attempt partial matches on name[-version[-release]][/disttag][.arch] strings.

I decided to use `/` because it does not make collision with other part of NEVRA, and it is easy to parse (see the code).

@ignatenkobrain  you really mean `N at D:E-V-R.A`? It breaks backward compatibility. More sane is `N[@D]-[[E:][V[-R]]][.A]`. But I would prefer to stay with my proposal for a while.

@Conan-Kudo do you have example where `N-E:V-R-D.A` is using?

-- 
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/pull/594#discussion_r232342768
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20181109/9b53b9a8/attachment.html>


More information about the Rpm-maint mailing list