From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: David Engster <deng@randomsample.de>
Newsgroups: gmane.emacs.devel
Subject: Re: Disable emacs-diffs mails for scratch branches
Date: Sat, 28 Jan 2017 22:00:39 +0100
Message-ID: <87o9yqzyq0.fsf@engster.org>
References: <87sho3zewk.fsf@engster.org>
	<jwvh94jmcbq.fsf-monnier+gmane.emacs.devel@gnu.org>
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain
X-Trace: blaine.gmane.org 1485637321 30376 195.159.176.226 (28 Jan 2017 21:02:01 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 28 Jan 2017 21:02:01 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)
Cc: emacs-devel@gnu.org
To: Stefan Monnier <monnier@iro.umontreal.ca>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 28 22:01:56 2017
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Envelope-to: ged-emacs-devel@m.gmane.org
Original-Received: from lists.gnu.org ([208.118.235.17])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1cXa85-0006oe-GP
	for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 22:01:49 +0100
Original-Received: from localhost ([::1]:53136 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1cXa8A-0005im-VS
	for ged-emacs-devel@m.gmane.org; Sat, 28 Jan 2017 16:01:55 -0500
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44994)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <deng@randomsample.de>) id 1cXa7C-0004ir-KW
	for emacs-devel@gnu.org; Sat, 28 Jan 2017 16:00:59 -0500
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <deng@randomsample.de>) id 1cXa78-0006hi-2z
	for emacs-devel@gnu.org; Sat, 28 Jan 2017 16:00:54 -0500
Original-Received: from randomsample.de ([5.45.97.173]:32953)
	by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
	(Exim 4.71) (envelope-from <deng@randomsample.de>)
	id 1cXa77-0006gg-OS
	for emacs-devel@gnu.org; Sat, 28 Jan 2017 16:00:50 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=randomsample.de; s=a; 
	h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From;
	bh=Lf+NDcaDdmFiFhHbkkucNUKXqoAv51zqOsK8k6VD+YY=; 
	b=BORB3LXD0y04OCnfFtJyrdgk3bagn0iKs//PkVBgMgkcWoyMZz2nQ65nF68VUK3qqCZ1Amm2Du4UBDSHV9xVdaAjYyi83Wr0b/PdPPNGtxrGaRipdKbHwYv6oQkWYMER;
Original-Received: from ip4d16b353.dynamic.kabel-deutschland.de ([77.22.179.83]
	helo=isaac)
	by randomsample.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
	(Exim 4.80) (envelope-from <deng@randomsample.de>)
	id 1cXa73-0000Fh-UZ; Sat, 28 Jan 2017 22:00:46 +0100
In-Reply-To: <jwvh94jmcbq.fsf-monnier+gmane.emacs.devel@gnu.org> (Stefan
	Monnier's message of "Sat, 28 Jan 2017 10:35:01 -0500")
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-Received-From: 5.45.97.173
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.21
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:211711
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/211711>

Stefan Monnier writes:
>> Subject says it all. Could we please do that? I think it's pretty normal
>> for scratch-Branches being deleted and pushed anew, and for large
>> branches like cedet-merge or cedet-tests this needlessly creates
>> hundreds of mails each time.
>
> I agree that those 300 emails dumps are more annoying than useful.
> But FWIW, I see two problems with your suggestion:
> 1- I don't know how to do it.

We'd have to adapt the post-receive hook, or whatever else is triggering
the mails.

> 2- I do find it very useful to see commits on scratch branches when
>    those branches are used for gradual development (e.g. the byte-switch
>    branch).

How about simply not naming those branches with the 'scratch' prefix,
then?  I was under the impression that 'scratch' means "can be
force-pushed/deleted any time, don't base your work onto it".

-David