~alexmurray/ubuntu-cve-tracker:misc-cve-lib-and-check-syntax-cleanups

Last commit made on 2024-02-28
Get this branch:
git clone -b misc-cve-lib-and-check-syntax-cleanups https://git.launchpad.net/~alexmurray/ubuntu-cve-tracker
Only Alex Murray can upload to this branch. If you are Alex Murray please log in for upload directions.

Branch merges

Branch information

Name:
misc-cve-lib-and-check-syntax-cleanups
Repository:
lp:~alexmurray/ubuntu-cve-tracker

Recent commits

6225065... by Alex Murray

scripts/cve-mode.el: fix typo in docstring

Signed-off-by: Alex Murray <email address hidden>

Failed
[SUCCEEDED] unit-tests:0 (build)
[FAILED] check-cves:0 (build)
12 of 2 results
e96b7dc... by Alex Murray

scripts/check-syntax: less hacky way to find CVE when using --stdin

Signed-off-by: Alex Murray <email address hidden>

Failed
[SUCCEEDED] unit-tests:0 (build)
[FAILED] check-cves:0 (build)
12 of 2 results
3902619... by Alex Murray

scripts/check-syntax: add --stdin as a first class option

Also update cve-mode.el to use this

Signed-off-by: Alex Murray <email address hidden>

14182bf... by Alex Murray

scripts/check-syntax: hack to work better when invoked for /dev/stdin

the emacs flymake support for check-syntax invokes it using /dev/stdin as the
filename so make sure we can resolve this back to a real file when needed.

Signed-off-by: Alex Murray <email address hidden>

5fbacc1... by Alex Murray

scripts/cve_lib.py: warn when subprojects contain duplicate entries

Signed-off-by: Alex Murray <email address hidden>

cf7cff7... by Alex Murray

scripts/cve_lib.py: s/cve/cvefile/g

cvefile is a more appropriate name for this variable as it is the filename of
the cve, not the cve id itself

Signed-off-by: Alex Murray <email address hidden>

3c90192... by Alex Murray

scripts/cve_lib.py: encapsulate some logic in a function

Signed-off-by: Alex Murray <email address hidden>

fe6fa2f... by Alex Murray

scripts/cve_lib.py: don't load subprojects CVEs more than once

Signed-off-by: Alex Murray <email address hidden>

1123b38... by Alex Murray

scripts/check-cves-mode.el: UX improvements

- when scrolling to a CVE, put it at the bottom of the window to ensure we can
  see as much of the preceding description etc as possible
- when prompting for a priority etc try and make sure we don't inadvertently
  scroll the main window either

Signed-off-by: Alex Murray <email address hidden>

d819ec8... by Alex Murray

process_cves Wed

Signed-off-by: Alex Murray <email address hidden>