I've created a tag I've imported various packages including several kernels
ovs-2.1/kernel-2.4.21-52.0.0.0.2.EL.src.rpm ovs-2.1/kernel-2.6.18-8.1.6.0.18.el5.src.rpm ovs-2.1/kernel-2.6.9-42.0.10.2.3.EL.src.rpm ovs-2.1/kernel-2.6.9-42.32.0.0.4.EL.src.rpm
when I look at latest-by-tag I get kernel-2.6.9-42.32.0.0.4.EL instead of kernel-2.6.18-8.1.6.0.18.el5 So I'm wondering if the koji code is simply making a character by character comparison
ie it's seeing 2.6.1 vs 2.6.9
(this is using koji-1.2.6) Whats my option here? block-pkg?
Phil =--=
On Fri, 2008-09-12 at 17:45 +0100, Bryce wrote:
when I look at latest-by-tag I get kernel-2.6.9-42.32.0.0.4.EL instead of kernel-2.6.18-8.1.6.0.18.el5 So I'm wondering if the koji code is simply making a character by character comparison
ie it's seeing 2.6.1 vs 2.6.9
The last tagged == latest. Koji does not go by n-v-r, precisely so that you could use tagging to back down a version or roll back a version. The last tagged build always wins.
Jesse Keating wrote:
On Fri, 2008-09-12 at 17:45 +0100, Bryce wrote:
when I look at latest-by-tag I get kernel-2.6.9-42.32.0.0.4.EL instead of kernel-2.6.18-8.1.6.0.18.el5 So I'm wondering if the koji code is simply making a character by character comparison
ie it's seeing 2.6.1 vs 2.6.9
The last tagged == latest. Koji does not go by n-v-r, precisely so that you could use tagging to back down a version or roll back a version. The last tagged build always wins
So whats happened is that when I was bootstrapping the tag, it tagged them in the order that 'ls' came across them? Ok, that seems fair. [root@emerald export]# ls ovs-2.1/kern*src.rpm ovs-2.1/kernel-2.4.21-52.0.0.0.2.EL.src.rpm ovs-2.1/kernel-2.6.18-8.1.6.0.18.el5.src.rpm ovs-2.1/kernel-2.6.9-42.0.10.2.3.EL.src.rpm ovs-2.1/kernel-2.6.9-42.32.0.0.4.EL.src.rpm <-- last in list, ergo last to be tagged, and thus the winner.
Phil (victim of another gotcha) =--=
Bryce wrote:
when I look at latest-by-tag I get kernel-2.6.9-42.32.0.0.4.EL instead of kernel-2.6.18-8.1.6.0.18.el5 So I'm wondering if the koji code is simply making a character by character comparison
Note that latest-by-tag is an odd and misleading report that was submitted by a developer. I would not it. Use latest-pkg or list-tagged --latest instead.
buildsys@lists.fedoraproject.org