From: Phil Sainty <psainty@orcon.net.nz>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Phil Sainty <phil@catalyst.net.nz>, emacs-devel@gnu.org
Subject: Re: [elpa] scratch/email-revision-details
Date: Sun, 08 Aug 2021 01:45:20 +1200 [thread overview]
Message-ID: <5ddc43060bafb79337ee410c8a70574d@webmail.orcon.net.nz> (raw)
In-Reply-To: <jwvwnoyk2vo.fsf-monnier+emacs@gnu.org>
On 2021-08-07 03:30, Stefan Monnier wrote:
> Feel free to push this to `master`, it looks good to me.
Done. (Well, pushed to elpa-admin.)
For the other commit (just re-pushed to my scratch branch, but
the code is unchanged), I'm not sure how to test it, aside from
testing in isolation the part which actually gets the revision
details from git for a given `release-rev' value (which I've
tested against so-long.el).
I've gone with the full compliment of author+commit timestamps
in both relative and absolute formats, which looks like this:
; * lisp/so-long.el: Bump version for the GNU ELPA build
Authored 3 days ago on Wed, 4 Aug 2021 17:17:23 +1200
Committed 3 days ago on Wed, 4 Aug 2021 17:17:23 +1200
Revision b84986af52d4e9debace2850a5ec106f51e38e61
I think they are all useful for this purpose.
The relative times are helpful because they're such an obvious
indication if the value is significantly different to what
you'd expected.
The absolute times are still useful because this is arriving
by email, and so you're never reading it at the time it was
generated.
The author time is helpful because it doesn't change when
the code is rebased; so if the commit in question was written
much earlier than the expected commit, you again get that
immediate information that something is wrong.
And the commit time is still useful alongside the author time,
as it will match the time you actually modified the that commit,
so you can mentally match those together too.
If the code looks sane to you, are you able to test it, or
let me know how to safely do that? I see the commented debug
line ahead of the (message-send) call, but I don't know whether
that's the only code that I'd need to be concerned about.
cheers,
-Phil
next prev parent reply other threads:[~2021-08-07 13:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210806151651.16524.53159@vcs0.savannah.gnu.org>
[not found] ` <20210806151653.0F131203E8@vcs0.savannah.gnu.org>
2021-08-06 15:30 ` [elpa] scratch/email-revision-details da3795b 1/2: * elpa-admin.el (elpaa--get-release-revision): Workaround git bug Stefan Monnier
2021-08-07 13:45 ` Phil Sainty [this message]
2021-08-07 22:38 ` [elpa] scratch/email-revision-details Stefan Monnier
2021-08-07 23:01 ` Stefan Monnier
2021-08-08 14:54 ` Phil Sainty
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5ddc43060bafb79337ee410c8a70574d@webmail.orcon.net.nz \
--to=psainty@orcon.net.nz \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=phil@catalyst.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.