Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gen-DSA: require DEBFULLNAME env variable | Emilio Pozuelo Monfort | 2020-08-31 | 1 | -0/+4 |
| | |||||
* | Update hashbang for remaining python2 scripts | Emilio Pozuelo Monfort | 2020-08-31 | 3 | -3/+3 |
| | | | | | | | | These are all currently unused, so it's a bit hard to test them when porting them to Python 3. So rather than doing that, let's explicitly mark them as being Python 2. Before porting them we may want to check if they are still useful or if they should be removed instead. | ||||
* | tracker_service.py: Source: more: Link to vendor information via HTTPS | Salvatore Bonaccorso | 2020-08-24 | 1 | -1/+1 |
| | |||||
* | tracker_service: use setup_paths | Emilio Pozuelo Monfort | 2020-08-14 | 1 | -1/+1 |
| | |||||
* | tracker_service: reorder imports | Emilio Pozuelo Monfort | 2020-08-14 | 1 | -4/+5 |
| | |||||
* | Add missing imports | Emilio Pozuelo Monfort | 2020-08-14 | 2 | -0/+2 |
| | | | | | | The one for update-db was dropped in f815d203, whereas tracker_service has been getting the import from the web_support one. But let's better be explicit. | ||||
* | secmaster: add executable bit | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -0/+0 |
| | |||||
* | secmaster.py: move to bin/ | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -0/+60 |
| | |||||
* | De-duplicate setup_path | Emilio Pozuelo Monfort | 2020-08-13 | 9 | -89/+19 |
| | | | | | | | | | | All the scripts in bin/ can share the definition. Also setup_paths.py calls setup_path so one just has to import that module before importing those from lib/python/. Additionally this helps some scripts work better under Python 3, as one variant of setup_paths that we had called string.rfind, which is not present there. | ||||
* | update-nvd: don't chdir | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -2/+3 |
| | |||||
* | inject-embedded-code-copies: switch to Python 3 | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -1/+1 |
| | |||||
* | lts-needs-forward-port: port to Python 3 | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -2/+1 |
| | |||||
* | support-ended: encode file as UTF-8 | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -2/+1 |
| | |||||
* | support-ended: switch to Python 3 | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -1/+1 |
| | |||||
* | support-ended: add deb11 to the releases list | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -0/+1 |
| | | | | | The file exists in debian-security-support so we need to have it here too or we will crash. | ||||
* | show-debsecan: strip lines before printing them | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -1/+1 |
| | | | | To avoid double newlines. | ||||
* | show-debsecan: port to Python 3 | Emilio Pozuelo Monfort | 2020-08-13 | 1 | -3/+3 |
| | |||||
* | tracker_service: don't crash on /source-package/ | Emilio Pozuelo Monfort | 2020-08-11 | 1 | -0/+6 |
| | | | | If no source package is given, return a 404 error. | ||||
* | tracker_service: use with statement | Emilio Pozuelo Monfort | 2020-08-11 | 1 | -16/+12 |
| | |||||
* | Correct a typo in compare-nvd-cve | Felix Yan | 2020-08-08 | 1 | -1/+1 |
| | |||||
* | check-syntax: switch to Python 3 | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -1/+1 |
| | |||||
* | update-db: switch to Python 3 | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -1/+1 |
| | |||||
* | tracker_service: switch to Python 3 | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -1/+1 |
| | |||||
* | tracker_service: convert maps to lists for make_list | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -3/+3 |
| | | | | | | | | | Otherwise under python 3, make_list will fail with empty maps as the map object will evaluate to true even if it's empty. We could cast to a list in make_list before evaluating it, but then we would need to ensure that we're receiving a valid type. This is probably simpler. | ||||
* | apt-update-file: switch to Python 3 | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -1/+1 |
| | |||||
* | update-nvd: switch to Python 3 | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -1/+1 |
| | |||||
* | update-nvd: convert values to a list | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -1/+1 |
| | | | | | Otherwise we get a dict_values object under python3 which we can't sort. | ||||
* | bin/report-vuln: switch to python3 | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -8/+3 |
| | |||||
* | bin/report-vuln: decode the url data | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -1/+1 |
| | | | | We get a bytes object under python 3. | ||||
* | bin/report-vuln: adapt urllib import for py3 | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -3/+7 |
| | |||||
* | bin/report-vuln: split imports | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -1/+4 |
| | |||||
* | bin/contact-maintainers: don't redefine get_maintainers | Emilio Pozuelo Monfort | 2020-08-06 | 1 | -6/+3 |
| | |||||
* | report-vuln: uses python2 still, make this clear | Salvatore Bonaccorso | 2020-08-05 | 1 | -1/+1 |
| | |||||
* | bts-update: don't print number of tags changed | Emilio Pozuelo Monfort | 2020-08-04 | 1 | -1/+0 |
| | | | | If there's no error, proceed quietly. | ||||
* | unsupported_packages: remove default Debian version | Emilio Pozuelo Monfort | 2020-07-29 | 1 | -1/+1 |
| | | | | | | | The recent bump should have been to 9, but rather than fixing that, let's just remove the default version and make users set it to avoid further mistakes. The only current user is lts-cve-triage which properly sets the version to 9. | ||||
* | tracker_service: properly sort fixed versions table | Emilio Pozuelo Monfort | 2020-07-29 | 1 | -1/+2 |
| | |||||
* | tracker_service.py: evaluate dict items as a list | Emilio Pozuelo Monfort | 2020-07-29 | 1 | -1/+1 |
| | | | | | | In python3 this is an iterator, which breaks when the dict is modified. To avoid that, force it to be evaluated as a list. | ||||
* | tracker_service.py: open the binary image file as binary | Emilio Pozuelo Monfort | 2020-07-29 | 1 | -1/+1 |
| | |||||
* | tracker_service.py: use a lambda function to sort | Emilio Pozuelo Monfort | 2020-07-29 | 1 | -1/+1 |
| | | | | As cmp is gone in py3. Also don't pass it as a positional argument. | ||||
* | test-web-server: call tracker_service.py directly | Emilio Pozuelo Monfort | 2020-07-29 | 1 | -2/+2 |
| | | | | | | It's an executable, so no need to call python first and potentially use a different interpreter than what tracker_service.py declares in the hashbang. | ||||
* | tracker_service.py: fix use of tabs | Emilio Pozuelo Monfort | 2020-07-29 | 1 | -14/+14 |
| | |||||
* | Force filter() to get evaluated as list | Brian May | 2020-07-29 | 1 | -1/+1 |
| | | | | | Under Python 3, filter() doesn't return a list (as in Python 2), but must be evaluated before it can be used as a list. | ||||
* | increase debian_version for Stretch | Thorsten Alteholz | 2020-07-21 | 1 | -1/+1 |
| | |||||
* | unsupported_packages.py: Update LTS version to 8. | Chris Lamb | 2020-07-12 | 1 | -1/+1 |
| | |||||
* | support-ended.py: Add scheduled EOL for stretch in LTS | Salvatore Bonaccorso | 2020-07-05 | 1 | -1/+1 |
| | |||||
* | Merge branch 'end-of-life-security-support-stretch' into 'master' | Salvatore Bonaccorso | 2020-07-05 | 2 | -2/+2 |
|\ | | | | | | | | | Update security-tracker data for end of life of regular security support for stretch See merge request security-tracker-team/security-tracker!55 | ||||
| * | LTS: When checking for missing lts uploads use stretch sources | Salvatore Bonaccorso | 2020-06-20 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Salvatore Bonaccorso <carnil@debian.org> | ||||
| * | add-dsa-needed: Only list packages for stable for dsa-needed list | Salvatore Bonaccorso | 2020-06-20 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Salvatore Bonaccorso <carnil@debian.org> | ||||
* | | Use the new introduced pkgs_print() helper function | Salvatore Bonaccorso | 2020-06-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | In the former code block we target packages which need an update in multiple supported release. The later block is iterating only over individual releases to add packages individually per release where needed. Signed-off-by: Salvatore Bonaccorso <carnil@debian.org> | ||||
* | | Introduce new pkgs_print() helper function | Salvatore Bonaccorso | 2020-06-22 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depending on if a suffix should be included in the printout of the package set accordingly the format string for the printf invocation. The idea is depending on if only on release is supported the listing in the dsa-needed.txt should be either: -- pkg -- if only one suite is supported. In the case multiple suites are supported but the package needs an update only in one release, the listing should be -- $pkg/release -- Introduce helper function taking arguments as package, flag for suffix inclusion an to be used suffix. A later commit will use the new helper function where needed. Signed-off-by: Salvatore Bonaccorso <carnil@debian.org> |