From patchwork Thu Nov 2 08:39:05 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Sam James
X-Patchwork-Id: 160807
Return-Path:
Delivered-To: ouuuleilei@gmail.com
Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp207052vqu;
Thu, 2 Nov 2023 01:41:54 -0700 (PDT)
X-Google-Smtp-Source:
AGHT+IHcMg6jqxTsNqSgMsp398tA8gIia3FZFDRUw5HTvgbTjJ0xlG+aO/ihMdzefVr7E1QGZr5z
X-Received: by 2002:a25:e64a:0:b0:d9a:6669:68ce with SMTP id
d71-20020a25e64a000000b00d9a666968cemr15890943ybh.32.1698914514173;
Thu, 02 Nov 2023 01:41:54 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1698914514; cv=pass;
d=google.com; s=arc-20160816;
b=BSWy/lkP5gzuxp8qk2BPaoBTCYFlcDFIWmaHd50DyTLzR545Wjy7ZvQHlX12PX36bo
W7OA/lBRHeI1nwAS3TfWAT40642w1ZZ3NvVY/L86E34nnSWeFaX/KJSVE1Pris2zrkgC
iY4G1kspKE6IZ6RCz7DZDL6TkT1Rsqi/Da+Tlo/D1QdZjr3ZJ+P/Kx7jumN2DP0YoHv+
9EXQHbIoo/5xTbaZtD+I7C0/9akyP9lL6HDiX9WUILYZI2jgxYNERpgaI054Ra6imhH3
Qb3JF+lIQHozkXj+15avXWEmLo1hs4TPjGrO+0+bB+0ul1cZCQsPRayoRMnheE1z6pTM
TCVA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=errors-to:list-subscribe:list-help:list-post:list-archive
:list-unsubscribe:list-id:precedence:content-transfer-encoding
:mime-version:message-id:date:subject:cc:to:from:arc-filter
:dmarc-filter:delivered-to;
bh=POworUVLPki8RWl6Nhe9hXRc1U0AUHcXMfUuZpU0F5k=;
fh=lhAG8ssliBigPOPTNpUmgPeKTFWUg1eGxz7YimpjSKA=;
b=XSit6Oce3TM48H1Yrsviw/O1jjfLKziKQxhZzqTzVl7zJo+5FgFmX+6hEktkpmt6Tp
eNxvoE/30at18HDrCoZGBF0UJxtqzYxFm15EjcXpMpd3syCUPuq0erLXlY6fzps3pJvA
ZBiURaxiRR/E7wWY50R/8rV6FLTvXzwMp9qMbI8Cm9UAYJXUszvELiDfZauph1NMf9S5
kKPKeHsXvw+GmAtP1s4ffG5GYYyDBOEtkvYlqC3Ff2LmhO3NDuaVjIJJt9+tJcmZkOaJ
hc4Tv2BSY2JzPEGygL93subcGQMGtVb+z1MRXRgZ3ZUTVZfVkrHyPg1ITGAZnqTFChq2
TMfg==
ARC-Authentication-Results: i=2; mx.google.com;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org
Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97])
by mx.google.com with ESMTPS id
ev20-20020a0562140a9400b0066d32666a24si3982948qvb.495.2023.11.02.01.41.54
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 02 Nov 2023 01:41:54 -0700 (PDT)
Received-SPF: pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender) client-ip=8.43.85.97;
Authentication-Results: mx.google.com;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id 656C63858D39
for ; Thu, 2 Nov 2023 08:41:53 +0000 (GMT)
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
by sourceware.org (Postfix) with ESMTP id 8B0803858C5E
for ; Thu, 2 Nov 2023 08:41:17 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8B0803858C5E
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gentoo.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8B0803858C5E
Authentication-Results: server2.sourceware.org;
arc=none smtp.remote-ip=140.211.166.183
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698914488; cv=none;
b=LKwqeDcPvTiwKk5bqSu9uTtEWUW0fZzmWoU6+TxLAjt9blL6xgjRQ6mKG90ztTlmKeFVyBHjG6zzey4igkzEZd2kOpvTzDHWooVpNCUkY5pa2Tu1PNZT6HdlOR0DNjgaXUPFCILtqbeYzd3QQgrkth2nsBOGHcL14A8BxxMKE9E=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1698914488; c=relaxed/simple;
bh=mF5RXHHfe+RaQ6w0T9eXJMMHTBcN2Kxna86iKDLinLA=;
h=From:To:Subject:Date:Message-ID:MIME-Version;
b=XbMOXEDSTmLHD341KvGrMja2+fONL4H8+lxAchf41Tm4iY3AoJlywcbDtJ0Bsnr6wzwUljsQ/Q6FpzGTDMDuOpl1V/fJqLiJ77uy0XydXzK69eaIuyaEXphKQ490HLYCUTC/0INcKx7e9fcHIdngNQh3+0zGtA6JIMXlBWTekfs=
ARC-Authentication-Results: i=1; server2.sourceware.org
From: Sam James
To: gcc-patches@gcc.gnu.org
Cc: Sam James
Subject: [PATCH 1/4] contrib: add generate_snapshot_index.py
Date: Thu, 2 Nov 2023 08:39:05 +0000
Message-ID: <20231102084058.1142941-1-sam@gentoo.org>
X-Mailer: git-send-email 2.42.0
MIME-Version: 1.0
X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, GIT_PATCH_0,
JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_LOTSOFHASH, KAM_SHORT,
RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: gcc-patches@gcc.gnu.org
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: Gcc-patches mailing list
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org
X-getmail-retrieved-from-mailbox: INBOX
X-GMAIL-THRID: 1781440985800627907
X-GMAIL-MSGID: 1781440985800627907
Script to create a map between weekly snapshots and the commit they're based on
with space-separated format BRANCH-DATE COMMIT.
For example:
8-20210107 5114ee0676e432493ada968e34071f02fb08114f
8-20210114 f9267925c648f2ccd9e4680b699e581003125bcf
...
This is helpful for bisects and quickly looking up the information from bug
reports.
contrib/:
* generate_snapshot_index.py: New file.
Signed-off-by: Sam James
---
contrib/generate_snapshot_index.py | 79 ++++++++++++++++++++++++++++++
1 file changed, 79 insertions(+)
create mode 100755 contrib/generate_snapshot_index.py
diff --git a/contrib/generate_snapshot_index.py b/contrib/generate_snapshot_index.py
new file mode 100755
index 000000000000..80fc14b2cf1e
--- /dev/null
+++ b/contrib/generate_snapshot_index.py
@@ -0,0 +1,79 @@
+#!/usr/bin/env python3
+#
+# Copyright (C) 2023 Free Software Foundation, Inc.
+# Contributed by Sam James.
+#
+# This script is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# Script to create a map between weekly snapshots and the commit they're based on.
+# Creates known_snapshots.txt with space-separated format: BRANCH-DATE COMMIT
+# For example:
+# 8-20210107 5114ee0676e432493ada968e34071f02fb08114f
+# 8-20210114 f9267925c648f2ccd9e4680b699e581003125bcf
+
+import os
+import re
+import urllib.request
+
+MIRROR = "https://mirrorservice.org/sites/sourceware.org/pub/gcc/snapshots/"
+
+
+def get_remote_snapshot_list() -> list[str]:
+ # Parse the HTML index for links to snapshots
+ with urllib.request.urlopen(MIRROR) as index_response:
+ html = index_response.read().decode("utf-8")
+ snapshots = re.findall(r'href="([0-9]+-.*)"', html)
+
+ return snapshots
+
+
+def load_cached_entries() -> dict[str, str]:
+ local_snapshots = {}
+
+ with open("known_snapshots.txt", encoding="utf-8") as local_entries:
+ for entry in local_entries.readlines():
+ if not entry:
+ continue
+
+ date, commit = entry.strip().split(" ")
+ local_snapshots[date] = commit
+
+ return local_snapshots
+
+
+remote_snapshots = get_remote_snapshot_list()
+try:
+ known_snapshots = load_cached_entries()
+except FileNotFoundError:
+ # No cache available
+ known_snapshots = {}
+
+# This would give us chronological order (as in by creation)
+# snapshots.sort(reverse=False, key=lambda x: x.split('-')[1])
+# snapshots.sort(reverse=True, key=lambda x: x.split('-')[0])
+
+for snapshot in remote_snapshots:
+ # 8-20210107/ -> 8-20210107
+ snapshot = snapshot.strip("/")
+
+ # Don't fetch entries we already have stored.
+ if snapshot in known_snapshots:
+ continue
+
+ # The READMEs are plain text with several lines, one of which is:
+ # "with the following options: git://gcc.gnu.org/git/gcc.git branch releases/gcc-8 revision e4e5ad2304db534957c4af612aa288cb6ef51f25""
+ # We match after 'revision ' to grab the commit used.
+ with urllib.request.urlopen(f"{MIRROR}/{snapshot}/README") as readme_response:
+ data = readme_response.read().decode("utf-8")
+ parsed_commit = re.findall(r"revision (.*)", data)[0]
+ known_snapshots[snapshot] = parsed_commit
+
+# Dump it all back out to disk.
+with open("known_snapshots.txt.tmp", "w", encoding="utf-8") as known_entries:
+ for name, stored_commit in known_snapshots.items():
+ known_entries.write(f"{name} {stored_commit}\n")
+
+os.rename("known_snapshots.txt.tmp", "known_snapshots.txt")
From patchwork Thu Nov 2 08:39:06 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Sam James
X-Patchwork-Id: 160808
Return-Path:
Delivered-To: ouuuleilei@gmail.com
Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp207053vqu;
Thu, 2 Nov 2023 01:41:54 -0700 (PDT)
X-Google-Smtp-Source:
AGHT+IE5zkeWwoeYCGYP23Rzp543pjOtepHeZuYJ3JGieeqqkhBEq7ANaG40Jgm3WSZxQKu7LHxw
X-Received: by 2002:a05:622a:1a8d:b0:41c:c3ad:922d with SMTP id
s13-20020a05622a1a8d00b0041cc3ad922dmr20182376qtc.52.1698914514295;
Thu, 02 Nov 2023 01:41:54 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1698914514; cv=pass;
d=google.com; s=arc-20160816;
b=ktchGN1kHsaiKZ4FpdJ+KsVWHBcNiw7WL31iaQGDwHACi/p4LYFVvEtTuBLmIR5+iW
bav0aFSk1bYypFwb7QNSc37pRkXDWaS4ZgNO8qT667gPogrZpWwCYZg8/bd1MSxyYPLg
cVf2gC6BGbFCOTHXBX6vYb+9IoPB8dugvIJDczuhBvLFliDKVmPtvwA0+CuA80maPazv
zW5LG8f92JAiSZLdDGVrOgaDdGsxafd1HaCn9kKgbhwh+a0g7v+eErT7QNLK6MgZ9ta5
XtV/MqB5UE6DYOSCxS7xUCm34jqtUA5x1MY6+1kfCw4whAphrzZbfUjfh+6kfte9oeAF
y01w==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=errors-to:list-subscribe:list-help:list-post:list-archive
:list-unsubscribe:list-id:precedence:content-transfer-encoding
:mime-version:references:in-reply-to:message-id:date:subject:cc:to
:from:arc-filter:dmarc-filter:delivered-to;
bh=KObQkUljf9a6sjZftKmNgbpAWe9SOWsNW0V1GLzATyw=;
fh=lhAG8ssliBigPOPTNpUmgPeKTFWUg1eGxz7YimpjSKA=;
b=DiuDEt+rBYIiLTMyC3uRfj4E3U9Yb/ppYQJLaTFx6kESXacpqZ8GeiGeCgnyh6UsGm
uCHh4rJGERnK3U7g//HYDqSUA25E0MVyGNOBmQHekdroEdI68ABNXh/g/PyHn62Uaa5p
Dp45kacjGMEFXyulqZR3cD+AdBfBiZvzGTfBW/lilTi034bJxYn8q0Yx0HR+I6jCKtq0
/h4RS7XgOca3pyQ8OOlITfZSL4GV3LTDcngmGwwD1Bnpm9RmAZDz0/VRKiWGpd9JrK8Y
vAZyCXfQq3YU5/dO8cUPece2yq0WExfXdrUpRZVJhHJMJTluR7OsoueCVAS52DFipV0K
7jGA==
ARC-Authentication-Results: i=2; mx.google.com;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org
Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97])
by mx.google.com with ESMTPS id
c14-20020ac87d8e000000b00417bb47e1fesi4278390qtd.170.2023.11.02.01.41.54
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 02 Nov 2023 01:41:54 -0700 (PDT)
Received-SPF: pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender) client-ip=8.43.85.97;
Authentication-Results: mx.google.com;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id 8AF0B3857012
for ; Thu, 2 Nov 2023 08:41:53 +0000 (GMT)
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
by sourceware.org (Postfix) with ESMTP id 068993858C78
for ; Thu, 2 Nov 2023 08:41:18 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 068993858C78
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gentoo.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 068993858C78
Authentication-Results: server2.sourceware.org;
arc=none smtp.remote-ip=140.211.166.183
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698914487; cv=none;
b=e5mfIaFVE+35WMCx3WMXvLfwWUM7xXwZ1TUcHEKyQDnEwdK2TZTidAAPil16Vj1YGLkzftCU3fpmfcmkNHDbHY3UxTwhPqzIXrXpm172QMaVxd8/DakpQ0hysMpK+wLOBZlxMg82G0CzuJlBiFqWJnCIKxKSIvjyRL/rM5YCYc8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1698914487; c=relaxed/simple;
bh=paC7pOknscbjjo/QFpgS3X5/UUfgSo72HK5UX+NHHxc=;
h=From:To:Subject:Date:Message-ID:MIME-Version;
b=KWV8xx8xTvUO4jURGmA9Uhp6baLVyKGbrAXpGMu1u6aVbG/90XTI3QKN7LngPTaNMB+cYZHFKMlxQgB1/DH5Ik6XcYK5GDZS8JQJIuxNdcAjehYrAyygGC+poTtVBe3bZkj4Y3nTOSBbq7caeVzEiYINYrXVDu/0iFsNEb2wnJk=
ARC-Authentication-Results: i=1; server2.sourceware.org
From: Sam James
To: gcc-patches@gcc.gnu.org
Cc: Sam James
Subject: [PATCH 2/4] maintainer-scripts/gcc_release: create index between
snapshots <-> commits
Date: Thu, 2 Nov 2023 08:39:06 +0000
Message-ID: <20231102084058.1142941-2-sam@gentoo.org>
X-Mailer: git-send-email 2.42.0
In-Reply-To: <20231102084058.1142941-1-sam@gentoo.org>
References: <20231102084058.1142941-1-sam@gentoo.org>
MIME-Version: 1.0
X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, GIT_PATCH_0,
JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: gcc-patches@gcc.gnu.org
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: Gcc-patches mailing list
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org
X-getmail-retrieved-from-mailbox: INBOX
X-GMAIL-THRID: 1781440985714437862
X-GMAIL-MSGID: 1781440985714437862
Create and maintain a known_snapshots.txt index with space-separated format
BRANCH-DATE COMMIT.
For example:
8-20210107 5114ee0676e432493ada968e34071f02fb08114f
8-20210114 f9267925c648f2ccd9e4680b699e581003125bcf
...
This is helpful for bisects and quickly looking up the information from bug
reports.
maintainer-scripts/
* gcc_release: Create known_snapshots.txt as an index between snapshots
and commits.
Signed-off-by: Sam James
---
Note that there's a few different approaches we can take here. I've gone
for the simpler one of having it still fetch from the remote site and parse
because it's obviously hard for me to test a part which runs on the remote
machine.
We can skip this patch for now if desired. I have mixed feelings about complicating
the contrib/generate_snapshot_index.py script to take an URL / path as I'd ideally
like it to still be easily usable locally.
We could have it be generated locally and then uploaded as well, as another option.
maintainer-scripts/gcc_release | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index 962b8efe99a7..4cd1fa799660 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -448,6 +448,9 @@ announce_snapshot() {
SNAPSHOT_INDEX=${RELEASE}/index.html
changedir "${SNAPSHOTS_DIR}"
+ # Create an index if it doesn't already exist and populate it before we add
+ # the new snapshot.
+ ${PYTHON} ${SOURCE_DIRECTORY}/contrib/generate_snapshot_index.py || error "Failed to generate snapshot index"
echo \
"Snapshot gcc-"${RELEASE}" is now available on
https://gcc.gnu.org/pub/gcc/snapshots/"${RELEASE}"/
@@ -514,6 +517,9 @@ Last modified "${TEXT_DATE}"
rm -f LATEST-${BRANCH}
ln -s ${RELEASE} LATEST-${BRANCH}
+ # Add the snapshot we just made to the index
+ printf "${RELEASE} ${GITREV}\n" >> known_snapshots.txt
+
inform "Sending mail"
export QMAILHOST=gcc.gnu.org
@@ -617,6 +623,7 @@ GZIP="${GZIP:-gzip --best}"
SCP="${SCP:-scp -p}"
SSH="${SSH:-ssh}"
TAR="${TAR:-tar}"
+PYTHON="${PYTHON:-python3}"
########################################################################
# Command Line Processing
From patchwork Thu Nov 2 08:39:07 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Sam James
X-Patchwork-Id: 160809
Return-Path:
Delivered-To: ouuuleilei@gmail.com
Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp207225vqu;
Thu, 2 Nov 2023 01:42:21 -0700 (PDT)
X-Google-Smtp-Source:
AGHT+IHHHbpM8iocBKNm8UaNtVnzE0/LH4g/OHJcH6xidIAicT/FELfsBBeyNlhoSqmGRknr18Vc
X-Received: by 2002:a25:ccd3:0:b0:d9a:4fe7:d374 with SMTP id
l202-20020a25ccd3000000b00d9a4fe7d374mr13530269ybf.6.1698914541644;
Thu, 02 Nov 2023 01:42:21 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1698914541; cv=pass;
d=google.com; s=arc-20160816;
b=GqkzvAThA5NhS2xJDI2WTFCx18DH4hrA6FM53IWTOt1P8ibnCmxlt9ThS8A1L8I0rk
Fy1LYC0kyPe43f7WANR82m6mqnWzie7cHcqj0qZvC+3C3B+agmP4FQ9ccVXV/lANxgLg
jsXbiYQnAMRnDpOJr5j1sju11U4rrnbtpwVPgJi0mA7/nEd+MhInTos0IfHVuh/sUYKH
kHFN0bYreq9Lbr9OccNcDnI8pygtzZi1aXF+8IvPJexxBzD6gIbXIgyg14uq8arwRVIa
YmsxQ+oXXvHNwqdSNzi6w4NONGsEe+ELojPAGOXxKNXNKq1e/XofOLvAVj/qmSQOHtI0
10HA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=errors-to:list-subscribe:list-help:list-post:list-archive
:list-unsubscribe:list-id:precedence:content-transfer-encoding
:mime-version:references:in-reply-to:message-id:date:subject:cc:to
:from:arc-filter:dmarc-filter:delivered-to;
bh=AB2AEkpi0co8FvhCqjgE4DRWGVm0du6m2iR8aBGKU10=;
fh=lhAG8ssliBigPOPTNpUmgPeKTFWUg1eGxz7YimpjSKA=;
b=IAhQSF5GUNWAeM3LNVqd/39DNq5xo3J0KIjQOcz113fMdhYUQEXgH/S3ER9+PgS/IG
jFtSEd3tQP0QB/QzAxrQ4qhKy2rSEADZVGkY7jqXsDwwjdbWBPcXlB+yVYwgnRzq0MWi
yUZo3CJN3wh+KPyxobiHFQCAWxHhGlVACA7GGAQjdJtkUlY97+eUtB7R7s1CbTDjzT5X
h9gUOiP9pWzVHq7G9at+s9Lj5EO1zKUC5xgCKg6gWBstWa48bggc+HnCtFbLNYvlf3fi
z4o7qHSO4V1x10hSw7Ff2RlprBGHKyZB9OhZIkAW3zWYcswNewnRrhSRcXZVgcunRK6J
9mfg==
ARC-Authentication-Results: i=2; mx.google.com;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org
Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97])
by mx.google.com with ESMTPS id
l19-20020ad44533000000b0065b0b5600fcsi3951497qvu.41.2023.11.02.01.42.21
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 02 Nov 2023 01:42:21 -0700 (PDT)
Received-SPF: pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender) client-ip=8.43.85.97;
Authentication-Results: mx.google.com;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id 4900D3856DE8
for ; Thu, 2 Nov 2023 08:42:20 +0000 (GMT)
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
by sourceware.org (Postfix) with ESMTP id 02A9D3858C2C
for ; Thu, 2 Nov 2023 08:41:18 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 02A9D3858C2C
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gentoo.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 02A9D3858C2C
Authentication-Results: server2.sourceware.org;
arc=none smtp.remote-ip=140.211.166.183
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698914488; cv=none;
b=rg76Tl66mQhOQrwM5RUCjndwMFpYq24BK7+QEpmpXrwEsPBTjiw5M8dwjcM1PQNY5jOUzz+kKB6Ny7B+IOXjWPAfCxTe2C0YR9Gn2wu+0LisAm+1C2ioKC+44KkGgxK82sxns77tRfAxOwubnQueqfjIGrqc0hJu1OSERb6vVEI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1698914488; c=relaxed/simple;
bh=SXrEyFlRGa+AvZIZK7NOdK8KJJf9r1WO3sYTI6MWqUc=;
h=From:To:Subject:Date:Message-ID:MIME-Version;
b=WJe0MjM0mqO71KdpsGlhQxSgTsF1txcER9NpbBVGm4SvRYiBpLt5dp5kV0Y3ldUcdXzoNC7oHzxh4eoCGqzLvH1BOcb7GSNdkMMoGZBx2rDC+t4+8BchsFAjb6rJklbwGh5VWCnXSUlBKg7HUoHRt5W/7B1asU7i5zt0wIBoBPg=
ARC-Authentication-Results: i=1; server2.sourceware.org
From: Sam James
To: gcc-patches@gcc.gnu.org
Cc: Sam James
Subject: [PATCH 3/4] maintainer-scripts/gcc_release: use HTTPS for links
Date: Thu, 2 Nov 2023 08:39:07 +0000
Message-ID: <20231102084058.1142941-3-sam@gentoo.org>
X-Mailer: git-send-email 2.42.0
In-Reply-To: <20231102084058.1142941-1-sam@gentoo.org>
References: <20231102084058.1142941-1-sam@gentoo.org>
MIME-Version: 1.0
X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, GIT_PATCH_0,
JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_MSPIKE_H3,
RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: gcc-patches@gcc.gnu.org
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: Gcc-patches mailing list
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org
X-getmail-retrieved-from-mailbox: INBOX
X-GMAIL-THRID: 1781441014492319914
X-GMAIL-MSGID: 1781441014492319914
maintainer-scripts/
* gcc_release: Use HTTPS for links.
Signed-off-by: Sam James
---
maintainer-scripts/gcc_release | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index 4cd1fa799660..cf6a5731c609 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -25,7 +25,7 @@
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
-# .
+# .
#
########################################################################
@@ -454,7 +454,7 @@ announce_snapshot() {
echo \
"Snapshot gcc-"${RELEASE}" is now available on
https://gcc.gnu.org/pub/gcc/snapshots/"${RELEASE}"/
-and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
+and on various mirrors, see https://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC "${BRANCH}" git branch
with the following options: "git://gcc.gnu.org/git/gcc.git branch ${GITBRANCH} revision ${GITREV}"
@@ -472,7 +472,7 @@ You'll find:
GCC "${RELEASE}" Snapshot
-The GCC Project makes
+
The GCC Project makes
periodic snapshots of the GCC source tree available to the public
for testing purposes.
From patchwork Thu Nov 2 08:39:08 2023
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Sam James
X-Patchwork-Id: 160810
Return-Path:
Delivered-To: ouuuleilei@gmail.com
Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp207269vqu;
Thu, 2 Nov 2023 01:42:28 -0700 (PDT)
X-Google-Smtp-Source:
AGHT+IFZXyxmRV5Ykc5LcEM8TA2IqvY+JUbVxxcftlXMmHacWIBbS12ys6ZKPeADxjXi0t8TCYM3
X-Received: by 2002:a05:6830:264a:b0:6d3:1e5a:d927 with SMTP id
f10-20020a056830264a00b006d31e5ad927mr4185892otu.5.1698914548520;
Thu, 02 Nov 2023 01:42:28 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1698914548; cv=pass;
d=google.com; s=arc-20160816;
b=U+rN+3x899LUKBxljnXyCpxanCJWNFXGiqHQIteVQ1FParZQNPjfHB7mFckCBk6VWM
aHpnJ8WCOpsNcZMDHdneAE4a9tab7PItC67ZD3Sr6xE7uAZZ7Aanef6CXQ7g3w6inDXB
jM8UcXY4wqWzHPZFX4dC7kTliNCa0XoMeaswE4gndWcUStiH9+rnXRGBDknuEnwc6Yi+
m6R4u6RPx+Nqw3lUjd8lgaaFS8ZSEnX2JPQyJyTVGFvwN5gdI+Fh25cEqpvHCOV31G1U
UGyBXGBaMEdbZ0agy45EcTzJtx03L2crRIIcQBa9mbC1uk+K9AXyYyoNanCIpbU0oeb5
TtUA==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20160816;
h=errors-to:list-subscribe:list-help:list-post:list-archive
:list-unsubscribe:list-id:precedence:content-transfer-encoding
:mime-version:references:in-reply-to:message-id:date:subject:cc:to
:from:arc-filter:dmarc-filter:delivered-to;
bh=gv+MOxt7HhXnNBSfcpGl6deJX7F19QN5wuCBkO1PszI=;
fh=lhAG8ssliBigPOPTNpUmgPeKTFWUg1eGxz7YimpjSKA=;
b=uUie2ornXSIinISYJb1DkT3Fcf5ilW9UNujQiUfAVfUN587Uz7DIpTHWk+6Q9XVnTX
nndcfDTvIIEVna85rPtVdgSKCaUcsyHrTqTiQocFV3x/qy1hWmCgn08kX3pGRbIF6EXh
D4qO+EyE5BGVpYPIL3IPmyrp/0LUHVXqzMLX4m5mDZdSGU91SJY+6DBHOnTyB9JE2PGu
P7YjDbCbHBz2UFnR9xK56EZKzYYpWdxaZc6b/klzJz/1uia93CdJJiOVMM8+7mo0q2BR
p3xR97tJc9/TsiCtbiq2Fd3KQJqDDYIHPVFkf7NiWEHjrRm/F/sTBvZwCu71n6Kx/jsL
fZhA==
ARC-Authentication-Results: i=2; mx.google.com;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org
Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97])
by mx.google.com with ESMTPS id
s12-20020a05622a178c00b0041e7729836esi4223728qtk.69.2023.11.02.01.42.28
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 02 Nov 2023 01:42:28 -0700 (PDT)
Received-SPF: pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender) client-ip=8.43.85.97;
Authentication-Results: mx.google.com;
arc=pass (i=1);
spf=pass (google.com: domain of
gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as
permitted sender)
smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org";
dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gentoo.org
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id BD861385770F
for ; Thu, 2 Nov 2023 08:42:26 +0000 (GMT)
X-Original-To: gcc-patches@gcc.gnu.org
Delivered-To: gcc-patches@gcc.gnu.org
Received: from smtp.gentoo.org (smtp.gentoo.org
[IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
by sourceware.org (Postfix) with ESMTP id 08A3B3858C2D
for ; Thu, 2 Nov 2023 08:41:20 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 08A3B3858C2D
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gentoo.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 08A3B3858C2D
Authentication-Results: server2.sourceware.org; arc=none
smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698914488; cv=none;
b=OC0ILAjxEWWcXWpCAOkJhYSIIJuABLhnpNgTEtV7p3yelfryBJqrV5JHib9HwEzDMuDC+hjVp0SXaIRvDlpUkofLRqOTWnuTCgDnELTXC7BogDoAGyAOI9ENMqgMJ/ffodZ4L7VmJLP5e7O/uA9/7x4FrSzqk5nTS1ZgoIpn2kI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1698914488; c=relaxed/simple;
bh=9Tk87XZmWR4GKgSWb2n9V/LL0BHKT2Bri0chcm6aQKQ=;
h=From:To:Subject:Date:Message-ID:MIME-Version;
b=T3nyLKj1/AeEcwIHjgA6BWVx0zsS/+htv1awhvVO1z8WQnDlRpsXSB4AmcPQN2HvocxnvfyoPXDHeKnQMa0j7y5yUs2SSFoUllFLrXxFFTlMkSBpwE13dobY/HfKPKpy2oj1BEjmar3uu/LwT6mda1+uL3wfIY0f6K9eKZLySQw=
ARC-Authentication-Results: i=1; server2.sourceware.org
From: Sam James
To: gcc-patches@gcc.gnu.org
Cc: Sam James
Subject: [PATCH 4/4] maintainer-scripts/gcc_release: cleanup whitespace
Date: Thu, 2 Nov 2023 08:39:08 +0000
Message-ID: <20231102084058.1142941-4-sam@gentoo.org>
X-Mailer: git-send-email 2.42.0
In-Reply-To: <20231102084058.1142941-1-sam@gentoo.org>
References: <20231102084058.1142941-1-sam@gentoo.org>
MIME-Version: 1.0
X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, GIT_PATCH_0,
JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: gcc-patches@gcc.gnu.org
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: Gcc-patches mailing list
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org
X-getmail-retrieved-from-mailbox: INBOX
X-GMAIL-THRID: 1781441021732580621
X-GMAIL-MSGID: 1781441021732580621
maintainer-scripts/
* gcc_release: Cleanup whitespace.
Signed-off-by: Sam James
---
maintainer-scripts/gcc_release | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/maintainer-scripts/gcc_release b/maintainer-scripts/gcc_release
index cf6a5731c609..965163b65b74 100755
--- a/maintainer-scripts/gcc_release
+++ b/maintainer-scripts/gcc_release
@@ -153,7 +153,7 @@ build_sources() {
# Update this ChangeLog file only if it does not yet contain the
# entry we are going to add. (This is a safety net for repeated
# runs of this script for the same release.)
- if ! grep "GCC ${RELEASE} released." ${SOURCE_DIRECTORY}/${x} > /dev/null ; then
+ if ! grep "GCC ${RELEASE} released." ${SOURCE_DIRECTORY}/${x} > /dev/null ; then
cat - ${SOURCE_DIRECTORY}/${x} > ${SOURCE_DIRECTORY}/${x}.new <The GCC Project makes
periodic snapshots of the GCC source tree available to the public
for testing purposes.
-
+
If you are planning to download and use one of our snapshots, then
we highly recommend you join the GCC developers list. Details for
how to sign up can be found on the GCC project home page.
@@ -484,7 +484,7 @@ how to sign up can be found on the GCC project home page.
with the following options: "git://gcc.gnu.org/git/gcc.git branch ${GITBRANCH} revision ${GITREV}"
" > ${SNAPSHOT_INDEX}
-
+
snapshot_print gcc-${RELEASE}.tar.xz "Complete GCC"
echo \
@@ -554,7 +554,7 @@ FTP_PATH=/var/ftp/pub/gcc
# The directory in which snapshots will be placed.
SNAPSHOTS_DIR=${FTP_PATH}/snapshots
-# The major number for the release. For release `3.0.2' this would be
+# The major number for the release. For release `3.0.2' this would be
# `3'
RELEASE_MAJOR=""
# The minor number for the release. For release `3.0.2' this would be
@@ -566,7 +566,7 @@ RELEASE_REVISION=""
# The complete name of the release.
RELEASE=""
-# The name of the branch from which the release should be made, in a
+# The name of the branch from which the release should be made, in a
# user-friendly form.
BRANCH=""