This is to let you know that I have just committed a few minor changes
to ryol (minor optimization of code) as well as some new files. The ones
of importance are: rpmcompare and mvoldrpms
The first, rpmcompare, takes a single directory name on the command line
and reports all occurrences of rpms that have multiple versions. You
have seen this before, but it is now split into an rpmutil.py package
and then a few lines of code in the main script.
The second script, mvoldrpms, takes two directory names, and if it finds
an old package in the first directory, it moves it to the second
directory. This is very useful for cleaning out old rpms that you don't
want cluttering a directory. Note, on some OSes, a mv across filesystems
does not work.
Obviously I need to add deloldrpms, but well, that is a bit more
dangerous, especially if my comparison screws up -- I'll add it later
when we have more experience with mvoldrpms.
Note, I do no checking to ensure that the directory names are valid, so
it will simply bomb if you make a typo. It *should* cause no harm.
Best regards, Kern
Get latest updates about Open Source Projects, Conferences and News.