[jsword-devel] Jira and Git

Jonathan Morgan jonmmorgan at gmail.com
Mon Mar 17 04:49:07 MST 2014


Hi DM/all,

Just on branch naming, my personal experience is it's counter-productive to
use a JIRA issue number as the branch name, because it has no intrinsic
meaning.
At work we have a lot of people who use the issue number, and have to
juggle between branches CR-12345, CR-72938, and CR-12453.  The name doesn't
give any intent: you have to look up the issue to find what it means.
Personally, I would much prefer to have branches like av11n and
VerseKeyRefactor (no matter how arbitrarily named) that mean something to
me.  Usually they don't have to mean anything to anyone else.

Having the issue number in the final commit does make a lot of sense.

Jon


On Mon, Mar 17, 2014 at 12:52 AM, DM Smith <dmsmith at crosswire.org> wrote:

> I like that idea for naming branches. I've been rather willy-nilly about
> them.
>
> Since it looks deep into the message, will it catch when a single commit
> solves multiple issues, provided that each issue is named in the commit
> message?
>
> -- DM
>
> On Mar 16, 2014, at 9:34 AM, Greg Hellings <greg.hellings at gmail.com>
> wrote:
>
> We use that hook and git-JIRA connection at work. The system will look
> deep into the messages for the short name. We force branches to also be
> named after the issue short name as well as including it in commit
> messages, thus allowing the plug in to find merges related to the issue as
> well.
>
> --Greg
> On Mar 16, 2014 8:25 AM, "DM Smith" <dmsmith at crosswire.org> wrote:
>
>> I've just updated the CrossWire tracker (Jira) to hook into Git on GitHub.
>>
>> We'll get better issue tracking if we do the following:
>> Create issues and note the short name of the issue (E.g. JS-224)
>> When committing in git, use the short name as the prefix of the commit
>> message.
>> (It actually doesn't have to be a prefix, but I don't know if the
>> connector looks deep into the commit message.)
>>
>> Then in Jira you see the commit in the issue.
>>
>> In Him,
>>         DM
>>
>>
>>
>> _______________________________________________
>> jsword-devel mailing list
>> jsword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/jsword-devel
>>
>> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20140317/227ea618/attachment.html>


More information about the jsword-devel mailing list