From d7e965843eb32fc2e459a15fe70251964ff40394 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Wed, 28 Feb 2024 19:17:25 +0000 Subject: Initial commit This commit adds the initial structure / scaffolding on which the rest of the project can be built. The idea is to have an entry point written in python, which parses a toml file which contains information about each domain, and general configuration of the lego tool which will actually renew the certificates. Each domain has an additional post-renew script, the path to which is given in the config file, which is used to install the new certificates onto the remote hosts if necessary. --- .precious.toml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .precious.toml (limited to '.precious.toml') diff --git a/.precious.toml b/.precious.toml new file mode 100644 index 0000000..552dcc2 --- /dev/null +++ b/.precious.toml @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: 2024 Matthew Fennell +# +# SPDX-License-Identifier: AGPL-3.0-only + +[commands.black] +cmd = ["black", "--quiet"] +include = ["renew-all"] +invoke = "once" +ok_exit_codes = 0 +type = "tidy" + +[commands.gitlint] +cmd = ["gitlint"] +include = "*" +invoke = "once" +ok_exit_codes = 0 +path_args = "none" +type = "lint" + +[commands.mypy] +cmd = ["mypy", "--strict"] +include = ["renew-all"] +ok_exit_codes = 0 +type = "lint" + +[commands.reuse] +cmd = ["reuse", "lint"] +include = "*" +invoke = "once" +lint_failure_exit_codes = 1 +ok_exit_codes = 0 +path_args = "none" +type = "lint" + +[commands.shellcheck] +cmd = ["shellcheck", "--severity=style", "--enable=all"] +include = ["install-for-prosody"] +lint_failure_exit_codes = 1 +ok_exit_codes = 0 +type = "lint" -- cgit v1.2.3