mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
gen-changelog: Mark security fix correctly
This commit is contained in:
parent
38eab97b1e
commit
d98496d20c
@ -72,9 +72,9 @@ for i in tsv:
|
|||||||
if pos > 0:
|
if pos > 0:
|
||||||
pkg = pkg[:pos]
|
pkg = pkg[:pos]
|
||||||
tic = fields[0]
|
tic = fields[0]
|
||||||
sec = len(fields) >= 3 and fields[2].startswith("high")
|
if len(fields) >= 3 and fields[2].startswith("high"):
|
||||||
ticket[pkg] = tic
|
|
||||||
security.add(pkg)
|
security.add(pkg)
|
||||||
|
ticket[pkg] = tic
|
||||||
|
|
||||||
print("Plain Text:")
|
print("Plain Text:")
|
||||||
for (s, act) in [(upd, "Update to "), (add, "Add ")]:
|
for (s, act) in [(upd, "Update to "), (add, "Add ")]:
|
||||||
@ -95,7 +95,10 @@ for (s, act) in [(upd, "Update to "), (add, "Add ")]:
|
|||||||
for i in s:
|
for i in s:
|
||||||
print(' <listitem>')
|
print(' <listitem>')
|
||||||
pkgver = i + "-" + expand_entity(ent, i + "-version")
|
pkgver = i + "-" + expand_entity(ent, i + "-version")
|
||||||
out = ' <para>[' + name + '] - ' + act + pkgver + "."
|
out = ' <para>[' + name + '] - ' + act + pkgver
|
||||||
|
if pkgver in security:
|
||||||
|
out += " (security fix)"
|
||||||
|
out += "."
|
||||||
if pkgver in ticket:
|
if pkgver in ticket:
|
||||||
out += " Fixes\n "
|
out += " Fixes\n "
|
||||||
out += "<ulink url='&lfs-ticket-root;" + ticket[pkgver] + "'>#"
|
out += "<ulink url='&lfs-ticket-root;" + ticket[pkgver] + "'>#"
|
||||||
|
Loading…
Reference in New Issue
Block a user