[Spacewalk-list] CentOS Errata Script

Goff, Raal raal.goff at zettaserve.com
Tue Sep 1 23:52:11 UTC 2009


Hi Everyone,

Someone expressed interest in my hacked up version of the centos
errata script available here:

http://www.bioss.ac.uk/staff/davidn/spacewalk-stuff/

I've attached my version, but its really not that well done. I changed
it so that it will download messages for centos-announce from mail-archive.com
, then augment the data from RHN. It will also properly create errata
valid for multiple architectures. I think ive broken the other methods
of loading data in the process as well, so if you want those i suggest
you use the original script.

Just edit the config file to your liking, then run it using the
following:

./centos-errata.py -f scrape blah

You need any second argument since im lazy and didnt update the
arguments parsing parts of the script.

I doubt anyone will actually find this useful, but perhaps some of the
functions could be useful to someone who wanted to write a proper
script :)

-R



ZettaServe Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this email by mistake and delete this email from your system. Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. ZettaServe Pty Ltd accepts no liability for any damage caused by any virus transmitted by this email.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: centos-errata.cfg
Type: application/octet-stream
Size: 1178 bytes
Desc: centos-errata.cfg
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090902/05b0b752/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: centos-errata.py
Type: text/x-python-script
Size: 37944 bytes
Desc: centos-errata.py
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20090902/05b0b752/attachment.bin>


More information about the Spacewalk-list mailing list