From 70104bc769d8923087c31ad38be1a63a2efc759f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 2 Aug 2015 14:55:41 +0200 Subject: reproducible: fix grammar: s#arches#archs# --- bin/reproducible_common.py | 4 ++-- bin/reproducible_common.sh | 4 ++-- bin/reproducible_html_all_packages.py | 2 +- bin/reproducible_html_indexes.py | 6 +++--- bin/reproducible_html_notes.py | 2 +- bin/reproducible_html_packages.py | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index 914db273..d6a820d7 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -30,8 +30,8 @@ QUIET = False # tested suites SUITES = ['testing', 'unstable', 'experimental'] -# tested arches -ARCHES = ['amd64'] +# tested architectures +ARCHS = ['amd64'] # defaults defaultsuite = 'unstable' defaultarch = 'amd64' diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 2fe0e279..e7e4a373 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -39,8 +39,8 @@ JENKINS_URL=${JENKINS_URL:0:-1} # suites being tested SUITES="testing unstable experimental" -# arches being tested -ARCHES="amd64" +# architectures being tested +ARCHS="amd64" # number of cores to be used NUM_CPU=$(grep -c '^processor' /proc/cpuinfo) diff --git a/bin/reproducible_html_all_packages.py b/bin/reproducible_html_all_packages.py index c4eeba00..3d347053 100755 --- a/bin/reproducible_html_all_packages.py +++ b/bin/reproducible_html_all_packages.py @@ -16,6 +16,6 @@ from reproducible_html_packages import gen_all_rb_pkg_pages, purge_old_pages for suite in SUITES: - for arch in ARCHES: + for arch in ARCHS: gen_all_rb_pkg_pages(suite=suite, arch=arch, no_clean=True) purge_old_pages() diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py index 06491c2a..64802c2a 100755 --- a/bin/reproducible_html_indexes.py +++ b/bin/reproducible_html_indexes.py @@ -36,7 +36,7 @@ Reference doc for the folowing lists: * $count_total being the number of all tested packages * $count being the len() of the query indicated by `query2` - `query2`: useful only if `timely` is True. - - `nosuite`: if true do not iterate over the suite/arches, use only the + - `nosuite`: if true do not iterate over the suite/archs, use only the defaults + global: if true, then the page will saved on the root of rb.d.n, and: - the query also takes the value "status" @@ -499,7 +499,7 @@ def build_page(page, suite=None, arch=None): html += build_page_section(page, section, None, None)[0] else: for suite in SUITES: - for arch in ARCHES: + for arch in ARCHS: log.debug('global page ยง' + section['db_status'] + ' in ' + page + ' for ' + suite + '/' + arch) html += build_page_section(page, section, suite, arch)[0] @@ -553,6 +553,6 @@ bugs = get_bugs() if __name__ == '__main__': generate_schedule() for suite in SUITES: - for arch in ARCHES: + for arch in ARCHS: for page in pages.keys(): build_page(page, suite, arch) diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py index ad53f8c8..b9c9bcea 100755 --- a/bin/reproducible_html_notes.py +++ b/bin/reproducible_html_notes.py @@ -433,7 +433,7 @@ if __name__ == '__main__': purge_old_issues(issues) gen_packages_html(notes) # regenerate all rb-pkg/ pages for suite in SUITES: - for arch in ARCHES: + for arch in ARCHS: build_page('notes', suite, arch) build_page('no_notes', suite, arch) build_page('FTBFS', suite, arch) diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index 90faa463..903c9ef5 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -234,7 +234,7 @@ def gen_packages_html(packages, suite=None, arch=None, no_clean=False, nocheck=F nocheck = True if nocheck and (not suite or not arch): for lsuite in SUITES: - for larch in ARCHES: + for larch in ARCHS: gen_packages_html(packages, lsuite, larch, True, True) if not no_clean: purge_old_pages() @@ -282,7 +282,7 @@ def gen_all_rb_pkg_pages(suite='unstable', arch='amd64', no_clean=False): def purge_old_pages(): for suite in SUITES: - for arch in ARCHES: + for arch in ARCHS: log.info('Removing old pages from ' + suite + '/' + arch + '.') try: presents = sorted(os.listdir(RB_PKG_PATH + '/' + suite + '/' + -- cgit v1.2.3-70-g09d2