Recent commits to derivepassphrase.git (abadc0d0b8f8e910d31073a0dfcd8e82509daab6) https://git.schokokeks.org/derivepassphrase.git/tree/abadc0d0b8f8e910d31073a0dfcd8e82509daab6 Recent commits feed provided by GitList. Remove `click` handling of command-line "path" arguments Stop using the `click` facilities to run checks on command-line arguments or option values that are to be treated as paths; treat them like normal strings instead. `click`'s path checking functionality misdiagnoses its own failure cases, is racy, and does not document its own raciness. Instead, use `click`'s `open_file` function to handle the standard streams (an actual useful feature), and use bog-standard operating system calls for everything else. As an added bonus, this makes writing unit tests much easier, because we no longer have to work around `click`'s functionality and can use simpler counterexamples/failure cases. This change was originally prompted by a silently failing test, which did not test the expected error message because it was subject to translation, so `click` could silently sidestep the whole code under test. We now test for the operating system-provided error message directly, via standard operating system facilities that are integrated into the translation/locale system. https://git.schokokeks.org/derivepassphrase.git/commit/abadc0d0b8f8e910d31073a0dfcd8e82509daab6 m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 18:08:20 +0200 abadc0d0b8f8e910d31073a0dfcd8e82509daab6 Add man page for `derivepassphrase_export` The help text/docstring was missing a mention of which configuration formats are supported, which has now been added. https://git.schokokeks.org/derivepassphrase.git/commit/d081a2bc4dc00c67e84bdd90c239e5c814d84a8d m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 16:46:57 +0200 d081a2bc4dc00c67e84bdd90c239e5c814d84a8d Streamline documentation file structure and linking Use the "index page" functionality and the unpruned navigation list from MkDocs/Material, and use the module autorefs on the documentation overview page. https://git.schokokeks.org/derivepassphrase.git/commit/32d3a91a0576b369553422da5c368236cd793a8a m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 16:27:34 +0200 32d3a91a0576b369553422da5c368236cd793a8a Add exporter modules to the documentation The two exporter submodules `storeroom` and `vault_native` are short enough and thematically related, so they are placed on a common page "Exporters for vault". https://git.schokokeks.org/derivepassphrase.git/commit/d7b090cc6c5fc3f05387d8999821aaf44f25ead7 m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 16:19:55 +0200 d7b090cc6c5fc3f05387d8999821aaf44f25ead7 Add vault_native exporter function and module docstrings Add an all-in-one exporter function to the `derivepassphrase.exporter.vault_native` module, similar to the function in the `derivepassphrase.exporter.storeroom` module. These two functions now define the public API of the respective module, and the other visible names are considered non-public (though documented, because they explain the inner workings of the respective exporters). The module docstrings have been appropriately expanded, and the tests have been adapted and expanded for the new function. https://git.schokokeks.org/derivepassphrase.git/commit/9e46d4ec795267558b155c5260c5a37205bf9af1 m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 16:13:48 +0200 9e46d4ec795267558b155c5260c5a37205bf9af1 Rename `vault_v03_and_below` submodule to `vault_native` https://git.schokokeks.org/derivepassphrase.git/commit/e6cfc21fcaf6afac8f32d137c1ce37dddd657724 m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 15:01:07 +0200 e6cfc21fcaf6afac8f32d137c1ce37dddd657724 Support text string services names in Vault internal API https://git.schokokeks.org/derivepassphrase.git/commit/a9ce95dae2a203edfe8e00adf5fa2ab45d4fbfef m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 14:55:36 +0200 a9ce95dae2a203edfe8e00adf5fa2ab45d4fbfef Fix the docstring of the vault native v0.2 exporter class The previous docstring was accidentally copy-pasted from the v0.3 class. https://git.schokokeks.org/derivepassphrase.git/commit/d23dd1ed824ba3112f9be11a5659838edbe43b39 m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 14:28:13 +0200 d23dd1ed824ba3112f9be11a5659838edbe43b39 Rename `derivepassphrase.vault` test file to match naming convention https://git.schokokeks.org/derivepassphrase.git/commit/4701b329098224a8b84ab1826b312bd937de942a m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 14:00:30 +0200 4701b329098224a8b84ab1826b312bd937de942a Apply new ruff ruleset to code base. Results in many cosmetical code changes, and many documentation fixes. (In particular, the docstring for `derivepassphrase.cli.derivepassphrase` contained typos in the option descriptions.) Furthermore, three other changes are made: - Ignore `FURB101` and `FURB103` as well, which deal with similar functionality to the deselected `PTH` rules. - Change the attributes of the `VaultNativeConfigParser` class (and its subclasses) to private, instead of public. Change the `DummyModule` class in `derivepassphrase.exporter.storeroom` and `derivepassphrase.exporter.vault_v03_and_below` to private as well. - The modules `derivepassphrase.exporter.storeroom` and `derivepassphrase.exporter.vault_v03_and_below` are now no longer executable files. https://git.schokokeks.org/derivepassphrase.git/commit/2d292af3e81527750e46a2167d30efe840ac58ca m@the13thletter.info (Marco Ricci) Sun, 01 Sep 2024 13:43:33 +0200 2d292af3e81527750e46a2167d30efe840ac58ca