<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Andrei,<div><br></div><div>This package parses not correct.</div><div>Take this: <a href="https://centos.pkgs.org/7/nux-dextop-x86_64/html2text-1.3.2a-14.el7.nux.x86_64.rpm.html">https://centos.pkgs.org/7/nux-dextop-x86_64/html2text-1.3.2a-14.el7.nux.x86_64.rpm.html</a><br><br><div>Von meinem iPad gesendet<div><br></div><div>Thomas Müller</div><div><br></div><div><br></div></div><div><br>Am 14.08.2018 um 16:32 schrieb Andrei Popenta <<a href="mailto:andrei.popenta@visma.com">andrei.popenta@visma.com</a>>:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi Robert,<div><br></div><div>Thanks for your reply.<br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I tried the process but it's not quite working for me.<br><br>I've executed getDebianAnnouncements.py which downloaded the announcements in /tmp/debian_security/</div><div>Next I run parseDebian.py which outputs:</div><div><div>Processing patch 1/542 (file: 2018-msg00099.html)</div><div>Message not parseable</div><div>[...]</div></div><div><div>Processing patch 542/542 (file: 2018-msg00035.html)</div><div>Message not parseable</div><div>No security announcements available or parseable. Bye.</div></div><div><br></div><div>Here is the content of one of the messages(2018-msg00200.html):  <a href="https://pastebin.com/ktinBPLb">https://pastebin.com/ktinBPLb</a></div></div></div></div></div></div></div></div></div></div></div><div>Has my html file been converted as expected or not?</div><div>I have python2-html2text version 2016.9.19 release 1.el7 installed.</div><div><br></div><div>Thanks, </div><div>Andrei</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, 13 Aug 2018 at 17:39, Robert Paschedag <<a href="mailto:robert.paschedag@web.de">robert.paschedag@web.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-family:Verdana;font-size:12.0px"><div> 
<div>
<div>Sorry.....copy and paste error.</div>

<div> </div>

<div>The link to @phil site is <a href="http://www.devops-blog.net/" target="_blank">http://www.devops-blog.net/</a></div>

<div> </div>

<div>Look for spacewalk tags.</div>

<div> </div>

<div>Robert</div>

<div> </div>

<div name="quote" style="margin:10px 5px 5px 10px;padding:10px 0 10px 10px;border-left:2px solid #c3d9e5;word-wrap:break-word">
<div style="margin:0 0 10px 0"><b>Gesendet:</b> Montag, 13. August 2018 um 16:31 Uhr<br>
<b>Von:</b> "Robert Paschedag" <<a href="mailto:robert.paschedag@web.de" target="_blank">robert.paschedag@web.de</a>><br>
<b>An:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Cc:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Betreff:</b> Aw: [Spacewalk-list] debian errata to spacewalk</div>

<div name="quoted-content">
<div style="font-family:Verdana;font-size:12.0px">
<div> 
<div>
<div>Based on the excellent work of @philicious (and others, of course) (see <a href="https://github.com/rpasche/spacewalk-scripts" target="_blank">https://github.com/rpasche/spacewalk-scripts</a>),</div>

<div>I was able to create several scripts to create erratas for debian.</div>

<div> </div>

<div>See my repo (or @philicious) at <a href="https://github.com/rpasche/spacewalk-scripts" target="_blank">https://github.com/rpasche/spacewalk-scripts</a> (forked from @phil) or <a href="https://github.com/philicious/spacewalk-scripts" target="_blank">https://github.com/philicious/spacewalk-scripts</a></div>

<div> </div>

<div>getDebianAnnouncements.py: This parses the HTML files from <a href="http://security.debian.com" target="_blank">security.debian.com</a> and saves them for later parsing</div>

<div>parseDebian.py: parses the announcements and creates one XML file with errata structure.</div>

<div>errata-import.py: uses the XML file to finally create "errata" within spacewalk and link the packages.</div>

<div> </div>

<div>Edit: I just saw, that @phils repo is more up-to-date as I sent him my "debian" scripts so there is *one* repo with all</div>

<div>"debian/ubuntu" specific stuff.</div>

<div> </div>

<div>Robert</div>

<div> </div>

<div style="margin:10.0px 5.0px 5.0px 10.0px;padding:10.0px 0 10.0px 10.0px;border-left:2.0px solid rgb(195,217,229)">
<div style="margin:0 0 10.0px 0"><b>Gesendet:</b> Montag, 13. August 2018 um 15:30 Uhr<br>
<b>Von:</b> "Andrei Popenta" <<a href="mailto:andrei.popenta@visma.com" target="_blank">andrei.popenta@visma.com</a>><br>
<b>An:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>
<b>Betreff:</b> [Spacewalk-list] debian errata to spacewalk</div>

<div>
<div>Hi guys, 
<div> </div>

<div>I am interested to know what methods do you use to get debian errata into spacewalk.</div>

<div> </div>

<div>I was relying on the xml and script provided by <a href="http://oserrata.atix.de/" target="_blank">http://oserrata.atix.de/</a> and <a href="http://defs.steve-meier.de/" target="_blank">http://defs.steve-meier.de/</a> , but the xml hasn't been updated since 31st of May.</div>

<div> </div>

<div>debian doesn't publish the package name in their DSA emails, so I was wondering how can I identify the right packages affected by security updates in order to write a script for errata import.</div>

<div> </div>

<div>regards,</div>

<div>Andrei</div>
</div>
_______________________________________________ Spacewalk-list mailing list <a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>

_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Spacewalk-list mailing list</span><br><span><a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a></span><br><span><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></span></div></blockquote></div></body></html>