summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_scheduler.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-02-27 11:27:57 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-27 11:29:46 +0100
commit2578564632bcff380479473087e0c3bd9a61a33a (patch)
treedbcc1e0655a3ce7269397ddecd0115dbbb8a371a /bin/reproducible_scheduler.py
parentc3a6a7e44f1d34e8990219ed5419420f509bbd63 (diff)
downloadjenkins.debian.net-2578564632bcff380479473087e0c3bd9a61a33a.tar.xz
reproducible: run 'apt-get source' in schroots and stop abusing the hosts sources.lists
Diffstat (limited to 'bin/reproducible_scheduler.py')
-rwxr-xr-xbin/reproducible_scheduler.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 86f2aba3..a75a20e6 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -35,22 +35,6 @@ def call_apt_update():
sys.exit(1)
-def check_suite_avail(suite):
- log.debug('Checking wheter the suite ' + suite + ' is listed in your ' +
- 'sources.list file')
- listall = aptsources.sourceslist.SourcesList()
- splittedlist = [x.str() for x in listall]
- for line in splittedlist:
- if line[0][0] == '#':
- continue
- if 'deb-src' not in line:
- continue
- if suite in line:
- log.debug('\tyes, it is')
- return True
- return False
-
-
def update_sources_tables(suite):
# download the sources file for this suite
mirror = 'http://ftp.de.debian.org/debian'
@@ -278,10 +262,5 @@ def scheduler(suite):
if __name__ == '__main__':
call_apt_update()
for suite in SUITES:
-# for now we need entries for whatever suite we want to test in sources.list
- if not check_suite_avail(suite):
- print_critical_message('Please add a deb-src entry for ' + suite +
- ' in your sources.list file')
- raise ValueError
update_sources_tables(suite)
scheduler(suite)