Changeset d98496d


Ignore:
Timestamp:
03/31/2023 05:45:36 PM (13 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, bdubbs/gcc13, multilib, renodr/libudev-from-systemd, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
b57a3ba
Parents:
38eab97
Message:

gen-changelog: Mark security fix correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gen-changelog.py

    r38eab97 rd98496d  
    7373            pkg = pkg[:pos]
    7474        tic = fields[0]
    75         sec = len(fields) >= 3 and fields[2].startswith("high")
     75        if len(fields) >= 3 and fields[2].startswith("high"):
     76            security.add(pkg)
    7677        ticket[pkg] = tic
    77         security.add(pkg)
    7878
    7979print("Plain Text:")
     
    9696        print('        <listitem>')
    9797        pkgver = i + "-" + expand_entity(ent, i + "-version")
    98         out = '          <para>[' + name + '] - ' + act + pkgver + "."
     98        out = '          <para>[' + name + '] - ' + act + pkgver
     99        if pkgver in security:
     100            out += " (security fix)"
     101        out += "."
    99102        if pkgver in ticket:
    100103            out += "  Fixes\n          "
Note: See TracChangeset for help on using the changeset viewer.