FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 09-12-2008, 04:45 PM
Bryce
 
Default What exactly is 'latest'

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
=--=

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 09-12-2008, 05:54 PM
Jesse Keating
 
Default What exactly is 'latest'

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
Fedora -- Freedom˛ is a feature!
identi.ca: http://identi.ca/jkeating
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 09-12-2008, 06:20 PM
Bryce
 
Default What exactly is 'latest'

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)
=--=

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 09-12-2008, 06:42 PM
Mike McLean
 
Default What exactly is 'latest'

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.


--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 

Thread Tools




All times are GMT. The time now is 05:49 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org