From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id OACMKAYfY2BkaAAAWB0awg (envelope-from ) for ; Tue, 30 Mar 2021 08:52:22 -0400 Received: by simark.ca (Postfix, from userid 112) id 9662E1EE0E; Tue, 30 Mar 2021 08:52:22 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id D6CF81E783 for ; Tue, 30 Mar 2021 08:52:21 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3CD6B38515E4; Tue, 30 Mar 2021 12:52:21 +0000 (GMT) Received: from rock.gnat.com (rock.gnat.com [IPv6:2620:20:4000:0:a9e:1ff:fe9b:1d1]) by sourceware.org (Postfix) with ESMTP id 8BED438515E4; Tue, 30 Mar 2021 12:52:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8BED438515E4 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brobecker@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 603611172EA; Tue, 30 Mar 2021 08:52:18 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ga9vaTT56Fkf; Tue, 30 Mar 2021 08:52:18 -0400 (EDT) Received: from float.home (localhost.localdomain [127.0.0.1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPS id EBAD411709D; Tue, 30 Mar 2021 08:52:17 -0400 (EDT) Received: by float.home (Postfix, from userid 1000) id C9897A1242; Tue, 30 Mar 2021 16:52:12 +0400 (+04) Date: Tue, 30 Mar 2021 16:52:12 +0400 From: Joel Brobecker To: Martin =?utf-8?B?TGnFoWth?= , Binutils , gdb-patches@sourceware.org Subject: Re: Please enable fast forward for user branches Message-ID: <20210330125212.GG11111@adacore.com> References: <1af95023-580d-6774-c307-1a38bf3dc073@suse.cz> <20210330040939.GC11111@adacore.com> <20210330061717.GD11111@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" > > Actually, we do use the git-hooks (https://github.com/adacore/git-hooks) > > which allow per-reference configuration of that restriction. That's > > what I was trying to explain in my message. > > gotcha > > iiuc, the hooks are only accessible to a handful of devs who have admin > access (i.e. ssh terminal on sourceware.org). could we move these to > git themselves ? in past admin roles, i'd setup the hooks as yet another > git repo for people to clone so people could send patches, or if review > systems were available, to send PR's. only admins could approve, but > everyone could still contribute & review directly. The configuration is actually already accessible through Git, inside the repository itself. The location is inspired from Gerrit: It's in a file called project.config in the special reference refs/meta/config. The hooks themselves are under GitHub, and there is what I hope a good reference README.md file that explains how to use the hooks. -- Joel