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: [email protected] 
[mailto:[email protected]] On Behalf Of Franky Van Liedekerke
Sent: den 12 februari 2013 10:40
To: [email protected]
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
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Attachment: ya-errata-import.log
Description: ya-errata-import.log

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

Reply via email to