summaryrefslogtreecommitdiffstats
path: root/bin/check-new-issues
Commit message (Collapse)AuthorAgeFilesLines
* check-new-issues: Fix comment header for copyrightSalvatore Bonaccorso2024-01-251-0/+4
| | | | | | Make the copyright statement coplete. Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
* check-new-issues: don't exit when auto-setting nfuEmilio Pozuelo Monfort2023-10-261-1/+1
| | | | present_issue returns true to exit.
* check-new-issues: Define set_cve_nfu before using it for automatic processingSalvatore Bonaccorso2023-10-061-8/+8
| | | | | | | | When automatic NFU entry processing is enabled via the -a flag, then the processing will error out as set_cve_nfu is not known. Move the definition for set_cve_nfu upwards. Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
* check-new-issues: read the zip file after downloading itEmilio Pozuelo Monfort2023-10-051-4/+4
| | | | | This was working when the file had already been downloaded, but was broken if the file was not present in some code reorganization.
* bin/check-new-issues: add back fallback to NFU commandEmilio Pozuelo Monfort2023-10-051-2/+6
| | | | | If no explicit command is entered, it is assumed to be NFU. This adds back that compatibility with the Perl version.
* check-new-issues: keep blank line to skip to next issueEmilio Pozuelo Monfort2023-10-051-2/+3
| | | | | | This partially reverts commit 7ebe865e to keep compatibility with the old Perl version. However we keep the newly added 's' command to skip to next issue.
* check-new-issues: load CVE 5 JSON files dynamicallyEmilio Pozuelo Monfort2023-07-111-18/+36
| | | | | | Pre-caching all of them takes quite some time, do it dynamically instead so that one can start processing issues quickly, since loading the next issue is not a problem, but loading 250k items is.
* check-new-issues: improve entry formattingEmilio Pozuelo Monfort2023-06-271-0/+4
|
* check-new-issues: don't mark itp packages as seenEmilio Pozuelo Monfort2023-06-271-0/+3
| | | | | We don't want to autocomplete on foo if we're going to add an autocompletion for 'foo <itp> (bug ...)' instead.
* check-new-issues: fix performance issue with wnpp autocompletionEmilio Pozuelo Monfort2023-06-271-1/+2
|
* check-new-issues: autocomplete r (report) commandEmilio Pozuelo Monfort2023-06-271-2/+4
|
* check-new-issues: better autocompletion for '- pkg ...' commandEmilio Pozuelo Monfort2023-06-271-1/+4
|
* check-new-issues: move removed packages to the data fileEmilio Pozuelo Monfort2023-06-271-5/+0
|
* check-new-issues: use '<cmd> <arg>' syntaxEmilio Pozuelo Monfort2023-06-271-16/+16
|
* check-new-issues: add a skip commandEmilio Pozuelo Monfort2023-06-271-2/+5
|
* check-new-issues: add an explicit command for NOT-FOR-USEmilio Pozuelo Monfort2023-06-271-5/+8
| | | | | This should avoid accidentally typing something and having it inserted as a NOT-FOR-US entry.
* Rewrite check-new-issues in PythonEmilio Pozuelo Monfort2023-06-271-716/+739
| | | | | | | While at it, switch to the new MITRE CVE 5 API, as the previous API will be removed soon. Fixes #20
* check-new-issues: implement review commentsNeil Williams2021-11-191-2/+2
| | | | Move the print statements inside the conditional.
* Improve check-new-issues for new usersNeil Williams2021-11-191-3/+10
| | | | | Print the supported commands before entering interactive mode. Skip if only listing the CVEs
* check-new-issues: Cover upcoming decades for regular expression for issuesSalvatore Bonaccorso2020-01-041-2/+2
| | | | Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
* Relax extraction for CVE description from allitems.txt fileSalvatore Bonaccorso2019-06-211-1/+1
| | | | | | | | | | | | | | | MITRE recently did changes on the infrastructure to submit CVE entries and slightly changed as well format of produced files. Recent entries do not seem to contain anymore a strict \n\n\n separation between the CVE description further from other notes attached to the entry. Slightly relax the regular expression but still try to catch correctly the description only in the description() subroutine by still anchoring to two \n\n, and two following \n\n to seperate the description. Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
* check-new-issues: Adapt path to actually used one on soriano.d.oSalvatore Bonaccorso2019-06-071-2/+2
|
* Strip trailing white spacesRaphael Geissert2017-12-301-0/+1
|
* check-new-issues: Do not mention svn command for review processSalvatore Bonaccorso2017-12-291-1/+1
| | | | | | | | If at all mention 'git diff' and 'git reset' et al. Signed-off-by: Salvatore Bonaccorso <carnil@debian.org> git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@59016 e39458fd-73e7-0310-bf30-c45bca0a0e42
* more auto NFUsRaphael Geissert2017-12-211-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58787 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Trend Micro auto NFURaphael Geissert2017-12-211-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58785 e39458fd-73e7-0310-bf30-c45bca0a0e42
* one more IBM NFURaphael Geissert2017-12-211-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58784 e39458fd-73e7-0310-bf30-c45bca0a0e42
* EMC auto NFU issues and ruleRaphael Geissert2017-12-211-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58783 e39458fd-73e7-0310-bf30-c45bca0a0e42
* more auto NFUs rulesRaphael Geissert2017-12-211-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58780 e39458fd-73e7-0310-bf30-c45bca0a0e42
* check-new-issues: add -b, to auto process entriesRaphael Geissert2017-12-211-4/+23
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58778 e39458fd-73e7-0310-bf30-c45bca0a0e42
* remove an unused var and useless codeRaphael Geissert2017-12-211-2/+2
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58768 e39458fd-73e7-0310-bf30-c45bca0a0e42
* add a few auto NFUs rulesRaphael Geissert2017-12-211-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58767 e39458fd-73e7-0310-bf30-c45bca0a0e42
* add an auto NFU rule for the FS stuffRaphael Geissert2017-12-201-0/+4
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58754 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Sort CVE issues numericallyRaphael Geissert2017-12-201-2/+2
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@58724 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Make the wordpress auto_nfu work in another caseRaphael Geissert2017-10-251-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56955 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Make the description extractor work againRaphael Geissert2017-10-251-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56954 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Add a command 'd' to display the information againRaphael Geissert2017-10-181-4/+15
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56825 e39458fd-73e7-0310-bf30-c45bca0a0e42
* allow one to go to a specific issue (ex. .gCVE-2017-1234)Raphael Geissert2017-10-181-1/+16
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56824 e39458fd-73e7-0310-bf30-c45bca0a0e42
* move the presenting/editing loop logic into its own functionRaphael Geissert2017-10-181-26/+36
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56822 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Cleanup the CVE text a bitRaphael Geissert2017-10-181-1/+7
| | | | | | | Drops Status, Category and Current Votes fields git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56810 e39458fd-73e7-0310-bf30-c45bca0a0e42
* add completion for the pkg statusRaphael Geissert2017-10-121-2/+5
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56670 e39458fd-73e7-0310-bf30-c45bca0a0e42
* poor-man's pkg name completionRaphael Geissert2017-10-121-1/+27
| | | | | | | only based on package names already seen in the list, at this time git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56663 e39458fd-73e7-0310-bf30-c45bca0a0e42
* do not add useless blank spaces on completionRaphael Geissert2017-10-121-0/+4
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56652 e39458fd-73e7-0310-bf30-c45bca0a0e42
* no need to account for blank spaces given that they are not toleratedRaphael Geissert2017-10-121-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56651 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Also apply the display limit to wnpp resultsRaphael Geissert2017-10-121-3/+9
| | | | | | | | Searching for 'in', 'ip', and other generic queries doesn't make much sense, but let's fix one thing at the time. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56634 e39458fd-73e7-0310-bf30-c45bca0a0e42
* fix typoEmilio Pozuelo Monfort2017-10-111-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56615 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Get rid of the "TODO: check" in case its an itpRaphael Geissert2017-10-111-0/+5
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56608 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Make '- sth' work even without "TODO: check" entriesRaphael Geissert2017-10-111-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56607 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Use sensible-editor instead of handling the env vars ourselvesRaphael Geissert2017-10-111-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56606 e39458fd-73e7-0310-bf30-c45bca0a0e42
* add auto wnpp results as readline history entriesRaphael Geissert2017-10-111-7/+27
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@56605 e39458fd-73e7-0310-bf30-c45bca0a0e42

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