Commit d745bf4f authored by Salvatore Bonaccorso's avatar Salvatore Bonaccorso

tracker_service: Update release -> codename mappings for stretch release

Update references for backports suites for buster-backports,
stretch-backports and jessie-backports for status overview pages.

For testing migration canidates (which is helpful during freeze periods
to determine which fixes from usntable need to go to testing yet), make
bullseye the new testing distribution.

Updates lists of releases to sid, bullseye, buster, stretch and jessie.
parent 9b1fd52e
......@@ -882,19 +882,19 @@ to improve our documentation and procedures, so feedback is welcome.""")])])
return self.page_status_release_unstable_like(
path, params, url,
title='Vulnerable source packages among backports for stable',
rel='stretch-backports')
rel='buster-backports')
def page_status_release_oldstable_backports(self, path, params, url):
return self.page_status_release_unstable_like(
path, params, url,
title='Vulnerable source packages among backports for oldstable',
rel='jessie-backports')
rel='stretch-backports')
def page_status_release_oldoldstable_backports(self, path, params, url):
return self.page_status_release_unstable_like(
path, params, url,
title='Vulnerable source packages among backports for oldoldstable',
rel='wheezy-backports')
rel='jessie-backports')
def page_status_dtsa_candidates(self, path, params, url):
......@@ -909,11 +909,11 @@ to improve our documentation and procedures, so feedback is welcome.""")])])
(SELECT testing.version_id < stable.version_id
FROM source_packages AS testing, source_packages AS stable
WHERE testing.name = testing_status.package
AND testing.release = 'buster'
AND testing.release = 'bullseye'
AND testing.subrelease = ''
AND testing.archive = testing_status.section
AND stable.name = testing_status.package
AND stable.release = 'stretch'
AND stable.release = 'buster'
AND stable.subrelease = 'security'
AND stable.archive = testing_status.section),
(SELECT range_remote FROM nvd_data
......@@ -994,7 +994,7 @@ checker to find out why they have not entered testing yet."""),
old_pkg = ''
old_dsc = ''
last_displayed = ''
releases = ('sid', 'buster', 'stretch', 'jessie', 'wheezy')
releases = ('sid', 'bullseye', 'buster', 'stretch', 'jessie')
for (pkg_name, bug_name, release, desc) in self.db.cursor().execute(
"""SELECT DISTINCT sp.name, st.bug_name, sp.release,
bugs.description
......@@ -1039,7 +1039,7 @@ checker to find out why they have not entered testing yet."""),
old_dsc = ''
old_name = ''
last_displayed = ''
releases = ('sid', 'buster', 'stretch', 'jessie', 'wheezy')
releases = ('sid', 'bullseye', 'buster', 'stretch', 'jessie')
for (pkg_name, bug_name, release, desc) in self.db.cursor().execute(
"""SELECT DISTINCT sp.name, st.bug_name, sp.release,
bugs.description
......@@ -1325,7 +1325,7 @@ Debian bug number.'''),
urgency = defaultdict(lambda: defaultdict(dict))
nodsa = defaultdict(lambda: defaultdict(dict))
nodsa_reason = defaultdict(lambda: defaultdict(dict))
supported_releases = ('sid', 'buster', 'stretch', 'jessie', 'wheezy')
supported_releases = ('sid', 'bullseye', 'buster', 'stretch', 'jessie')
for (pkg, issue, desc, debianbug, release, subrelease, db_version, db_fixed_version, db_status, db_urgency, db_remote, db_nodsa, db_nodsa_reason) in self.db.cursor().execute(
"""SELECT sp.name, st.bug_name,
(SELECT cve_desc FROM nvd_data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment