aboutsummaryrefslogtreecommitdiffstats
path: root/doc/HACKING
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-12-02 10:32:31 +0000
committerWerner Koch <[email protected]>2011-12-02 10:36:37 +0000
commita4c4ee1aaea4359432bdf60dd572f549ef8dee83 (patch)
tree479a4c6baca2d581bfbd5f195d80b7255fd5ad38 /doc/HACKING
parentRemove support for libgpgme-pth. (diff)
downloadgpgme-a4c4ee1aaea4359432bdf60dd572f549ef8dee83.tar.gz
gpgme-a4c4ee1aaea4359432bdf60dd572f549ef8dee83.zip
Generate the ChangeLog from commit logs.
* build-aux/gitlog-to-changelog: New script. Taken from gnulib. * build-aux/git-log-fix: New file. * build-aux/git-log-footer: New file. * build-aux/git-hook/commit-msg: New script. * doc/HACKING: New file. * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. * autogen.sh: Install commit-msg hook for git. Rename all ChangeLog files to ChangeLog-2011.
Diffstat (limited to 'doc/HACKING')
-rw-r--r--doc/HACKING28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/HACKING b/doc/HACKING
new file mode 100644
index 00000000..6149d25f
--- /dev/null
+++ b/doc/HACKING
@@ -0,0 +1,28 @@
+# HACKING -*- org -*-
+#+TITLE: Hacking notes for GPGME
+#+STARTUP: showall
+
+* No more ChangeLog files
+
+ Do not modify any of the ChangeLog files in GPGME. Starting
+ on December 1st, 2011 we put change information only in the GIT
+ commit log, and generate a top-level ChangeLog file from logs at
+ "make dist" time. As such, there are strict requirements on the
+ form of the commit log messages. The old ChangeLog files have all
+ be renamed to ChangeLog-2011
+
+
+* Commit log requirements
+
+ Your commit log should always start with a one-line summary, the
+ second line should be blank, and the remaining lines are usually
+ ChangeLog-style entries for all affected files. However, it's fine
+ -- even recommended -- to write a few lines of prose describing the
+ change, when the summary and ChangeLog entries don't give enough of
+ the big picture. Omit the leading TABs that you're used to seeing
+ in a "real" ChangeLog file, but keep the maximum line length at 72
+ or smaller, so that the generated ChangeLog lines, each with its
+ leading TAB, will not exceed 80 columns.
+
+ Note that ./autogen.sh installs a git hook to do some basic syntax
+ checking on the commit log message.