See #1059966: Change recommended format for commit messages (no more '#1234 by abc') where this is being discussed.
Let's work out the exact spec there, but we need Dreditor to be recommending the right thing ASAP for launch... :(
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | dreditor.commit-prefix.13.patch | 2.94 KB | sun |
| #2 | 1061758-ab.patch | 574 bytes | alanburke |
Comments
Comment #1
alanburke commentedFor now, just add the Word 'Issue' in front, that will sort it.
Comment #2
alanburke commentedSimple Patch for that.
Comment #3
nhck commentedWorks for me.
Comment #4
helmo commentedWorks also for me. This makes it line up with the git handbook and the "Git instructions" tab.
Comment #5
ericduran commentedSeems simple enough, I just tested this and works as expected.
Comment #6
sunThanks for reporting, reviewing, and testing! Committed to master.
The reason for holding up this patch was that - in the few days I'm actively using git for d.o development now - this "Issue" prefix got seriously annoying already. It's also superfluous for CHANGELOG.txt entries.
We should change that rule/guideline and use a simple hyphen (
- #123456 by ...) instead.But I'm not entirely sure where one would post this proposal.
Comment #7
ericduran commented@sun, Makes sense -- I believe there is still some discussion going on over at http://groups.drupal.org/node/140309
Thanks for the commit.
Comment #9
webchickUntil the guideline is formally changed, Dreditor should conform to the community-agreed upon one, which is "Issue".
Feel free to kick-start the discussion at http://groups.drupal.org/node/140309 and build consensus around the new change though.
Comment #10
sunWell, moving discussions about actual issues to g.d.o has a 100% chance of getting nowhere.
Was kick-started a long time ago: http://groups.drupal.org/node/140309#comment-474599
Comment #11
marvil07 commentedRight, it's easier to track specific discussions here at issue queue.
I am copying a comment from sdboyer in the g.d.o thread that IMHO make a pretty good summary of the reasons because why we want to use "Issue" instead of "-":
Comment #12
webchickOk, we can have the discussion here, too. :)
I agree with Sam/marvil07. "Issue " is English. "- " is a Drupalism.
And you can't unilaterally force decisions like this in a tool that's intended for use by the wider contributor community. The Git migration team already went through the process of building community buy-in in order to arrive at the "Issue " prefix. If you want to change it from the standard, then the onus is on you to build enough support for it. If you are unable to rally this kind of unilateral support, then the current standard stays.
So this change needs to be reverted. After that, you can feel free to mark this issue postponed pending outcome of a larger community discussion on the standard (I don't really care where, but it needs to be widely advertised to invite participation).
Comment #13
sunNo one needs to enforce anything on anyone.
Thanks for reporting, reviewing, and testing! Committed to master.