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

Neal Gompa (ニール・ゴンパ) notifications at github.com
Thu Aug 1 21:05:21 UTC 2019


> Sorry, I don't understand the question. The buildtime value is an actual value of package RPMTAG_BUILDTIME. Within packages of one branch (the branch name is stored in RPMTAG_DISTTAG with some other metainformation) ALT rpm compares buildtime of packages with the same NEVR, youngest package win. It was implemented years ago but never had used in ALT repos (branches) before RPMTAG_DISTTAG was used. If packages with same NEVR have different brachname values stored in RPMTAG_DISTTAG, rpm deside which package newer based on brachname.

`RPMTAG_BUILDTIME` is recorded from the machine that builds it. In addition, I'm not sure it's sane for repositories to contain multiple packages of the same NEVRD with different build-times and consider them unique. There's a loss of obviousness, unless you're encoding the time in the package filename too.

But again, I don't think that kind of precision is required or desired. It makes reasoning RPM's behavior from empirical, obviously presented information much harder.

-- 
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#issuecomment-517457915
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190801/e0cde86e/attachment.html>


More information about the Rpm-maint mailing list