EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Bazaar commit messages: style guide
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Wed, 18 Aug 2010 13:15:57 -0500
On Wednesday 18 August 2010 10:28:07 Ralph Lange wrote:
>
> I would like to suggest two additions to that guide.

Thanks!

> 1. Prefix the summary line with the area that the commit addresses,
> followed by a colon and a space.
> I would see the area being one out of the directory names below base/src
> - these names are also being used as tags in bug reports. The libcom
> area might need one more identifier to be useful.
>
> Examples
>
> db: Fix off-by-one error in dbGetAddr()
> libcom/timer: Add test for uninit'd user structure

That kind of thing should certainly help with readability so I'm happy to add 
it as a suggestion, although with the proviso that it won't be appropriate for 
all commits.


> 2. The last paragraph of the commit message may be one or more "name:
> value" lines
> Use this to mention any relation to bugs.
>
> Examples
>
> fixes: lp:595240
> related: lp:615916

I would prefer that if possible we use the Bazaar --fixes option for recording 
that a commit fixes a known bug, since Launchpad will pick up on that 
automatically.  I'm not going to object to people adding this kind of 
information as well if they like, but I don't want to make it a rule that we 
have to enforce.


I have added these suggestions to the new Wiki page at
http://www.aps.anl.gov/epics/wiki/index.php/Style_Guide_for_Bazaar_commit_messages

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harald Welte


Replies:
Re: Bazaar commit messages: style guide Ralph Lange
References:
Bazaar commit messages: style guide Andrew Johnson
Re: Bazaar commit messages: style guide Ralph Lange

Navigate by Date:
Prev: Re: Bazaar commit messages: style guide Ralph Lange
Next: Re: Bazaar commit messages: style guide Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Bazaar commit messages: style guide Ralph Lange
Next: Re: Bazaar commit messages: style guide Ralph Lange
Index: 2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·