[Openstack] RFC: Thoughts on improving OpenStack GIT commit practice/history

Matt Joyce matt.joyce at cloudscaling.com
Thu Jun 28 16:24:21 UTC 2012


Can we set a location to the Authoritative HACKING.rst?

There are fundamental and conflicting differences between the HACKING.rst
in some of the projects.

-Matt

On Thu, Jun 28, 2012 at 3:15 AM, Daniel P. Berrange <berrange at redhat.com>wrote:

> On Thu, Jun 28, 2012 at 12:01:10PM +0200, Thierry Carrez wrote:
> > Daniel P. Berrange wrote:
> > > [...]
> > > In other words, when reviewing a change in Gerrit, do not simply look
> at
> > > the correctness of the code. Review the commit message itself and
> request
> > > improvements to its content. Look out for commits which are mixing
> multiple
> > > logical changes and require the submitter to split them into separate
> commits.
> > > Ensure whitespace changes are not mixed in with functional changes.
> Ensure
> > > no-op code refactoring is done separately from functional changes. And
> so
> > > on.
> > > [...]
> >
> > Nice work, and agreed on all points ! I particularly hate the
> > single-line "Fixes bug 1234566"-type commit messages.
> >
> > Is there a way a concise version of this advice could find its way into
> > HACKING.rst ? And/Or into http://wiki.openstack.org/ReviewChecklist ?
>
> Sure, MarkMc suggested to me that I put this doc up on the wiki somewhere.
> I'll do that and then submit a concise version for HACKING.rst and
> the ReviewChecklist page, with a cross-reference to the full thing.
>
> Regards,
> Daniel
> --
> |: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/:|
> |: http://libvirt.org              -o-             http://virt-manager.org:|
> |: http://autobuild.org       -o-         http://search.cpan.org/~danberr/:|
> |: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc:|
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120628/b448bfbf/attachment.html>


More information about the Openstack mailing list