[Git][security-tracker-team/security-tracker][master] parsers: include advisory date in the header description
Emilio Pozuelo Monfort (@pochu)
pochu at debian.org
Mon Sep 22 10:06:52 BST 2025
Emilio Pozuelo Monfort pushed to branch master at Debian Security Tracker / security-tracker
Commits:
65d51e51 by Emilio Pozuelo Monfort at 2025-09-22T11:04:37+02:00
parsers: include advisory date in the header description
- - - - -
1 changed file:
- lib/python/sectracker/parsers.py
Changes:
=====================================
lib/python/sectracker/parsers.py
=====================================
@@ -394,7 +394,7 @@ def dsalist(path, f):
def finish(header, headerlineno, anns, diag):
d, m, y, name, desc = header
_checkrelease(anns, diag, "DSA")
- return Bug(path, Header(headerlineno, name, None), list(anns))
+ return Bug(path, Header(headerlineno, name, f'{y}-{m}-{d}'), list(anns))
return _parselist(path, f, parseheader, finish)
@_xpickle.loader("DTSA" + FORMAT)
@@ -427,7 +427,7 @@ def dlalist(path, f):
def finish(header, headerlineno, anns, diag):
d, m, y, name, desc = header
_checkrelease(anns, diag, "DLA")
- return Bug(path, Header(headerlineno, name, None), list(anns))
+ return Bug(path, Header(headerlineno, name, f'{y}-{m}-{d}'), list(anns))
return _parselist(path, f, parseheader, finish)
@_xpickle.loader("EXT" + FORMAT)
@@ -443,5 +443,5 @@ def extadvlist(path, f):
def finish(header, headerlineno, anns, diag):
d, m, y, name, desc = header
_checkrelease(anns, diag, "EXT")
- return Bug(path, Header(headerlineno, name, None), list(anns))
+ return Bug(path, Header(headerlineno, name, f'{y}-{m}-{d}'), list(anns))
return _parselist(path, f, parseheader, finish)
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/65d51e51fa609169ece9dbae4f627e9a1d2a5959
--
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/65d51e51fa609169ece9dbae4f627e9a1d2a5959
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20250922/9c4d2f35/attachment-0001.htm>
More information about the debian-security-tracker-commits
mailing list