[Yum-devel] a lot of api breaking, I think

Menno Smits menno-yum at freshfoo.com
Thu Jan 26 23:45:55 UTC 2006


> 1. suck it up, search through all our code and make the changes
> 2. figure out if the __str__ comparison in the repo object is enough to
> handle most of the comparisons needed.
> 3. define a new attribute in the package object called 'repo' and
> deprecate 'repoid' for use. Then, as we work through the code prune out
> all the references to packageobject.repoid
> 
> I kinda like 3 - even though it would make it a bit bigger for a little
> while.

 > What is everyone's thoughts?

I say do 3 but quickly change Yum to get rid of all repoid use 
internally. Cruft is bad. Of course there's lots of external stuff that 
probably uses repoid so maybe aim to get rid of it by version 2.6.

Menno




More information about the Yum-devel mailing list