unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tobias Geerinckx-Rice <me@tobias.gr>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Please merge guix-patches bug: 36789-36800
Date: Wed, 24 Jul 2019 21:55:59 +0200	[thread overview]
Message-ID: <87h87bi4vk.fsf@nckx> (raw)
In-Reply-To: <CAJ3okZ0VA9+zYN2nXzd+G47bKrBKMcUPy54yH_7j7wM4mJV1-A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2543 bytes --]

Zimoun,

zimoun 写道:
> Hi Tobias,
>
> Thank you for your quick answer.

You're very welcome.

> On Wed, 24 Jul 2019 at 20:47, Tobias Geerinckx-Rice 
> <me@tobias.gr> wrote:
>> You can perform actions like this yourself by sending mail to
>> control@debbugs.gnu.org.  Here's some documentation[0] and a
>> caveat[1].
>
> I did not know. I thought that only person with super power 
> could do that.

Your implication that this is a huge potential security hole is 
correct.  And yet, strangely, it works in practice.

> So I will do.
>
> However, I am not sure to understand how the merge needs to be 
> ordered.
> I have tried with 36789 and 36790.

Your attempt looks successful to me[0]:

  ”Merged [snipped]. Request was from zimoun <…> to control@….
   (Wed, 24 Jul 2019 19:18:02 GMT)”

You should have got a confirmation e-mail as well.

However…  Note[0] that you were attempting to merge two 
already-merged bugs.  Merged bugs act as one flesh, so you got a 
confusing response with all previous 11 numbers and the net effect 
of your command was zero.

>> What I do is to just manually write a cover letter in my MUA, 
>> send
>> it to guix-patches@, and wait for the response with the bug
>> number.  I have to keep an eye on my inbox anyway, so I don't 
>> see
>> the point of doing that on the command line.
>
> If I understand well, the basic workflow is:
>
>   git format-patch -N --cover-letter -o patches

Oh, I really meant ‘manually’ as in I fire up my MUA (emacs in 
this case), write a ‘sup geeks here's a patch series that frobs 
foo’, add ‘[PATCH 0/n]’ to the subject by hand like an animal, 
and send it to guix-patches@.

Does your command above generate a pretty diffstat or something? 
It probably does.

>   edit patches/0000-cover-letter.patch
>   # send as you want patches/0000-cover-letter.patch to 
>   guix-patches@
>   rm patches/0000-cover-letter.patch

If you do want to send a *file* like this then yes, it is indeed 
easier to use sendmail or a similar command-line tool.  I don't 
know the syntax for it by heart, though.

>   # wait the bug number
>   git send-email --to=nnnnn@debbugs.gnu.org patches/*.patch

Since I don't need to edit anything I don't write my patches to 
the file system first.  I use ‘git send-email … -7’ and away 
they go.  But this is getting into personal preference territory 
:-)

Kind regards,

T G-R

[0]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36789#30

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

      reply	other threads:[~2019-07-24 19:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24 18:29 Please merge guix-patches bug: 36789-36800 zimoun
2019-07-24 18:47 ` Tobias Geerinckx-Rice
2019-07-24 19:31   ` zimoun
2019-07-24 19:55     ` Tobias Geerinckx-Rice [this message]

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h87bi4vk.fsf@nckx \
    --to=me@tobias.gr \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).