From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Patch queue management systems Date: Thu, 11 Dec 2014 16:19:17 +0100 Message-ID: <87388mgqoa.fsf@fencepost.gnu.org> References: <546D2E75.6090701@cs.ucla.edu> <546E2899.4050702@cs.ucla.edu> <54756754.5090103@cs.ucla.edu> <54762721.4060908@cs.ucla.edu> <17zjb2h650.fsf@fencepost.gnu.org> <86mw71pl6d.fsf@yandex.ru> <83fvct145r.fsf@gnu.org> <5486F304.9030101@yandex.ru> <83iohkwy0p.fsf@gnu.org> <54872EA6.9090405@yandex.ru> <83egs8wwr6.fsf@gnu.org> <87r3w7a7sr.fsf@lifelogs.com> <87bnna5rp7.fsf@lifelogs.com> <87bnnagsi0.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418311481 31544 80.91.229.3 (11 Dec 2014 15:24:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 15:24:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 11 16:24:38 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xz5ba-0002S1-OL for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 16:24:38 +0100 Original-Received: from localhost ([::1]:52052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz5ba-0000py-9l for ged-emacs-devel@m.gmane.org; Thu, 11 Dec 2014 10:24:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz5bF-0000k7-UT for emacs-devel@gnu.org; Thu, 11 Dec 2014 10:24:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xz5b9-0001Mx-Sq for emacs-devel@gnu.org; Thu, 11 Dec 2014 10:24:17 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz5b9-0001Mt-Qq for emacs-devel@gnu.org; Thu, 11 Dec 2014 10:24:11 -0500 Original-Received: from localhost ([127.0.0.1]:52114 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xz5b9-0000s9-7p; Thu, 11 Dec 2014 10:24:11 -0500 Original-Received: by lola (Postfix, from userid 1000) id 507BFE664E; Thu, 11 Dec 2014 16:19:17 +0100 (CET) In-Reply-To: (Andreas Schwab's message of "Thu, 11 Dec 2014 15:55:35 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:179773 Archived-At: Andreas Schwab writes: > David Kastrup writes: > >> Doesn't need a separate repo: a server side commit hook refusing >> non-fast-forward pushes (more exactly: updating the reference after the >> commit object is already there) on any path not starting, say, with >> dev/, should be easily possible. > > Doesn't even need that as long as you can delete branches. Yes and no. Deleting and recreating a branch removes its reflog. If something goes wrong at the server side, it might be nice to have around. For basically ephemeral branches, this might be fine. For branches like master, one might want to disable branch deletion altogether except for possibly some privileged users. For, say, /dev/username/* one might want to restrict branch deletion/non-fastforward to the given username. A commit hook can do such things IIRC. -- David Kastrup