[ckan-dev] git branching

John Glover john.glover at okfn.org
Wed Dec 21 17:52:56 UTC 2011


Ticket number in the commit message is fine by me. I'm not sure that
there's any real value in the size tags, but I find that labelling
which areas are changed is quite helpful when scanning through a list
of commits.

Cheers,
John

On 21 December 2011 12:19, David Read <david.read at okfn.org> wrote:
> We are all careful to commit code to branches named after the ticket,
> which is great. But looking at the git logs, I'm struggling to find
> out what branches things were on. Just browsing
> https://github.com/okfn/ckan/network in busy periods like 2-7 November
> or 1-5 December and it really is a pretty undecipherable.
>
> So, I'd like to propose that every commit includes the ticket number
> in the comment, even when on a branch.
> e.g.
> [1502] Finished tests and added doc
>
> What do people think?
>
> Also, Rufus originally suggested other conventions for the commit messages:
> * [l][s][xs] meaning large, small, extra small - referring to the size
> of the diff
> * [lib,template,tests] meaning changes have occurred principly in the
> lib, template and tests directories
> Some people have tried these and they remain undocumented. Does anyone
> find them useful or shall we drop them, saving our efforts for the
> ticket number?
>
> David
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev




More information about the ckan-dev mailing list