small misc fixes
Hi, attached are three small no brainer fixes I'd like to apply, please confirm :) cheers, Holger Index: lib/python/bugs.py === --- lib/python/bugs.py (Revision 28738) +++ lib/python/bugs.py (Arbeitskopie) @@ -886,8 +886,9 @@ return (%s-%02d-%02d % (year, month, int(day)), name, desc) def finishBug(self, bug): +# FIXME: it seems wrong to hardcode the testing name here... # Convert all package notes to notes for etch (testing). -testing = debian_support.internRelease(etch) +testing = debian_support.internRelease(jessie) for n in bug.notes: if n.release is None: self.raiseSyntaxError( Index: lib/python/security_db.py === --- lib/python/security_db.py (Revision 28738) +++ lib/python/security_db.py (Arbeitskopie) @@ -424,7 +424,7 @@ return 999 self.db.createscalarfunction(urgency_to_number, urgency_to_number, 1) -releases = ['potato', 'woody', 'sarge', 'etch', 'lenny', 'squeeze', 'wheezy', 'sid'] +releases = ['potato', 'woody', 'sarge', 'etch', 'lenny', 'squeeze', 'wheezy', 'jessie', 'sid'] def release_to_number(u): try: return releases.index(u) Index: bin/tracker_service.py === --- bin/tracker_service.py (Revision 28738) +++ bin/tracker_service.py (Arbeitskopie) @@ -624,7 +624,7 @@ H2('Security announcements'), make_table(gen_bug_list(self.db.getDSAsForSourcePackage (self.db.cursor(), pkg)), -caption=('DSA', 'Description'), +caption=('DSA / DLA', 'Description'), replacement='No known security announcements.') ]) signature.asc Description: This is a digitally signed message part.
Re: small misc fixes
On Fri, September 12, 2014 15:14, Holger Levsen wrote: Hi, On Freitag, 12. September 2014, Holger Levsen wrote: attached are three small no brainer fixes I'd like to apply, please confirm thanks to Thijs, this diff even got smaller and better, see attached. I've verified that the code still works nicely. May I commit? (And test git-svn committing... *lalala*) Looks good to me. Personally, I'd be fine with you just committing your stuff. People will be looking at commit messages anyway. And in case of trouble things are easily rolled back... Thijs -- To UNSUBSCRIBE, email to debian-security-tracker-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/f431f11208e9047827d2952d01cf1bb0.squir...@aphrodite.kinkhorst.nl
Re: small misc fixes
Hi, On Freitag, 12. September 2014, Thijs Kinkhorst wrote: Looks good to me. I've commited these now. Personally, I'd be fine with you just committing your stuff. People will be looking at commit messages anyway. And in case of trouble things are easily rolled back... I could do that, but would like to have an ack from other people here first, mostly Florian. Raphael suggested me to post patches to the list first, so thats why I'm doign this atm... cheers, Holger signature.asc Description: This is a digitally signed message part.
Re: small misc fixes
Hi Holger, On Fri, Sep 12, 2014 at 03:14:57PM +0200, Holger Levsen wrote: Hi, On Freitag, 12. September 2014, Holger Levsen wrote: attached are three small no brainer fixes I'd like to apply, please confirm thanks to Thijs, this diff even got smaller and better, see attached. I've verified that the code still works nicely. May I commit? (And test git-svn committing... *lalala*) Thanks for posting the diff. I have activated the changes for the security-tracker, so they are live now. Regards, Salvatore -- To UNSUBSCRIBE, email to debian-security-tracker-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140912150026.GA24295@eldamar.local