[Yum] Patches to backport yum2

javier at rediris.es javier at rediris.es
Tue Dec 23 12:02:44 UTC 2003


Hello,

I have patched yum 2.0.x to work with older RedHat versions, specifically
with rpm 4.0.4 and python 1.5.2. I've been working with the patched version
for a couple of weeks, and no problems have arised, except that groups
capabilities do not work (yet).

Besides some modifications due to python backport, which loses unicode support
and some += shortcuts (at yum2-python1_backport.patch), most of the work on
yum has been devoted to Rpm_Ts_Work class, which is modified to behave close to
the TransactionSet class of rpm 4.2 which is the core of Rpm_Ts_Work itself.

I have tested the patches against the new daily release (yum-20031222.tar.gz),
making a minor change, and I send them attached (I've been using 2.0.4 
release).
The order in which they are applied is
yum2-python1_backport.patch
yum2-repo_backport.patch
yum2-client_backport.patch
although the first one is quite independent.

At least on my case, it servers as perfect replacement of yum v1, and it might
help to 'close' the old branch, which is probably not widely used. Any reports
or opinions are wellcome.

							Javier Palacios


-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum2-python1_backport.patch
Type: application/x-patch
Size: 5875 bytes
Desc: yum2-python1_backport.patch
Url : http://lists.baseurl.org/pipermail/yum/attachments/20031223/dc6f8296/attachment-0003.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum2-repo_backport.patch
Type: application/x-patch
Size: 5359 bytes
Desc: yum2-repo_backport.patch
Url : http://lists.baseurl.org/pipermail/yum/attachments/20031223/dc6f8296/attachment-0004.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum2-client_backport.patch
Type: application/x-patch
Size: 8728 bytes
Desc: yum2-client_backport.patch
Url : http://lists.baseurl.org/pipermail/yum/attachments/20031223/dc6f8296/attachment-0005.bin 


More information about the Yum mailing list