After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772510 - Problems with commit messages
Problems with commit messages
Status: RESOLVED FIXED
Product: damned-lies
Classification: Infrastructure
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: damned-lies Maintainer(s)
damned-lies Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-10-06 12:26 UTC by Sébastien Wilmet
Modified: 2016-10-09 11:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sébastien Wilmet 2016-10-06 12:26:00 UTC
Damned Lies generates commits like this:

> Updated Italian translation (cherry picked from commit 0bfe7a678d58b6e5be40fb42a1b148aa44672bad)

There are two problems:

1. Commit titles should not exceed 72 characters.

See for example the GTK+ guidelines:
https://git.gnome.org/browse/gtk+/tree/README.commits

2. Instead of "Updated" it should be "Update".

In Git a commit title generally describes the action, not the action already done.
Comment 1 Claude Paroz 2016-10-06 14:03:54 UTC
It's a bit unfortunate that `git cherry-pick -x <commit>` is appending to the first line of the message.
Then I'll probably have to read the message and amend it with -m, as I think the fact that the commit is a cherry pick is a useful information, isn't it?
Comment 2 Claude Paroz 2016-10-06 14:56:47 UTC
Oh... apparently modern versions of Git do add the "cherry picked..." message on the 3rd line and no longer appended to the first line.

That's an other reason to update the current l10n.gnome.server from its current 12.04 Ubuntu version!

So I will fix 2., but not 1. Sorry, you'll have to poke sysadmins to have a more up-to-date Git version on our server.
Comment 3 Claude Paroz 2016-10-06 15:02:46 UTC
2. is now fixed.
Comment 4 Sébastien Wilmet 2016-10-06 16:34:29 UTC
Ok thanks!
Comment 5 Sébastien Wilmet 2016-10-09 11:50:16 UTC
(In reply to Claude Paroz from comment #3)
> 2. is now fixed.

I also see commits like this:

Added Croatian translation

I don't know if it is also fixed (Added -> Add). Do you have a link to the git commit?
Comment 6 Sébastien Wilmet 2016-10-09 11:51:56 UTC
Ok I see that it should be fixed:
https://git.gnome.org/browse/damned-lies/commit/?id=ad7603c09911698808dec99af49696c42eaf6e0f

Sorry for the noise.