On 15/11/13 13:34 +0100, Cédric Krier wrote:
> Hi,
> 
> One point that emerges from the VCS discussion yesterday was about the
> ease to submit patches (aka Push request). Right now, the prefered way
> is by attaching the patch to an issue. I understand that it can be too
> much work because you have to create a file localy, connect to
> bugs.tryton.org and fill the form.
> 
> So I made some test to see if we could submit patches directly from
> mercurial to roundup and indeed without any customization, it is
> possible by using patchbomb mercurial extension. The command is:
> 
>     hg email -t [email protected] -s [issue1234] -a -r <rev>

You can also use:

    hg email -t [email protected] -s [issue1234] -a -o

which will send all the outgoing changesets.

> Of course you have to configure the patchbomb extension:
> 
>     http://mercurial.selenic.com/wiki/PatchbombExtension
> 
> and you have to use one of your email addresses registered in roundup.
> 
> If you don't put a subject (-s …), it will create a new issue.
> 
> FYI, I tested on this issue: https://bugs.tryton.org/issue3497
> 
> The only drawback is that patchbomb uses by default the first line of
> the commit message as subject and the rest as comment. But as we need to
> customize the subject, we lost the first line in the comment. I don't
> think it is a big issue as normally the subject of the issue should
> already be (almost) the first line of the commit message. But anyway, I
> think I could propose a change in mercurial to not drop the first line
> of comment incase the subject is overriden.
> 
> So I propose to add this workflow to the wiki page.

Done:
https://code.google.com/p/tryton/wiki/HowtoContribute#How_to_submit_your_patches/contributions


-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgpxR_CzM1X7o.pgp
Description: PGP signature

Reply via email to