From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: Use of "Action stamps" in commit messages Date: Sat, 14 Jul 2018 10:49:58 +0100 Message-ID: <86601idu49.fsf@gmail.com> References: <85f9a968-ba72-5b00-761e-a4449b073a7f@cs.ucla.edu> <20180713181520.GD28072@thyrsus.com> <834lh3c67s.fsf@gnu.org> <20180713190615.GA10799@thyrsus.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531561699 13589 195.159.176.226 (14 Jul 2018 09:48:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Jul 2018 09:48:19 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 14 11:48:14 2018 Return-path: 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 ) id 1feH9y-0003PY-P3 for ged-emacs-devel@m.gmane.org; Sat, 14 Jul 2018 11:48:14 +0200 Original-Received: from localhost ([::1]:40685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feHC4-0002PS-05 for ged-emacs-devel@m.gmane.org; Sat, 14 Jul 2018 05:50:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1feHBw-0002Ov-T9 for emacs-devel@gnu.org; Sat, 14 Jul 2018 05:50:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1feHBt-0004j7-Ra for emacs-devel@gnu.org; Sat, 14 Jul 2018 05:50:16 -0400 Original-Received: from [195.159.176.226] (port=59574 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1feHBt-0004iU-KD for emacs-devel@gnu.org; Sat, 14 Jul 2018 05:50:13 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1feH9j-0003B9-UG for emacs-devel@gnu.org; Sat, 14 Jul 2018 11:47:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:6W5ap8lpEiLcC00e0lp79KNa46Q= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:227390 Archived-At: On Fri 13 Jul 2018, Eric S. Raymond wrote: > Eli Zaretskii : >> I'm not sure having hyperlinks justifies the trouble of having to >> concoct those stamps. In a repository such as we have in Emacs, a >> time stamp should allow you to find the commit fairly easily, I think. > > While this is true, experience leads me to fear a proliferation of > varying and damaged timestamp formats uttered by people in a hurry. If people are in a hurry, they should not be comitting changesets in the first place. > Only a convention as simple and strong as action stamps has any > hope of being effective against this sort of drift. THe linus kenel convention of shortened git sha1 plus commit message summary line works well in that project. However, they also use pre-commit review with only maintainers having push access to the repo, and use automated tooling to ensure that the commit descriptions are in the correct format. The requirements for pre-commit review is what keeps everything working. AndyM