[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH]: Extend "Obvious fix" rule in HACKING (was: Re: Jens, please try to get more peer review)

From: Stefan Sperling <stsp_at_elego.de>
Date: Fri, 30 May 2008 14:01:57 +0200

On Thu, May 29, 2008 at 10:26:47AM -0700, Hyrum K. Wright wrote:
> > -------Original Message-------
> > From: Daniel Shahaf <d.s_at_daniel.shahaf.co.il>
> > Subject: Re: Jens, please try to get more peer review
> > Sent: 29 May '08 10:20
> >
> > Stefan Sperling wrote on Thu, 29 May 2008 at 17:49 +0200:
> > > On Thu, May 29, 2008 at 04:25:00PM +0200, Jens Seidel wrote:
> > > > Most of the time because the 'obvious fix'. If there was any doubt
> > > > I also wrote to this list. I also just forgot adding this flag at
> > > > least once.
> > >
> > > OK. Maybe we should require obvious fixes to be designated as such?
> > > Such as: "Obvious fix: Remove trailing whitespace"
> > >
> > > This would make it more obvious that the obvious fix rule was applied.
> > > Should we update HACKING accordingly?
> > >
> >
> > Maybe "Approved by: obvious fix".
>
> That may confuse the contribulyzer. I think just prefacing the log
> message with "Obvious fix", much the same way people sometimes do with
> work on branches, would be fine. I really don't care how it's done,
> but being explicit about the obvious fix rule being invoked would be a
> good thing.

Should I update HACKING accordingly?

Index: www/hacking.html
===================================================================
--- www/hacking.html (revision 31532)
+++ www/hacking.html (working copy)
@@ -2146,6 +2146,13 @@ may be&nbsp;&mdash;&nbsp;in the web pages, API doc
 comments, commit messages, etc. We rely on the committer's judgement
 to determine what is "obvious"; if you're not sure, just ask.</p>
 
+<p>Whenever you are invoking the "obvious fix" rule, please say so in
+the log message of your commit. For example:</p>
+
+<pre>
+ www/hacking.html: Obvious fix: Kill some typos.
+</pre>
+
 </div>
 
 </div>

Stefan

  • application/pgp-signature attachment: stored
Received on 2008-05-30 13:59:54 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.