Misc #12283
closedObsolete ChangeLog and commit message in Git-style
Description
How about Git-style commit message instead of ChangeLog?
Proposal¶
After we reach the consensus
- Write a commit message in Git-style.
- Line 1: summary of commit (around 80 characters or less, <50 is better)
- Line 2: empty line
- Line 3-: More detailed explanation of commit
See also: https://git-scm.com/book/ch5-2.html#Commit-Guidelines
- Stop manually edit ChangeLog and auto-generate on
make dist
.
Rationale¶
A good commit message should include the objective of the commit.
Committers should write "what purpose the change is for".
In this sense, ChangeLog is not a good format. It lists per-file changes, so committers tend to write just "how the files were changed".
Also, ChangeLog causes commit conflicts frequently.
Though it is not related with the actual commit.
People who uses svn/git should see the log with it; ChangeLog is only for tarball users.
Status¶
mame made this proposal at the developers' meeting (13 Apr.), and there was no objection.
Matz agreed with this proposal, provided that a ChangeLog-like plain-text file is generated from the commit log.
The release manager will create the file when Ruby is released.
Note¶
This ticket does NOT propose a migration from SVN to Git. Never discuss that in this ticket.