From patchwork Tue Aug 30 04:00:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1671684 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=r7TfMDWi; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MGtsK0tbSz1yhy for ; Tue, 30 Aug 2022 14:01:23 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EC4CA3986427 for ; Tue, 30 Aug 2022 04:01:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EC4CA3986427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1661832073; bh=gI+RY28lLZ5zkH/vzlmbnrOToVV7i66bhs5Q40Lqdps=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=r7TfMDWilz9a/CuW329l3Wv1+iUBCMhSUMz4nF/q3jN/WDtwyNccPnHwgKtz30I3h qTC+enyPYrZDZj0GkIIfTbWQVm4XSqKDI4Fza5pHaf1aUnuupfy9RO0biIKEPWjSJe 9FD7maS/f1A4V+sbT6PQ7IVo8h7yI1OPENCAfxl0= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id A8EF63986409 for ; Tue, 30 Aug 2022 04:00:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A8EF63986409 Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-502-EzEdUoRdPXWSlT4-oR0_xQ-1; Tue, 30 Aug 2022 00:00:35 -0400 X-MC-Unique: EzEdUoRdPXWSlT4-oR0_xQ-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6E3203815D25 for ; Tue, 30 Aug 2022 04:00:35 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.49]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C834B2166B26 for ; Tue, 30 Aug 2022 04:00:34 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH] scripts/build-many-glibcs.py: Use https:// for sourceware.org Git clones Date: Tue, 30 Aug 2022 06:00:33 +0200 Message-ID: <871qsy753y.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Florian Weimer via Libc-alpha From: Florian Weimer Reply-To: Florian Weimer Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" Tested by running a checkout with these changes. No observed speed difference; sourceware.org nowadays implements the Git protocol over https://. --- scripts/build-many-glibcs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) base-commit: d0e357ff45a75553dee3b17ed7d303bfa544f6fe diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 98f02104a2..283e6fe738 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -854,7 +854,7 @@ class Context(object): """Check out the given version of the given component from version control. Return a revision identifier.""" if component == 'binutils': - git_url = 'git://sourceware.org/git/binutils-gdb.git' + git_url = 'https://sourceware.org/git/binutils-gdb.git' if version == 'mainline': git_branch = 'master' else: @@ -868,7 +868,7 @@ class Context(object): branch = 'releases/gcc-%s' % version return self.gcc_checkout(branch, update) elif component == 'glibc': - git_url = 'git://sourceware.org/git/glibc.git' + git_url = 'https://sourceware.org/git/glibc.git' if version == 'mainline': git_branch = 'master' else: @@ -957,7 +957,7 @@ class Context(object): shutil.rmtree(self.component_srcdir('gcc')) update = False if not update: - self.git_checkout('gcc', 'git://gcc.gnu.org/git/gcc.git', + self.git_checkout('gcc', 'https://gcc.gnu.org/git/gcc.git', branch, update) subprocess.run(['contrib/gcc_update', '--silent'], cwd=self.component_srcdir('gcc'), check=True)