From 70b6d9e0de1035c9dab2817d263c5b3c0ccfb1b7 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 14 Jun 2024 12:01:28 +0200 Subject: [PATCH 1/5] readme/bullseye --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 5bcb7df..b6a1738 100644 --- a/readme.md +++ b/readme.md @@ -25,7 +25,7 @@ from various contexts of CA, CI and OCI / OS. * [ ] 20231112 * [X] 20240101 * [X] Debian - * [X] Bullseye (11) → Python 3.9 + * [ ] Bullseye (11) → Python 3.9 * [X] Bookworm (12) → Python 3.11 * [X] Fedora → Python 3.12 * [X] 39 From 76232f808cbd25ee9f28a294f26e7248cb66a559 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 14 Jun 2024 14:24:26 +0200 Subject: [PATCH 2/5] pyproject.toml --- pyproject.toml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 8aa6871..6027135 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,36 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +authors = [ + { name = "Marc Beninca", email = "git@marc.beninca.link" }, +] +maintainers = [ + { name = "Marc Beninca", email = "git@marc.beninca.link" }, +] +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU Affero General Public License v3", + "Operating System :: OS Independent", +] +dependencies = ["rwx"] +description = "Continuous Deployment" +dynamic = ["version"] +keywords = [] +license-files = { paths = ["license.md"] } +name = "cd" +readme = "readme.md" +requires-python = ">= 3.10" + +[project.scripts] +# command = "package.module:function" + +[project.urls] + +[tool.hatch.version] +path = "cd/__init__.py" + [tool.ruff] line-length = 80 From 6ef22d519f1f82b23d17bcda7f80f813a25cb23f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 14 Jun 2024 14:25:21 +0200 Subject: [PATCH 3/5] version --- cd/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cd/__init__.py b/cd/__init__.py index 7c86330..ca3b9c8 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -1,5 +1,7 @@ """Continuous Deployment.""" +__version__ = "0.0.1" + import os from pathlib import Path From 0777dfd2eb71ff97fe4d20a7acd33fe38c53e571 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 14 Jun 2024 14:26:12 +0200 Subject: [PATCH 4/5] ignore dist --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 9195364..4a6a1c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ __pycache__ +/dist /.venv From b9412e82aebd961e9295467e1756cc8cad41ab40 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 17 Jun 2024 18:56:31 +0200 Subject: [PATCH 5/5] cd_echo --- cd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cd.sh b/cd.sh index 1884737..af48a0c 100644 --- a/cd.sh +++ b/cd.sh @@ -658,7 +658,8 @@ cd_cat () { cd_echo () { if [ -n "${1}" ] ; then for cd_echo__name in "${@}" ; do - eval "echo ${cd_echo__name} = \\\"\${${cd_echo__name}}\\\"" + eval "cd_echo__text=\"\${${cd_echo__name}}\"" + echo "${cd_echo__name} = \"${cd_echo__text}\"" done fi }