[Koha-devel] General questions from a first-patcher

Mason James mtj at kohaaloha.com
Mon Sep 30 20:38:12 CEST 2013


On 2013-09-27, at 11:29 AM, Robin Sheat wrote:

> Philippe Blouin schreef op do 26-09-2013 om 16:08 [-0400]:
>> First to present myself, I'm a new developper on Koha.  I work for
>> inLibro, which has been a Koha proponent for a while now.


> 
>> Questions:
>> - I work with patches.  I used git-bz for one, and manual for the
>> others.  Now how to I email to patch mailing list?  I just copy the
>> content?  I comment it?  Do I add the [PATCH] in the header or some
>> tool could have done all that for me?  (my server can't send email, so
>> I'm not sure if git-bz should have done it)
> 
> Git can do it. I use:
> 
> git send-email --to=kpatches HEAD^
> 
> where ~/.git_aliases contains:
> 
> alias kpatches koha-patches at lists.koha-community.org
> 
> Git-bz is the best thing for interacting with bugzilla. It makes life
> substantially easier. And if you format patches like above, just do:
> 
> git bz attach HEAD
> 
> and it'll figure out the bug to apply it to.


hi Philippe

also, git-bz will email your patch(es) to the patches list, via the '--mail' arg

$ git bz attach --mail 9999 HEAD 


(for this to work, you do need to subscribe to the list first)



More information about the Koha-devel mailing list