Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Proposed policy change for bug closing

+1. I think SWT guys are already doing this (sometimes :-))

Even better it would be to have post-commit/post-pull hooks in Git/Gerrit to automatically add comments to relatred bugs.

The policy for a proper "bugfix commit" would require the bug id in the commit message, something like: "Fixed NPE for bug #123456", and the clever hook would automatically post a comment into the bugzilla bug.

On Tue, 25 Sep 2012 13:11:23 +0200, Lars Vogel <lars.vogel@xxxxxxxxx> wrote:

Hello,

There is some discussion how to lower the entry barrier for new people.

I would like to suggest that we add to our policy that we add the URL
to the Git commit if we fix a bug. I personally find it really
interesting to see how a fix was done. And I think others can learn
from these references too.

Example:

-----------------------
Pushed to master with commit
http://git.eclipse.org/c/e4/org.eclipse.e4.tools.git/commit/?id=23bd251e062fed2af211a66ad478df2c4ed6c1db
----------------------

Would do you think?

--
Kind regards,
mit freundlichen Grüßen
Andrey Loskutov

+Andrey: http://plus.google.com/u/0/113794713998126448910


Back to the top