Created
August 14, 2015 10:30
-
-
Save pandujar/40ca4c07f37ebf040b4b to your computer and use it in GitHub Desktop.
test xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@spacewalk errata]# wget https://gist.githubusercontent.com/philicious/c8d714c3e2e03a511fc3/raw/4194523819f67543af9032541a40af9c096afef6/gistfile1.txt | |
--2015-08-14 10:26:01-- https://gist.githubusercontent.com/philicious/c8d714c3e2e03a511fc3/raw/4194523819f67543af9032541a40af9c096afef6/gistfile1.txt | |
Resolving gist.githubusercontent.com (gist.githubusercontent.com)... 23.235.47.133 | |
Connecting to gist.githubusercontent.com (gist.githubusercontent.com)|23.235.47.133|:443... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 21714 (21K) [text/plain] | |
Saving to: ‘gistfile1.txt’ | |
100%[================================================================================================================================================================>] 21,714 --.-K/s in 0s | |
2015-08-14 10:26:01 (155 MB/s) - ‘gistfile1.txt’ saved [21714/21714] | |
[root@spacewalk errata]# mv gistfile1.txt ubuntu-errata.xml | |
[root@spacewalk errata]# cd .. | |
[root@spacewalk spacewalk-errata]# python errata-import.py | |
[+] Connected to http://localhost/rpc/api | |
[+] Creating inventory from Server: | |
[+] Retrieving the list of available channels | |
[-] Excluding channel: precise | |
[+] Including channel: precise-backports | |
[+] Including channel: precise-security | |
[+] Including channel: precise-universe-backports | |
[-] Excluding channel: precise-universe-main | |
[+] Including channel: precise-universe-security | |
[+] Including channel: precise-universe-updates | |
[+] Including channel: precise-updates | |
[+] Including channel: precise-yammer | |
[+] Retrieving Package List from Channel: precise-backports | |
[+] Retrieving Package List from Channel: precise-security | |
[+] Retrieving Package List from Channel: precise-universe-backports | |
[+] Retrieving Package List from Channel: precise-universe-security | |
[+] Retrieving Package List from Channel: precise-universe-updates | |
[+] Retrieving Package List from Channel: precise-updates | |
[+] Retrieving Package List from Channel: precise-yammer | |
[+] Retrieving data from /opt/spacewalk-errata/errata/ubuntu-errata.xml | |
[+] USN-2677-1 doesn't exist: analyzing | |
[-] No related packages found: skipping | |
[+] USN-2703-1 doesn't exist: analyzing | |
[-] No related packages found: skipping | |
[+] USN-2705-1 doesn't exist: analyzing | |
[-] No related packages found: skipping | |
[-] USN-2704-1 already exist: skipping | |
[+] USN-2706-1 doesn't exist: analyzing | |
[-] No related packages found: skipping | |
[-] USN-2707-1 already exist: skipping | |
[-] USN-2702-1 already exist: skipping | |
[+] USN-2702-2 doesn't exist: analyzing | |
[+] Found 2 packages related: Publishing | |
[+] Creating errata USN-2702-2: | |
{'date': '8/14/15', 'advisory_name': 'USN-2702-2', 'advisory_type': 'Security Advisory', 'id': 1038, 'advisory_synopsis': 'Ubufox update'} | |
[-] Clossing Session on http://localhost/rpc/api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment