This script is another attempt at pulling RHN errata into spacewalk. I have used the other out there and found that they didn't do what I wanted. My hit list was as follows:

- From http://lists.centos.org/pipermail/centos-announce pull the monthly digest down to pull out all of the advisory numbers - Log into RHN and use the xmlrpc api to pull the details of each erratum - Push the erratum into spacewalk using the xmlrpc api. This should be pushed dynamically rather then needing a configuration file


The items that I feel are still outstanding and plan to work on:

- Currently the script publishs the errata to all channels. The next iteration should publish only to channels where the rpm file exists. - The script does not check if erratum is already published, it just makes the attempt to publish it again (it will silently fail if the erratum is already there uploaded). Not sure what the speed gain will be checking for errata on the local spacewalk server as opposed to just trying to publish, if it is negligible this will not be addressed. - Keywords are currently just the list of packages. This will change to be the keywords from RHN. - Multithread the app. Not sure I really care about this, but someone brought it up so I may look into it.


The project is hosted on sourceforge at http://rhn2spacewalk.sourceforge.net/

It requires:

perl-Frontier-RPC
perl-List-MoreUtils

Additionally I used perl-5.8.8-32 so it had the following built in:

Getopt::Long
Switch


Let me know what you think

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to