aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/HACKING48
-rw-r--r--doc/gpgme.texi10
-rw-r--r--doc/lesser.texi13
3 files changed, 56 insertions, 15 deletions
diff --git a/doc/HACKING b/doc/HACKING
index aedcf094..83c0f517 100644
--- a/doc/HACKING
+++ b/doc/HACKING
@@ -23,11 +23,34 @@
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.
+ leading TAB, will not exceed 80 columns. If you want to add text
+ which shall not be copied to the ChangeLog, separate it by a line
+ consisting of two dashes at the begin of a line.
Note that ./autogen.sh installs a git hook to do some basic syntax
checking on the commit log message.
+ Typo fixes and documentation updates don't need a ChangeLog entry;
+ thus you would use a commit message like
+
+ #+begin_example
+ Fix typo in a comment
+
+ --
+ #+end_example
+
+ The marker line here is important; without it the first line would
+ appear in the ChangeLog.
+
+ If you exceptionally need to have longer lines in a commit log you may
+ do this after this scissor line:
+ #+begin_example
+ # ------------------------ >8 ------------------------
+ #+end_example
+ (hash, blank, 24 dashes, blank, scissor, blank, 24 dashes).
+ Note that such a comment will be removed if the git commit option
+ =--cleanup-scissor= is used.
+
** License policy
GPGME is currently licensed under the LGPLv2.1+ with tools and the
@@ -73,6 +96,29 @@
need. If you really need to do it, use a separate commit for such a
change.
+ - C99 syntax should not be used; stick to C90.
+ - Please do not use C++ =//= style comments.
+ - Try to fit lines into 80 columns.
+ - Ignore signed/unsigned pointer mismatches
+ - No arithmetic on void pointers; cast to char* first.
+
+** Commit log keywords
+
+ - GnuPG-bug-id :: Values are comma or space delimited bug numbers
+ from bug.gnupg.org pertaining to this commit.
+ - Debian-bug-id :: Same as above but from the Debian bug tracker.
+ - CVE-id :: CVE id number pertaining to this commit.
+ - Regression-due-to :: Commit id of the regression fixed by this commit.
+ - Fixes-commit :: Commit id this commit fixes.
+ - Reported-by :: Value is a name or mail address of a bug reporte.
+ - Suggested-by :: Value is a name or mail address of someone how
+ suggested this change.
+ - Co-authored-by :: Name or mail address of a co-author
+ - Some-comments-by :: Name or mail address of the author of
+ additional comments (commit log or code).
+ - Proofread-by :: Sometimes used by translation commits.
+ - Signed-off-by :: Name or mail address of the developer
+
* Debug hints
- Use gpgme-tool for manual tests.
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index 20e1912b..c02a30f3 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -6203,15 +6203,15 @@ you run your tests only with play data.
@include gpl.texi
-@node Function and Data Index
-@unnumbered Function and Data Index
-
-@printindex fn
-
@node Concept Index
@unnumbered Concept Index
@printindex cp
+@node Function and Data Index
+@unnumbered Function and Data Index
+
+@printindex fn
+
@bye
diff --git a/doc/lesser.texi b/doc/lesser.texi
index f23f0fd0..bbd18a00 100644
--- a/doc/lesser.texi
+++ b/doc/lesser.texi
@@ -1,7 +1,7 @@
@node Library Copying
@unnumbered GNU Lesser General Public License
-@cindex LGPL, Lesser General Public License
+@cindex LGPL, GNU Lesser General Public License
@center Version 2.1, February 1999
@display
@@ -16,7 +16,7 @@ as the successor of the GNU Library Public License, version 2, hence the
version number 2.1.]
@end display
-@section Preamble
+@heading Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -119,7 +119,7 @@ former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
@iftex
-@section TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+@heading TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
@end iftex
@ifinfo
@center GNU LESSER GENERAL PUBLIC LICENSE
@@ -476,12 +476,7 @@ decision will be guided by the two goals of preserving the free status
of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
-@iftex
-@heading NO WARRANTY
-@end iftex
-@ifinfo
@center NO WARRANTY
-@end ifinfo
@item
BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
@@ -515,7 +510,7 @@ DAMAGES.
@end ifinfo
@page
-@section How to Apply These Terms to Your New Libraries
+@heading How to Apply These Terms to Your New Libraries
If you develop a new library, and you want it to be of the greatest
possible use to the public, we recommend making it free software that