On Tue, 2007-08-21 at 09:31 +0530, Debarshi 'Rishi' Ray wrote:
> Please find attached a patch against yum-3.2.2-3 to incorporate the
> persistent enable/disable of repositories by editing the .repo files.
> 
> This is done using the following two methods:
> YumRepository.enablePersistent(self)
> YumRepository.disablePersistent(self)
> 
> I have re-worked the patch to use iniparse, and repositories mentioned
> in yum.conf are now supported.
> 

You're making a bunch of changes to:

getReposFromConfig()

why?

For the purposes of your patch it doesn't seem like you'd need to do
that.

Can you explain that section a bit more?

especially things like:

-                    if thisrepo_age > repo_config_age:
-                        repo_config_age = thisrepo_age
+                    if thisrepo_age < repo_config_age:
+                        thisrepo_age = repo_config_age

thanks,
-sv


_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to