git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Haggerty <mhagger@alum.mit.edu>
To: Junio C Hamano <gitster@pobox.com>
Cc: Jonathan Corbet <corbet@lwn.net>, git@vger.kernel.org
Subject: Re: Announcing nntpgit
Date: Mon, 27 Feb 2012 22:02:31 +0100	[thread overview]
Message-ID: <4F4BEF67.1070609@alum.mit.edu> (raw)
In-Reply-To: <7v62evykrq.fsf@alter.siamese.dyndns.org>

On 02/24/2012 10:38 PM, Junio C Hamano wrote:
> This is something I wanted to write (or see somebody write so that I can
> use it ;-)) even before I became the maintainer of this project, as I
> practically live inside GNUS, but never got around to go beyond the design
> phase.
> 
> How do you handle message threading (References: and In-Reply-To:)?
> 
> Would a commit on the "mainline" (a rough approximation of it would be
> "log --first-parent" starting from the tip) form the discussion starter
> article, and any side branch that fork from them would be a discussion
> thread starting at the commit?

>From contrib/hooks/post-receive-email I've locally derived a Python
version that sends one email message per commit.  It generates a thread
of messages for each reference that was pushed, starting with a summary
of how the reference was changed, and one followup email for each new
commit added to that reference.  In a threaded mail reader, this groups
all of the changes to a reference due to a particular push in a thread
that can easily be expanded, collapsed, or deleted as a group.  I find
this a convenient workflow.

I believe that NNTP threading works much the same way as email
threading, so probably the same style could be used there.  My script is
still not published, though.

Michael

-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/

  parent reply	other threads:[~2012-02-27 21:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-24 20:39 Announcing nntpgit Jonathan Corbet
2012-02-24 21:38 ` Junio C Hamano
2012-02-24 21:43   ` Jonathan Corbet
2012-02-27 21:02   ` Michael Haggerty [this message]
2012-02-25  0:58 ` Andreas Schwab

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=4F4BEF67.1070609@alum.mit.edu \
    --to=mhagger@alum.mit.edu \
    --cc=corbet@lwn.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).