if origin.lower() == 'debian':
TESTING_CODENAME = 'unknown.new.testing'
- RELEASES_ORDER.extend(['stable', 'testing', 'unstable', 'sid'])
+ RELEASES_ORDER.extend(['stable', 'proposed-updates', 'testing', 'testing-proposed-updates', 'unstable', 'sid'])
csvfile.close()
# We only care about the specified origin, component, and label
releases = [x for x in releases if (
x[1].get('origin', '') == origin and
+ x[1].get('suite', '') not in ignoresuites and
x[1].get('component', '') == component and
x[1].get('label', '') == label) or (
x[1].get('origin', '') in alternate_olabels and
codename = lookup_codename(release, 'n/a')
distinfo.update({ 'RELEASE' : release, 'CODENAME' : codename })
elif release.endswith('/sid'):
- if release.rstrip('/sid').lower().isalpha() != 'testing':
+ if release.rstrip('/sid').lower() != 'testing':
global TESTING_CODENAME
TESTING_CODENAME = release.rstrip('/sid')
distinfo['RELEASE'] = 'testing/unstable'