[Spacewalk-list] ya-errata-import: EPELerrata support added

Frank Mikkelsen Blohmé frank.mikkelsen.blohme at axis.com
Wed Mar 20 16:32:16 UTC 2013


Hi Franky!
I'm trying to feed my Spacewalk 1.8 with EPEL errata using your ya-errata-import script downloaded from github.
I'm getting errors when running the script. Please see the attached log file.

The command line:
<path-to>/ya-errata-import.pl --epel_errata /var/www/repo/mirrors/fedoraepel/errata-5-64.xml --server 127.0.0.1 --channel fedora_epel-rhel5srvr64 --os-version 5 --spacewalk-user <userID> --spacewalk-pass <passwd> --publish --redhat

The errata-5-64.xml file is downloaded from http://ftp.df.lth.se/pub/fedora-epel/5/x86_64/repodata/updateinfo.xml.gz and uncompressed using unzip.

Best regards

Frank Mikkelsen Blohmé
Systems Specialist Linux - IT Group
Axis Communications AB

-----Original Message-----
From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Franky Van Liedekerke
Sent: den 12 februari 2013 10:40
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] ya-errata-import: EPELerrata support added

Hi all,

I though this might interest some people: I added EPEL errata support to my errata import script called 'ya-errata-import', also with optional data range import (as for redhat errata).
To be more generic, I changed the following 3 parameters:

- from: --redhat-startfromprevious to: --startfromprevious
- from: --redhat-startdate to: --startdate
- from: --redhat-enddate to: --enddate

Find it here, together with an example shell file for epel import:

https://github.com/liedekef/spacewalk_scripts/

Enjoy, and feedback is welcome!

Franky

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ya-errata-import.log
Type: application/octet-stream
Size: 845 bytes
Desc: ya-errata-import.log
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130320/66c296f2/attachment.obj>


More information about the Spacewalk-list mailing list