| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The file exists in debian-security-support so we need to have it
here too or we will crash.
|
|
|
|
| |
To avoid double newlines.
|
| |
|
|
|
|
| |
If no source package is given, return a 404 error.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
Otherwise we get a dict_values object under python3 which we
can't sort.
|
| |
|
|
|
|
| |
We get a bytes object under python 3.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
If there's no error, proceed quietly.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
In python3 this is an iterator, which breaks when the dict
is modified. To avoid that, force it to be evaluated as a
list.
|
| |
|
|
|
|
| |
As cmp is gone in py3. Also don't pass it as a positional argument.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Update security-tracker data for end of life of regular security support for stretch
See merge request security-tracker-team/security-tracker!55
|
| |
| |
| |
| | |
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
|
| |
| |
| |
| | |
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| | |
Fixes: 2df873e89355 ("Replace tabs with spaces for add-dsa-needed.sh script")
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We do this in two steps. In a first step for all supported releases
where there is a common package which needs an update (thus after the
sorting of the common list and filter out only the duplicated lines) we
add those to dsa-needed.txt without suffix to indicate the package needs
an update in multiple (supported) suites.
In the later step, we only -- for each release -- add pkg/release to
dsa-needed.txt to indicate the package needs only an update in the
respective release.
v2: Fix typo in comment about adding packages with /$release suffix
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
|
|/
|
|
| |
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
|
|
|
|
|
|
| |
parenthesis '['
Square bracket before RELEASES is unnecessary
|
|\
| |
| |
| |
| | |
Distro config reunification
See merge request security-tracker-team/security-tracker!48
|