Merge ~sahnaseredini/ubuntu-cve-tracker:amir-dev into ubuntu-cve-tracker:master

Proposed by Amir Naseredini
Status: Merged
Merged at revision: 2afc9db5f59eb91800c15bf10b5ed2b130a66950
Proposed branch: ~sahnaseredini/ubuntu-cve-tracker:amir-dev
Merge into: ubuntu-cve-tracker:master
Diff against target: 14 lines (+5/-1)
1 file modified
scripts/sync-from-eol.py (+5/-1)
Reviewer Review Type Date Requested Status
David Fernandez Gonzalez Approve
Review via email: mp+447881@code.launchpad.net

Commit message

made changes in order to keep the required information about the CVEs
after eol tasks of a non-LTS release

Description of the change

Currently, for the non-LTS release, we throw away the information
regarding the status of the CVEs in the process of EOL tasks. This
commit tries to keep them in the same manner that we keep the information
for the LTS releases.

To post a comment you must log in.
Revision history for this message
David Fernandez Gonzalez (litios) wrote :

LGTM! Thanks

review: Approve
Revision history for this message
Amir Naseredini (sahnaseredini) wrote :

Thanks for the review David.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/scripts/sync-from-eol.py b/scripts/sync-from-eol.py
2index 0599cf0..cf9b580 100755
3--- a/scripts/sync-from-eol.py
4+++ b/scripts/sync-from-eol.py
5@@ -93,4 +93,8 @@ for filename in cves:
6 else:
7 cve_lib.update_state(filename, src, opt.release, 'ignored', 'end of standard support, was %s' % (status[0]))
8 else:
9- cve_lib.update_state(filename, src, opt.release, 'ignored', 'end of life')
10+ status = data['pkgs'][src][opt.release]
11+ if status[1] != '':
12+ cve_lib.update_state(filename, src, opt.release, 'ignored', 'end of life, was %s [%s]' % (status[0], status[1]))
13+ else:
14+ cve_lib.update_state(filename, src, opt.release, 'ignored', 'end of life, was %s' % (status[0]))

Subscribers

People subscribed via source and target branches