# More Useful Information in the Commit Messages

**URL:** <https://community.dhis2.org/t/more-useful-information-in-the-commit-messages/5520>\
**Category:** Support - Assistance technique\
**Created:** [19 March 2009 10:59 UTC](https://community.dhis2.org/t/more-useful-information-in-the-commit-messages/5520 "2009-03-19T10:59:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunbiz](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/sunbiz/32/89_2.png) [@sunbiz](https://community.dhis2.org/u/sunbiz)\
**Post date:** [19 March 2009 10:59 UTC](https://community.dhis2.org/t/more-useful-information-in-the-commit-messages/5520/1 "2009-03-19T10:59:08Z")

</div>

I have been looking at the commit messages that developers have added and looking at them in the long-term, they will become useless because we lack detail. I suggest that we should have some standard for commit messages.

**My suggested format:**

: [author] - [bug fix] -

[author], [bug fix] - is optional… [author] should be included if you are applying a patch or committing code that someone else has written

I also suggest that we should add lp:id when fixing any bug filed under our project bug list. This automatically links the bazaar commits with launchpad bug ids.

Please comment if you have some other formats and we all need to follow that commit msg format.

> **···**
>
> * * *
> 
> Regards,  
> Saptarshi PURKAYASTHA  
> Director R & D, HISP India  
> Health Information Systems Programme
> 
> My Tech Blog: [http://sunnytalkstech.blogspot.com](http://sunnytalkstech.blogspot.com)
> 
> You Live by CHOICE, Not by CHANCE

---

<div class="post-metadata">

**Author:** ![Lars](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/lars/32/34166_2.png) [@Lars](https://community.dhis2.org/u/Lars)\
**Post date:** [19 March 2009 11:33 UTC](https://community.dhis2.org/t/more-useful-information-in-the-commit-messages/5520/2 "2009-03-19T11:33:13Z")

</div>

Sounds a like a good convention to me.

Lars

> **···**
>
> On Thu, Mar 19, 2009 at 11:59 AM, Saptarshi Purkayastha [sunbiz@gmail.com](mailto:sunbiz@gmail.com) wrote:
> 
> > I have been looking at the commit messages that developers have added and looking at them in the long-term, they will become useless because we lack detail. I suggest that we should have some standard for commit messages.
> 
> > **My suggested format:**
> 
> > : [author] - [bug fix] -
> 
> > [author], [bug fix] - is optional… [author] should be included if you are applying a patch or committing code that someone else has written
> 
> > I also suggest that we should add lp:id when fixing any bug filed under our project bug list. This automatically links the bazaar commits with launchpad bug ids.
> 
> > Please comment if you have some other formats and we all need to follow that commit msg format.

---

<div class="post-metadata">

**Author:** ![Lars](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/lars/32/34166_2.png) [@Lars](https://community.dhis2.org/u/Lars)\
**Post date:** [23 March 2009 18:51 UTC](https://community.dhis2.org/t/more-useful-information-in-the-commit-messages/5520/3 "2009-03-23T18:51:20Z")

</div>

> > **My suggested format:**

> > : [author] - [bug fix] -

> > [author], [bug fix] - is optional… [author] should be included if you are applying a patch or committing code that someone else has written

> > I also suggest that we should add lp:id when fixing any bug filed under our project bug list. This automatically links the bazaar commits with launchpad bug ids.

> > Please comment if you have some other formats and we all need to follow that commit msg format.

> 

> 

Looks as if bug # will result in a link to the launchpad bug page.
