From 2470496ba39dfc582386d648f2535f30f8225407 Mon Sep 17 00:00:00 2001 From: Ben Bright Date: Tue, 7 Jan 2025 09:33:28 -0600 Subject: [PATCH] Added output to show git clone commands --- docker/ckan/plugins/plugins.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/ckan/plugins/plugins.py b/docker/ckan/plugins/plugins.py index b0697c5..0437ada 100644 --- a/docker/ckan/plugins/plugins.py +++ b/docker/ckan/plugins/plugins.py @@ -22,8 +22,10 @@ def install(self): git = f"git clone" if(self.branch != ""): git = f"git clone -b {self.branch}" + print(git) if(self.tag != ""): git = f"git clone -b {self.tag}" + print(git) git = git + f" --depth 1 https://{GH_TOKEN}@github.com/{self.owner}/{self.repo} ./{self.repo}" @@ -47,4 +49,4 @@ def install(self): p["cmd"] ) - plugin.install() \ No newline at end of file + plugin.install()