[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible: fix grammar: s#arches#archs#

Holger Levsen holger at moszumanska.debian.org
Sun Aug 2 13:00:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 70104bc769d8923087c31ad38be1a63a2efc759f
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun Aug 2 14:55:41 2015 +0200

    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 914db27..d6a820d 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 2fe0e27..e7e4a37 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 c4eeba0..3d34705 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 06491c2..64802c2 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 ad53f8c..b9c9bce 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 90faa46..903c9ef 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 + '/' +

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list