Commit Graph

5 Commits

Author SHA1 Message Date
Dodji Seketeli d1ee1202ce [gen-changelog] Make subject line always come first
* gen-changelog.py (process_commit): In changelog entries with an
	empty body, make sure the subject line comes first.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-11-18 23:18:06 +01:00
Dodji Seketeli 86aa07c5c9 Try harder to remove timezone info from the date
* gen-changelog.py (process_commit): The timezone shit can start
	either with a '+' or a '-'.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-11-18 23:18:06 +01:00
Dodji Seketeli 021edee910 Not all ChangeLog file lines end up with a ':'
* gen-changelog.py (process_commit): When trying to recognize the
	beginning of a ChangeLog entry body, do not expect a line that
	starts with a '*' to end with a ':' because there can be long file
	names that end on the next line.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-11-18 23:18:06 +01:00
Dodji Seketeli 71aba18621 Allow introductory text in commit log and ignore it when generating ChangeLog
* gen-changelog.py (process_commit): Everything that comes between
	the subject line of the commit and the first \t* sequence is
	considered to be introductory text.  Ignore it when generating the
	ChangeLog entry.
	* COMMIT-LOG-GUIDELINES: Update the commit log guidelines to
	reflect the fact that we can now have introductory text in the
	commit log.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-11-18 23:18:06 +01:00
Dodji Seketeli 1429a63417 Initial import of gen-changelog.py
* gen-changelog.py: Copy from
	https://github.com/GNOME/gnet/blob/master/gen-changelog.py.
	License it under LGPLV v2+ after asking Edward Hervey's kind
	permission.  Ain't Free Software really great?

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-11-18 23:18:06 +01:00