[Yum-devel] [PATCH] Move protect-packages plugin into core, and fix some bugs in it

Seth Vidal skvidal at fedoraproject.org
Mon Apr 26 02:31:21 UTC 2010



On Sun, 25 Apr 2010, James Antill wrote:
>>
>> Why not just have a protected_packages = list of pkg names in
>> /etc/yum.conf?
>>
>> Just like we have with install_only pkgs, etc, etc?
>>
>> why have additional files AND dir for it?
>
> I thought it might be a good way to solve the python vs. python3
> problem. We could get the python package to ship
> an /etc/yum/protected.d/python file, and then as the package name
> changed they'd just update that.

I don't think that problem actually exists. We want to suddenly move in a 
release from protecting python to protecting python3 from erasure?

I don't think I buy it.

But if we're going to do this - rather than having to make our users guess 
which options are using what style.

I think I'm happier with this:

http://skvidal.fedorapeople.org/patches/yum-globdir-listoptions.patch

all ListOption and UrlListOptions can be file.d style by using a 
globdir: prefix

-sv



More information about the Yum-devel mailing list