darcs

Issue 1144 Add darcs send --in-reply-to or --header "In-Reply-To: "

Title Add darcs send --in-reply-to or --header "In-Reply-To: <x@y.z>"
Priority wishlist Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, twb
Assigned To
Topics

Created on 2008-10-11.07:14:14 by twb, last changed 2009-08-27.14:19:41 by admin.

Messages
msg6306 (view) Author: twb Date: 2008-10-11.07:14:12
When using a mailing list for the patch review process, threading is
important.  Threading is done not only by subject, but also (in most
mailreaders, at least) by the In-Reply-To and References headers.

It's quite common for a patch to be rejected with a "please amend with
<trivial change> and resend".

After making the amendment, the user has two options: use "darcs send"
and break the threading, or use "darcs send -o" and have to manually
attach the patch bundle to a manual reply, manually setting the
subject and message body and the MIME type of the patch bundle.

It would be useful if the user could simply copy the "please amend"
message's Message-ID onto the command line and run something like

    darcs send --in-reply-to '<fab7afd@foo.org>'

Which would be the same as a normal "darcs send", but include an
In-Reply-To.  This would make threading work better.

Of course, it will probably become useful to add arbitrary headers in
future.  For example, within a company one might have a single patch
review list, and distinguish between different patch repositories by
adding this to _darcs/prefs/prefs in each repo:

   send header X-Darcs-Patch-For: /srv/darcs/libsnotty
   send header X-Bluebottle: Thinks: I have half a pound of dolly mixture

Note that with arbitrary --header it'll be necessary to support
multiple --header arguments.
msg6694 (view) Author: kowey Date: 2008-11-19.16:09:46
Resolved by

Mon Nov 17 10:20:56 GMT 2008  Pavel Shramov <shramov@mexmat.net>
  * Add --in-reply-to flag for send command
History
Date User Action Args
2008-10-11 07:14:14twbcreate
2008-10-12 10:37:14thorkilnaursetpriority: wishlist
nosy: kowey, dagit, simon, twb, thorkilnaur, dmitry.kurochkin
2008-11-19 16:09:48koweysetstatus: unread -> resolved-in-unstable
nosy: kowey, dagit, simon, twb, thorkilnaur, dmitry.kurochkin
messages: + msg6694
2009-04-22 03:37:37twbsetstatus: resolved-in-unstable -> resolved
nosy: kowey, dagit, simon, twb, thorkilnaur, dmitry.kurochkin
2009-08-10 23:48:17adminsetnosy: - dagit
2009-08-25 17:31:02adminsetnosy: + darcs-devel, - simon
2009-08-27 14:19:41adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, dmitry.kurochkin