[Yum-devel] [Patch 1/4] Defining other repository types in yum

James Bowes jbowes at redhat.com
Mon Mar 20 20:27:20 UTC 2006


Patch Contents:

PackageSack refactors, including an abstract base class, and MetaSack, 
an PackageSack implementing the Composite pattern.

* made searchID private. No external code was using it, so it seemed to
   make sense for cleaning up the visible interface. Especially to not
   require it on subclasses.

* setCompatArches(foo) rather than sack.compatarchs = foo. This could
   also be done with setAttr, if people preferred.

These changes allow for multiple packageSacks, for instance, one per 
repository.

-James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: packageSack.patch
Type: text/x-patch
Size: 12441 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060320/b093d87f/attachment.bin 


More information about the Yum-devel mailing list