Tag inheritance and "masked" newer builds

Oliver Falk oliver at linux-kernel.at
Wed Jan 19 16:46:08 UTC 2011


On 01/19/2011 05:34 PM, Alan Franzoni wrote:
> Hello,
> we've just found out a behaviour we'd like to change in koji.
>
> Simple case:
>
> two tags: child and parent, with child (obviously) inheriting from parent.
>
>
> builds:
> foopkg-1.0.0-1 is tagged 'child'
> foopkg-2.0.0-1 is tagged 'parent'
>
>
> If I list the builds in the 'child' tag, setting inherited and latest,
> i get foopkg-1.0.0-1 - it seems that koji resorts to inheritance only
> if a build for a package name does not exist in the required tag.
>
> Is there any way to prevent this from happening, and get the "truly
> latest" build for a package in the 'child' tag?

you don't want that. since parent will likely include older libs. eg. 
you build foopkg in parent against libblah-1.0, while in child 
libblah-2.0 exists. and foopkg from parent will - of course - then not 
work in child, because it was built against libblah-1.0, that is not 
available in child...

you know what i mean?

or let me describe it differently: you don't want packages build in 
parent tag to break you child tag...

-of


More information about the buildsys mailing list