summaryrefslogtreecommitdiffstats
path: root/scripts/filter-active.py
Commit message (Collapse)AuthorAgeFilesLines
* scripts: Fix flake8 warningsBen Hutchings13 days1-3/+4
| | | | | | | | | | | | | | In filter-active.py: - Delete unused imports. - Put each import on its own line. - Remove parentheses from an if-statement so the condition doesn't line up with the body. In issue.py: - Delete unused variable. - Fix whitespace.
* scripts: Refer consistently to 'branches' and not 'releases'Ben Hutchings13 days1-22/+22
| | | | | | | We currently refer to branches in most places as 'releases', which can get confusing. There are many releases on a given branch, and we also have 'released' as an issue status. Change all scripts and the eol_releases file over to use 'branch' instead of 'release'.
* scripts: Rename issue module to kernel_secBen Hutchings13 days1-1/+1
| | | | In preparation for adding more functionality, rename the module.
* scripts/filter-active.py: Use parse_status to get stateBen Hutchings2023-08-201-1/+1
| | | | | | filter-active.py currently takes the first word of the status, as the overall state. This is not always correct. Use parse_status to get it instead.
* scripts/filter-active.py: Size left-hand column to fit all namesBen Hutchings2019-08-091-2/+4
| | | | | | | | Currently the issues without CVE IDs have long names that cause their rows to be misaligned. Calculate the left-hand column width based on the maximum issue name length.
* Change parse_status() to return a dictionaryBen Hutchings2019-03-281-2/+2
|
* Move issue parsing into a moduleBen Hutchings2019-03-281-73/+3
|
* Convert filter-active.py to Python 3Ben Hutchings2019-03-281-15/+20
|
* filter-active.py: Exclude EOL releases by defaultBen Hutchings2018-06-251-5/+14
| | | | The EOL release names are loaded from the new file "eol_releases".
* filter-active.py: Use sets of releases for filtering instead of listsBen Hutchings2018-06-251-9/+11
|
* filter-active.py: Introduce inc_releases variableBen Hutchings2018-06-251-5/+6
| | | | | Changing attributes of the options object is weird; use a separate variable instead.
* There were CVEs assigned now with 7 digits in second part after yearSalvatore Bonaccorso2017-05-311-4/+4
| | | | | | Increase the padding and leave one extra space left. git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@5326 e094ebfe-e918-0410-adfb-c712417f3574
* scripts/filter-active.py: Correctly align CVE IDs with last part >= 10000Ben Hutchings2017-01-031-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@4831 e094ebfe-e918-0410-adfb-c712417f3574
* scripts/filter-active.py: Fix sorting of CVE IDs with last part >= 10000Ben Hutchings2017-01-031-2/+6
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@4830 e094ebfe-e918-0410-adfb-c712417f3574
* Implement the -s option to filter-active.pyBen Hutchings2016-02-291-9/+8
| | | | | | | It's existed since day 1. Never had any effect. git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@4209 e094ebfe-e918-0410-adfb-c712417f3574
* filter-active: Add optional colour-coding of statusBen Hutchings2016-02-121-3/+30
| | | | | | | | Add options to enable/disable colour-coding, and enable by default if writing to a terminal. git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@4155 e094ebfe-e918-0410-adfb-c712417f3574
* filter-active: Show all releases by default, using columnar formatBen Hutchings2016-02-121-11/+33
| | | | | | | | | | | | | Add support for showing multiple releases, with status truncated to 20 characters. Show the release names as column headings. When filtering by state, include all issues where any release has a state that should be included. Make the -r option truly optional, and default to showing all releases found in any issue. git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@4154 e094ebfe-e918-0410-adfb-c712417f3574
* filter-active: Show "unknown" instead of blank statusBen Hutchings2016-02-121-2/+2
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@4153 e094ebfe-e918-0410-adfb-c712417f3574
* filter-active: Fix filtering of issue filesBen Hutchings2016-02-121-16/+12
| | | | | | | | | Removing items from a list while iterating over it results in items being skipped in the iteration, so it is possible that we will keep file names that should have been filtered out. git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@4152 e094ebfe-e918-0410-adfb-c712417f3574
* filter-active.py: Set sane defaults for dirs and notstatesBen Hutchings2016-02-121-2/+5
| | | | | | | | | | | | | The script is called filter-active, so clearly the default directory should be 'active'. We usually only want to see issues that need fixing, so if no states are specified for inclusion or exclusion then exclude 'N/A', 'ignored' and 'released'. git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@4151 e094ebfe-e918-0410-adfb-c712417f3574
* Fix this:dann frazier2011-05-291-1/+1
| | | | | | | | filter-active.py:5: DeprecationWarning: please use 'debian' instead of 'debian_bundle' git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@2336 e094ebfe-e918-0410-adfb-c712417f3574
* A smarter filter tool than my shell script versiondann frazier2007-11-051-0/+114
git-svn-id: svn+ssh://svn.debian.org/svn/kernel-sec@1008 e094ebfe-e918-0410-adfb-c712417f3574

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