From 2578564632bcff380479473087e0c3bd9a61a33a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 27 Feb 2015 11:27:57 +0100 Subject: reproducible: run 'apt-get source' in schroots and stop abusing the hosts sources.lists --- bin/reproducible_scheduler.py | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'bin/reproducible_scheduler.py') 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) -- cgit v1.2.3-70-g09d2