https://git.schokokeks.org/derivepassphrase.git/tree/8d99ee9c44baa6c55d1456625775aacf7ea72157 Recent commits to derivepassphrase.git (8d99ee9c44baa6c55d1456625775aacf7ea72157) 2026-08-16T15:37:05+02:00 tag:gitlist.org,2012:commit/8d99ee9c44baa6c55d1456625775aacf7ea72157 Add a canon_map property to the CLISubcommand classes 2026-08-16T15:37:05+02:00 Marco Ricci software@the13thletter.info <pre>The canonical map of option or subcommand names maps such a name to the respective option or subcommand object. It is a dependent attribute (and thus should be excluded from `__init__`, `__eq__` and `__lt__`, etc.) and somewhat expensive to compute, so we cache the result in a global weak key dictionary, because the subcommand objects themselves are immutable. &lt;/pre&gt; tag:gitlist.org,2012:commit/b4e99a3c45caea935db40ea2b408e1d754056c6e Add data structures for the planned new command-line argument parser 2026-08-16T15:36:09+02:00 Marco Ricci software@the13thletter.info <pre>The command-line interface is organized as a hierarchy of "subcommand" objects, which contain "option group" objects, which contain "option" objects. The parser is multi-stage, and has an explicit "state" object containing the top-level subcommand specification and the command-line to parse. The parser steps are monadic, similar to the "Maybe" monad: each step depends only on the current state, and returns a ParseFailure or ParseEarlyExit state (which skips any further computation), or a ParseSuccess state (which does not). This commit only contains the data structures, not the actual parser steps. &lt;/pre&gt; tag:gitlist.org,2012:commit/01bff8cba2afa4b25d804df972a0e6350107b88d Add new help text messages with option specs and metavars expanded inline 2026-08-16T09:20:06+02:00 Marco Ricci software@the13thletter.info <pre>For all option one-line descriptions, add variants where the option specification (as it appears in the help text) is included inline, as a first line/first paragraph, and the one-line description as the second paragraph. In these variants, metavars are expanded inline, as in the previous commit. The inline expansion of metavars follows the reasoning from the previous commit. The one-line description is due to a planned new command-line argument parser, which is strictly a parser and thus leaves option grouping, mutually exclusive options and help text generation to the application. Keeping the formatted option specification in the help text string gives the translators more context, and also allows the application (the help text formatting part at least) to rediscover the grouping or mutual exclusivity based on identical help text strings. &lt;/pre&gt; tag:gitlist.org,2012:commit/9df093ffb32d551e062bcbe2d4f6dedcbf713194 Add new help and error messages with metavars expanded inline 2026-08-16T08:52:13+02:00 Marco Ricci software@the13thletter.info <pre>For all texts that aren't one-line option descriptions, add versions of the text where the metavar is expanded inline, instead of referencing a different translation string inline. If multiple texts need to use the same metavar consistently, pick one of them, and reference that canonical entry in the other entries' commentary. This is partly based on search engine/AI feedback on how other projects solve the problem of wanting to explain mini-formats or other conventions common to multiple messages to translators: there is no place to put (machine-readable) references or common explanation, so it is typical instead to refer inline in the translation commentary to a canonical entry that contains longer-form explanation instead. This is rather awkward to work with if there are multiple layers of expansion (metavars) in the messages, so it is probably easier on the translators to include the metavar inline and just note that "canonical text X" uses the same metavar. Of course, the canonical text should be short enough to be easily included inline in the commentary. &lt;/pre&gt; tag:gitlist.org,2012:commit/96a6de836795685b74c4172cf8f807fd187bce47 Update wishlist to post-v0.6.1 2026-07-06T21:29:46+02:00 Marco Ricci software@the13thletter.info <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/84cfbefc857e59bbd2379d5201d338fa493d6d54 Release 0.6.1 2026-07-06T21:28:06+02:00 Marco Ricci software@the13thletter.info <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/faad82c15c751fccb56639ec0f63b9181aa93211 Merge branch 'release-0.6.1-preparations' 2026-07-06T21:20:40+02:00 Marco Ricci software@the13thletter.info <pre>Prepare to release derivepassphrase v0.6.1 * release-0.6.1-preparations: Update wishlist Update the translation template, the German translation, and the message catalogs Add changelog entries for economic-test-suite, click-8.4.2-compatibility and openssh-bug3967-workaround Reformat everything with ruff Update wishlist Set the Python path correctly during pytest invocation &lt;/pre&gt; tag:gitlist.org,2012:commit/6e6b81b3c29295e12d0cfb1cafb86885f9585dde Update wishlist 2026-07-06T20:19:03+02:00 Marco Ricci software@the13thletter.info <pre>Also reference the new entry in the changelog. &lt;/pre&gt; tag:gitlist.org,2012:commit/180f4092b7d8f31d577478744bd4cd1de991b2cf Update the translation template, the German translation, and the message catalogs 2026-07-05T22:34:45+02:00 Marco Ricci software@the13thletter.info <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/f6501cdea5b9af2c5ea73367239b38dd7ef7f69b Add changelog entries for economic-test-suite, click-8.4.2-compatibility and openssh-bug3967-workaround 2026-07-05T22:22:00+02:00 Marco Ricci software@the13thletter.info <pre>&lt;/pre&gt;