From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id CDD653819EA2; Wed, 8 Jun 2022 12:36:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CDD653819EA2 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.91,286,1647331200"; d="scan'208,223";a="76964711" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 08 Jun 2022 04:36:13 -0800 IronPort-SDR: bTRm3Oq49p5p0bBWUQC2sf36ZVnj6qherShplnJp0f1o+tc3bUJBx8FedKp1q5xoHt/yZgReSW 9b7ELZZ79rGXvkd9RLiEyWFpocAO8VuFEemBNfc5Ze/gooF+rGavCtI6Qbobb3OjH/ZZTSPRKP X4R6D/Tw6TVq9YjYZG6RN7+hUdPX5ohTjVBbisJUHPd0YJVQVMRpL3Q/1fBm5UoD6z75neRNnX hmZPLZ+Z0wSOdnH99eqDTX1AC4QFHFbwHEOu7e0oF7i12AQ0Cz3ukpOojypaeec7YP3xxj4Yy1 gsI= From: Thomas Schwinge To: Joseph Myers , Philip Herron , , , Subject: Re: GCC Rust git branch In-Reply-To: References: <5b2057ae-039c-6805-20fe-133df71c120e@embecosm.com> User-Agent: Notmuch/0.29.3+94~g74c3f1b (https://notmuchmail.org) Emacs/27.1 (x86_64-pc-linux-gnu) Date: Wed, 8 Jun 2022 14:36:06 +0200 Message-ID: <87czfjqqmh.fsf@euler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-14.mgc.mentorg.com (139.181.222.14) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_MSPIKE_H2, 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-rust@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: gcc-rust mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2022 12:36:17 -0000 --=-=-= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi! This is about GCC/Rust, , now also having a presence in GCC upstream Git sources; see also "GCC Git Branch". On 2021-05-24T16:24:38+0000, Joseph Myers wrote: > On Mon, 24 May 2021, Philip Herron wrote: > >> remote: error: hook declined to update refs/heads/gccrs > > refs/heads/gccrs doesn't match the branch naming conventions as documente= d > at https://gcc.gnu.org/git.html (where you'd use refs/heads/devel/* for > shared development branches), so if you hadn't had commit message > formatting issues, the push would have been rejected for bad branch namin= g > as well. > >> The commit message here is poorly formatted. To move forward, should I >> rebase the tree to fix this commit and force push to rewrite the >> history? Or is there a way to relax the rule for a new branch? Any >> advice would be welcome. > > If the community desires to relax the checks in a particular case, the wa= y > to do it would probably be to set hooks.no-precommit-check, naming the > agreed branch name, temporarily in refs/meta/config:project.config, then > revert that project.config change afterwards. See > https://github.com/AdaCore/git-hooks for the detailed documentation of > hook configuration. Thanks. I've thus pushed to refs/meta/config branch commit 15e03be6fc6406e41c75ff95a9de449663fc9f0e "Enable 'no-precommit-check' for GCC/Rust development branches, 'devel/rust/*'", see attached. I've further pushed to gcc-wwwdocs commit 325020ef06c714fbfd508d57e3f0bda272470464 "Document Git branch devel/rust/master", see attached. I've also set up GCC Bugzilla: - Add new component *rust*: . - Add new version *rust/master*: . Gr=C3=BC=C3=9Fe Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstra=C3=9Fe 201= , 80634 M=C3=BCnchen; Gesellschaft mit beschr=C3=A4nkter Haftung; Gesch=C3= =A4ftsf=C3=BChrer: Thomas Heurung, Frank Th=C3=BCrauf; Sitz der Gesellschaf= t: M=C3=BCnchen; Registergericht M=C3=BCnchen, HRB 106955 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename="0001-Enable-no-precommit-check-for-GCC-Rust-development-b.patch" >From 15e03be6fc6406e41c75ff95a9de449663fc9f0e Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 8 Jun 2022 12:00:04 +0200 Subject: [PATCH] Enable 'no-precommit-check' for GCC/Rust development branches, 'devel/rust/*' --- project.config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/project.config b/project.config index b7bdaf30b9e..5905fe26272 100644 --- a/project.config +++ b/project.config @@ -87,3 +87,9 @@ # Custom email formatter. This inserts GCC monotonically # increasing commit ids in the commit emails. commit-email-formatter = /git/gcc.git/hooks-bin/commit_email_formatter + + # For GCC/Rust development that happens outside of GCC proper, + # , the Git commit messages + # don't always adhere to standard GCC style; see + # . + no-precommit-check = refs/heads/devel/rust/.* -- 2.35.1 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename="0001-Document-Git-branch-devel-rust-master.patch" >From 325020ef06c714fbfd508d57e3f0bda272470464 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 8 Jun 2022 14:21:06 +0200 Subject: [PATCH] Document Git branch devel/rust/master --- htdocs/git.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/git.html b/htdocs/git.html index 5fbd98bf..f9acea54 100644 --- a/htdocs/git.html +++ b/htdocs/git.html @@ -349,6 +349,12 @@ in Git.

implementation of Fortran coarrays. It is maintained by Nicolas König. +
devel/rust/master
+
+ This branch is for development of + Rust programming language + support in GCC. +

Distribution Branches

-- 2.35.1 --=-=-=--