summaryrefslogtreecommitdiffstats
path: root/main/pinentry-tqt/doc/HACKING
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-25 14:15:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-09-25 12:14:56 +0900
commite09aff21f81165479e531aa78670447680b70559 (patch)
tree68e431a89aeedc74060808012a392ee002f95bce /main/pinentry-tqt/doc/HACKING
parent5e806f0b9db5f5681705e1e2ce2ead7f06ae581f (diff)
downloadextra-dependencies-feat/restructuring.tar.gz
extra-dependencies-feat/restructuring.zip
Restructuring: pinentry-tqtfeat/restructuring
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'main/pinentry-tqt/doc/HACKING')
-rw-r--r--main/pinentry-tqt/doc/HACKING38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/pinentry-tqt/doc/HACKING b/main/pinentry-tqt/doc/HACKING
new file mode 100644
index 00000000..bfdbdde8
--- /dev/null
+++ b/main/pinentry-tqt/doc/HACKING
@@ -0,0 +1,38 @@
+# HACKING -*- org -*-
+#+TITLE: Hacking notes for PINentry
+#+STARTUP: showall
+
+* No ChangeLog files
+
+ Do not write ChangeLog files for Pinentry. 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.
+
+
+* 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.
+
+ For more information please check the HACKING file from the GnuPG
+ project.
+
+* String translation
+
+ Pinentry does not not require any translation files because it
+ expects that all strings are provided localized by the caller. This
+ is due to the design constraint to keep the tool simple and also to
+ make sure that translations match those of GnuPG.
+
+ The available translated strings can be found in GnuPG, file
+ agent/call-pinentry, function start_pinentry. If a string is not
+ available the Pinentry code uses a default as a fallback. However,
+ it is highly suggested to provide Pinentry with translated strings.