From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!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: Thu, 03 Oct 2019 08:53:44 -0400 Message-ID: <87bluy7zxj.fsf@gmail.com> References: <86617on3so.fsf@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="124117"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 20609@debbugs.gnu.org, Dmitry Gutov To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 03 14:54:26 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iG0cj-000Vwe-KQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2019 14:54:25 +0200 Original-Received: from localhost ([::1]:35988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG0ci-00009A-Gd for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Oct 2019 08:54:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48007) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG0cO-0008MF-H0 for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 08:54:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG0cN-0003Uh-DA for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 08:54:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iG0cM-0003UO-Fo for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 08:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iG0cM-00029W-Bn for bug-gnu-emacs@gnu.org; Thu, 03 Oct 2019 08:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2019 12:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20609 X-GNU-PR-Package: emacs Original-Received: via spool by 20609-submit@debbugs.gnu.org id=B20609.15701072338256 (code B ref 20609); Thu, 03 Oct 2019 12:54:02 +0000 Original-Received: (at 20609) by debbugs.gnu.org; 3 Oct 2019 12:53:53 +0000 Original-Received: from localhost ([127.0.0.1]:38924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG0cD-000296-Cs for submit@debbugs.gnu.org; Thu, 03 Oct 2019 08:53:53 -0400 Original-Received: from mail-io1-f44.google.com ([209.85.166.44]:44501) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG0cB-00028r-Q8 for 20609@debbugs.gnu.org; Thu, 03 Oct 2019 08:53:52 -0400 Original-Received: by mail-io1-f44.google.com with SMTP id w12so5120522iol.11 for <20609@debbugs.gnu.org>; Thu, 03 Oct 2019 05:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Jd1p+YwGwpBMR6hhhofm+GO/XzFP5r3a+HRxMXsZ2qE=; b=LFbhzTt5aGXJAykCe/4ButWbruOBnPv3rlGs6iFU6745FJDcMQZyhCDyZpZk0LzvFx MpQ5MNlo0KUTDxlZgPO9nsHza4Sa/NzxnZTU4ltip1EGLORe0cq0SlM8MJvhR5boruZy hWQALgGqKUUDXZtpJiE/NlJMN1/9IXeyfNVjqSQxX7ZYH2+fIEUSJjifvhf+E9GFnfBI p6U30QVfh5ZqqGi+hcgfQKPrOK7OWairWemxR6KkdBj8Q3oGhRbPV5q95WlV3t1AgXLc tlSw6hpfx5ERIYMTeMGL/WiHBcZ/pEuU1l4cuYEbmMVcjHWXzYBQRZAs5+rmbvKJrnn6 V5kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Jd1p+YwGwpBMR6hhhofm+GO/XzFP5r3a+HRxMXsZ2qE=; b=ZNT+BTpHxbx8MWjXRV8y2eEohEv/hVZqw0lQb+6VBPbx4qUdeKYUyuOH+FYorQIi9I YZ366SWZL5H/JfH3Eie1LILXOnt50OI+mbsvZFSy/HASO3yDrXx5+VeMhphtpg00sNBP 9zRqq63VgxzoTKlwyDuGfApncIwTeGl5xcxKbxGinuppRYXQ28rBDB5fbt9N5tBvmu2S Wo/J2tW33bLSx+P5jx2HEbAPrAOX0s8A6xjKb05kiYTAME3dbHg4j6gaBJAZZmJxdeug l9VEZG3BTsWZtICWd6RDG/B3MqIybV4KerGxV3ZjVbpqRC5dmWk2BCIgXKrl/U2UfbxM LCAA== X-Gm-Message-State: APjAAAUB6thOClMgj/hVU5TJ79yHProBHtcfl2AUWrdq4RVfjbiN2oBb yE+/NmUMJtYQiMVJZydOu58= X-Google-Smtp-Source: APXvYqzwDIlOTiulA89dQ/Buzfp5zrPLy6TtV2Iis46PEq31ZrVi4VpGEN/JcUR4FBluoFF/OXlHgg== X-Received: by 2002:a6b:591a:: with SMTP id n26mr7900160iob.74.1570107225964; Thu, 03 Oct 2019 05:53:45 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id i14sm1149304ilq.38.2019.10.03.05.53.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Oct 2019 05:53:45 -0700 (PDT) In-Reply-To: (Stefan Kangas's message of "Mon, 30 Sep 2019 01:57:17 +0200") 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: 209.51.188.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:168214 Archived-At: Stefan Kangas writes: > Noam Postavsky writes: > >> 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. I can add to this, it's not entirely clear whether the timestamp is committer or author. https://gitlab.com/esr/reposurgeon/issues/144 >> Giving just the date (no timestamp) plus summary line should be unique >> enough, and is very human readable. > > Nothing has happened here in two years, There was some discussion on emacs-devel, https://lists.gnu.org/r/emacs-devel/2018-07/msg00461.html > but I think it's a good idea to get rid of action stamps and replace > them with something that we can easily generate. Noam's proposal > seems to solve that. Yeah, I'm still inclined to remove action stamps. I guess we should also add a way to easily generate date + summary given a commit hash (giving the the git repo may be needed as well, e.g., for cases where your mail buffer doesn't live in the git repository you're talking about).