summaryrefslogtreecommitdiffstats
path: root/bin/merge-cve-files
Commit message (Collapse)AuthorAgeFilesLines
* merge-cve-files: further simplify merge_notesEmilio Pozuelo Monfort2023-03-271-13/+9
|
* merge-cve-files: simplify merge_notesEmilio Pozuelo Monfort2023-03-271-18/+9
| | | | | | It's just appending the new string annotations to the current annotations, with special care not to add them if they are already there (probably needed by grab-cve-in-fix or update-vuln).
* merge-cve-files: don't return the modified listEmilio Pozuelo Monfort2023-03-271-7/+5
| | | | | | We no longer get a tuple, so there's no need to convert it to a list and return it. The method just merges the annotation into the received annotations.
* sectracker.parsers: make cvelist et al return a list of BugsEmilio Pozuelo Monfort2023-03-271-10/+2
|
* merge-cve-files: replace the annotations directlyEmilio Pozuelo Monfort2023-03-271-2/+1
| | | | | Without creating a new object. Also since we're not creating new objects, there's no need to recreate the data list.
* merge-cve-files: don't create a new Bug objectEmilio Pozuelo Monfort2023-03-271-7/+7
| | | | | Replace the bug's annotations instead now that we can modify the object.
* merge-cve-files: simplify extra string notesEmilio Pozuelo Monfort2023-03-271-13/+9
| | | | | The notes dict is only going to contain notes for the current CVE, so we can simply keep and pass the list.
* merge-cve-files: fix crash when there's an experimental tagEmilio Pozuelo Monfort2023-03-201-0/+7
| | | | | | | | | | | | | | | | | | | | If CVE/list has a CVE such as: CVE-2023-1234 [experimental] - foo 1.0-1 - foo 1.0-2 And we attempt to fix an annotation such as CVE-2023-1234 [bullseye] - foo 0.1-1+deb11u1 that will crash when we are iterating over the experimental annotation as next_annotation would be the sid one with release==None, and we would be comparing internRelease(bullseye) with internRelease(None), which is not supported. This is happening with the current data/next-point-update.txt
* Allow merge-cve-files to let RESERVED throughNeil Williams2022-02-151-1/+8
| | | | | | | Avoid merge-cve-files stumbling over FlagAnnotations like RESERVED and REJECTED. Also add code to tidy up the .xpck files that can be generated by the merge process.
* Update grab-cve-in-fix for known examplesNeil Williams2022-01-271-4/+6
| | | | | | | | | | Support catching errors in the d.changelog Add support for forcing a specific version Fix typo in new support in bin/merge-cve-files Update support in update-vuln to insert new PackageAnnotations in specific order.
* Add support for merging NOTE: StringAnnotationsNeil Williams2022-01-271-1/+46
|
* merge-cve-files: fix variable name in assertion messageEmilio Pozuelo Monfort2021-05-141-1/+1
| | | | And slightly improve the message while at it.
* lts: take glib2.0Emilio Pozuelo Monfort2021-02-181-1/+18
|
* merge-cve-files: support replacing main (sid) annotationsEmilio Pozuelo Monfort2021-02-031-9/+16
|
* Add a script to merge two CVE filesEmilio Pozuelo Monfort2020-12-211-0/+73
It currently supports the necessary annotations to automatically merge the point release lists.

© 2014-2024 Faster IT GmbH | imprint | privacy policy