[katello-devel] Dependency calculation

Justin Sherrill jsherril at redhat.com
Tue Jan 10 01:33:11 UTC 2012


On 01/09/2012 07:38 AM, Bryan Kearney wrote:
> On 01/09/2012 05:43 AM, Tomas Strachota wrote:
>> Hi,
>> two questions about dependency calculation came to my mind when I was
>> working on some bugs around changesets:
>>
>> 1) We currently calculate only first level of dependencies and don't
>> dive deeper into the dependency tree. Is this behavior intended? I would
>> expect it to calculate all dependencies recursively.
>
> I would assume so, yes.
+1
>
>>
>> 2) What is the best approach in a situation when a version of dependent
>> package has already been promoted? I can see 3 options:
>> a) include all versions of the package except the promoted one(s)
>> b) include only the latest version of the package if it has not been
>> promoted yet
>> c) don't include the dependent package in such situation at all
>
> +1 for B.

+1 too,  My opinion is we should behave as closely to yum as possible.  
If a package requires foo >= 1.0  and  foo greater than or equal to 1.0 
doesn't already exist, promote the newest.
>
> -- bk
>
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list