From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#20609: 25.0.50; How to I easily generate the "action stamp" given a commit hash? Date: Mon, 27 Nov 2017 08:08:24 -0500 Message-ID: <874lpfoomv.fsf@users.sourceforge.net> References: <86617on3so.fsf@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: blaine.gmane.org 1511788165 23722 195.159.176.226 (27 Nov 2017 13:09:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Nov 2017 13:09:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 20609@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 27 14:09:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1eJJ9q-0005P8-Av for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Nov 2017 14:09:10 +0100 Original-Received: from localhost ([::1]:60879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJJ9x-0006Zk-NM for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Nov 2017 08:09:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eJJ9n-0006Yk-SR for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 08:09:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eJJ9i-0003ZK-1o for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 08:09:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51519) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eJJ9h-0003ZD-TB for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 08:09:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eJJ9h-0001FH-Kc for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2017 08:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Nov 2017 13:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20609 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20609-submit@debbugs.gnu.org id=B20609.15117881144752 (code B ref 20609); Mon, 27 Nov 2017 13:09:01 +0000 Original-Received: (at 20609) by debbugs.gnu.org; 27 Nov 2017 13:08:34 +0000 Original-Received: from localhost ([127.0.0.1]:60200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJJ9G-0001Ea-1R for submit@debbugs.gnu.org; Mon, 27 Nov 2017 08:08:34 -0500 Original-Received: from mail-io0-f176.google.com ([209.85.223.176]:43725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eJJ9F-0001EO-0k for 20609@debbugs.gnu.org; Mon, 27 Nov 2017 08:08:33 -0500 Original-Received: by mail-io0-f176.google.com with SMTP id s37so25290819ioe.10 for <20609@debbugs.gnu.org>; Mon, 27 Nov 2017 05:08:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=j0t2EQpYvktUyjvSQfMgNwTNhZy2l0w+cZO7AguEhfw=; b=F7IA7iBnAWyHpH9/HXMpxpvxZCP8XX9v2aw7BtHnLHjIezMydbFC+JVtnwoMJEwf6R IDGR3NqUfrwZ3U7/83fJ39vqV1abWfAh3WNRZPpR0PsnqoTtXbLIiWi9yyesmsHi2i49 JvL2Px3AI17T3hGg+gReryxHA0K4ircQ198CnbQ+/Cbm4bR5EEN5xeB4XATtCQLKriAJ P07ugmSTpONL9UBFVij0o8UXEx5LFcc5Z+iGm87aFwyocKc/qj01YQEgwtIk83UyK9rd dubO0kCGS/2Cnq2KS4yvZapfeX7O60j9jtUSGe6cC/btK7O2wYbZZhkNe7ODYGcZDmjY mxAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=j0t2EQpYvktUyjvSQfMgNwTNhZy2l0w+cZO7AguEhfw=; b=msH4Of+Rnho+l9XvhzZN9uImsR7PEvSH1RpLwL7LcRmG5ALUe/4Txj6mJRXD6cibn4 BQlLb1+9wei74Xe/jilkehJd23WnaYwy7fUmVWdmI5QHu1MVGgg9fotx3dj7E8WxUgBM Z9LqsGQTYlXSPm52Mr0wMUu/VpzAhR9rFF1PGAzcgdsLNLGeO0mGVDZZQQbUS8kDqtrE hY+ZOEC2fNR2A0JnPS5ybz0oYykMA1w37RYVNfhq+I+Eirl3HUhYUokmJ0FxsfG9lMFH R7Afae2VAQXeILUJF2u2GFSvOaSXlYNRMiS5Qv9LTpE12bUgp+flIePZ5ztbeYuE+KzK ZQ/w== X-Gm-Message-State: AJaThX4h8cFK0c0s6sXKQPJpv1wKffgvd/qM71A4FKeE4yq561I539Eq Jp1zm6lQB5afRz36jlKnz7DFFw== X-Google-Smtp-Source: AGs4zMY1JoFVtk8A4JEQ7nm9pJAtxTqKlwFVgIMimTsTqp9qDwcvJP1mIUOmmY7zg+o6Jb/uyx+/6g== X-Received: by 10.107.81.16 with SMTP id f16mr43401025iob.192.1511788107227; Mon, 27 Nov 2017 05:08:27 -0800 (PST) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id a17sm11833153ioe.55.2017.11.27.05.08.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Nov 2017 05:08:25 -0800 (PST) In-Reply-To: <86617on3so.fsf@yandex.ru> (Dmitry Gutov's message of "Tue, 19 May 2015 15:35:19 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140454 Archived-At: --=-=-= Content-Type: text/plain Dmitry Gutov writes: > CONTRIBUTE prohibits referencing commits the easy way, and instead asks > me to use "RFC3339 date followed by followed by the committer's email". > > If reversing this decision is not an option I would like to propose doing away with this "action stamp" thing. It is okay for its original purpose: an almost-guaranteed-unique identifier for an automated repository format conversion tool. But it is not very human-readable. It is fairly awkward to come up with a git command that comes up with the correct UTC timestamp. We hardly use it anyway. Giving just the date (no timestamp) plus summary line should be unique enough, and is very human readable. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-CONTRIBUTE-Don-t-recommend-action-stamps-Bug-20609.patch Content-Description: patch >From e2bfcc9f9a51e33215d30d4226216c029c182ec3 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Mon, 27 Nov 2017 07:56:39 -0500 Subject: [PATCH] * CONTRIBUTE: Don't recommend action stamps (Bug#20609). --- CONTRIBUTE | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTE b/CONTRIBUTE index c324375bb0..79c127fbdc 100644 --- a/CONTRIBUTE +++ b/CONTRIBUTE @@ -232,10 +232,9 @@ them right the first time, so here are guidelines for formatting them: switches to a different VCS. So we recommend against that. One way to identify revisions is by quoting their summary line. - Another is with an action stamp - an RFC3339 date followed by ! - followed by the committer's email - for example, - "2014-01-16T05:43:35Z!esr@thyrsus.com". Often, "my previous commit" - will suffice. + Prefixing the summary with the commit date can give useful context + (use 'git show -s "--pretty=format:%cd \"%s\"" --date=short HASH' to + produce that). Often, "my previous commit" will suffice. - There is no need to mention files such as NEWS and MAINTAINERS, or to indicate regeneration of files such as 'lib/gnulib.mk', in the -- 2.11.0 --=-=-=--