Merge ~litios/ubuntu-cve-tracker:aliases-v2 into ubuntu-cve-tracker:master
Status: | Merged |
---|---|
Merged at revision: | 6429624c17b76980ce95094140c2527fda8b1def |
Proposed branch: | ~litios/ubuntu-cve-tracker:aliases-v2 |
Merge into: | ubuntu-cve-tracker:master |
Diff against target: |
264 lines (+116/-39) 5 files modified
scripts/active_edit (+12/-4) scripts/check-cves (+18/-1) scripts/check-syntax (+24/-24) scripts/check-syntax-fixup (+29/-4) scripts/source_map.py (+33/-6) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alex Murray | Approve | ||
Review via email: mp+437199@code.launchpad.net |
Description of the change
This MR is to use aliases the other way around as it is right now:
* supported.txt will contain the name of the package in the subproject
* aliases.yaml will contain the aliases for the package name in Ubuntu
Example:
$ cat subprojects/
cryptography
$ cat subprojects/
---
cryptography: [python-
When doing triage, we want to make the process as easy as possible; therefore, the tool will expect that the user always provides the Ubuntu name of the package. It will warn the user if using the subproject name instead of the Ubuntu one (if it exists), as this will break any other aliases in other subprojects.
In case the package doesn't exist in Ubuntu, the tool will warn the user that it exists in a subproject and the person doing triage can provide the subproject name(s) so the CVE gets created.
Example output with check-cves and check-syntax: https:/
It seems like the preview diff is broken, all the changes to CVEs are already merged in master.