From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0FD21382C5 for ; Sun, 17 Jan 2021 18:42:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04816E0827; Sun, 17 Jan 2021 18:42:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DFDF4E0827 for ; Sun, 17 Jan 2021 18:42:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED7EB340E61 for ; Sun, 17 Jan 2021 18:42:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 948C72C5 for ; Sun, 17 Jan 2021 18:42:27 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1610908942.01d4112bb280246c420c7929f63eb2051556de52.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/auto-bootstraps/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/auto-bootstraps/analyse_result.py X-VCS-Directories: scripts/auto-bootstraps/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 01d4112bb280246c420c7929f63eb2051556de52 X-VCS-Branch: master Date: Sun, 17 Jan 2021 18:42:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ad9f546c-1f45-48c9-b647-f7330e78e26a X-Archives-Hash: 2e8231b3a357ff88c37aacf1e0e866fd commit: 01d4112bb280246c420c7929f63eb2051556de52 Author: Fabian Groffen gentoo org> AuthorDate: Sun Jan 17 18:41:39 2021 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sun Jan 17 18:42:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=01d4112b scripts/auto-bootstraps/analyse_result: hide some inactive targets Signed-off-by: Fabian Groffen gentoo.org> scripts/auto-bootstraps/analyse_result.py | 38 +++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/scripts/auto-bootstraps/analyse_result.py b/scripts/auto-bootstraps/analyse_result.py index 459341c8c7..23ff06c5f5 100755 --- a/scripts/auto-bootstraps/analyse_result.py +++ b/scripts/auto-bootstraps/analyse_result.py @@ -9,6 +9,12 @@ from functools import cmp_to_key resultsdir='./results' +deprecated_archs = ( + 'x86_64-pc-cygwin', + 'sparc-sun-solaris2.10', + 'sparcv9-sun-solaris2.10' +) + def find_last_stage(d): """ Returns the last stage worked on. @@ -238,9 +244,13 @@ display: inline-block; font-size: x-small; padding: 3px 4px; text-transform: upp return tags # generate html edition +deprecated_count = 0 with open(os.path.join(resultsdir, 'index.html'), "w") as h: h.write("") - h.write("Gentoo Prefix bootstrap results") + h.write("") + h.write("") + h.write("Gentoo Prefix bootstrap results") + h.write("") h.write("") h.write("

Gentoo Prefix bootstraps

") h.write('') @@ -256,7 +266,11 @@ with open(os.path.join(resultsdir, 'index.html'), "w") as h: else: state = 'limegreen' - h.write('') + if arch in deprecated_archs: + deprecated_count = deprecated_count + 1 + h.write('' % deprecated_count) + else: + h.write('') h.write('") h.write("
' % state) h.write(arch) @@ -294,6 +308,26 @@ with open(os.path.join(resultsdir, 'index.html'), "w") as h: h.write("
") + h.write(''' +''') + h.write("toggle visibility for %d deprecated arches" % deprecated_count) now = time.strftime('%Y-%m-%dT%H:%MZ', time.gmtime()) h.write("

generated: %s

" % now) h.write("

See also awesomebytes")