Debian Codegraph @

doc/HACKING

raw
1 # HACKING -*- org -*-
2 #+TITLE: Hacking notes for PINentry
3 #+STARTUP: showall
4
5 * No ChangeLog files
6
7 Do not write ChangeLog files for Pinentry. We put change
8 information only in the GIT commit log, and generate a top-level
9 ChangeLog file from logs at "make dist" time. As such, there are
10 strict requirements on the form of the commit log messages.
11
12
13 * Commit log requirements
14
15 Your commit log should always start with a one-line summary, the
16 second line should be blank, and the remaining lines are usually
17 ChangeLog-style entries for all affected files. However, it's fine
18 -- even recommended -- to write a few lines of prose describing the
19 change, when the summary and ChangeLog entries don't give enough of
20 the big picture. Omit the leading TABs that you're used to seeing
21 in a "real" ChangeLog file, but keep the maximum line length at 72
22 or smaller, so that the generated ChangeLog lines, each with its
23 leading TAB, will not exceed 80 columns.
24
25 For more information please check the HACKING file from the GnuPG
26 project.
27
28 * String translation
29
30 Pinentry does not not require any translation files because it
31 expects that all strings are provided localized by the caller. This
32 is due to the design constraint to keep the tool simple and also to
33 make sure that translations match those of GnuPG.
34
35 The available translated strings can be found in GnuPG, file
36 agent/call-pinentry, function start_pinentry. If a string is not
37 available the Pinentry code uses a default as a fallback. However,
38 it is highly suggested to provide Pinentry with translated strings.