From 976b3e541936450aecb987d6de13bb508511a6df Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Fri, 17 May 2024 15:59:07 +0300 Subject: [PATCH 1/4] Input argument qlot-no-deps was added. It makes Qlot to ignore asd files and their dependencies. This this might be useful in rare cases when your project contains a non-readable asd files such as templates. --- action.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index ba8322b..1f393e2 100644 --- a/action.yml +++ b/action.yml @@ -22,6 +22,11 @@ inputs: required: false default: 0.11.5 + qlot-no-deps: + description: 'Make Qlot ignore asd files and their dependencies. This this might be useful in rare cases when your project contains a non-readable asd files such as templates.' + required: false + default: false + qlfile-template: description: "Djula template for qlfile. All environment variables are available in it's context" required: false @@ -363,7 +368,11 @@ runs: shell: lispsh -eo pipefail {0} run: | echo ::group::Create Qlot Environment - qlot install + if [[ "${{ inputs.qlot-no-deps }}" != 'false' ]]; then + qlot install + else + qlot install --no-deps + fi echo ::endgroup:: env: QLFILE_TEMPLATE: ${{ inputs.qlfile-template }} From e14ce570fc49013cb7612d4a75281c449a7dc821 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Fri, 17 May 2024 16:19:34 +0300 Subject: [PATCH 2/4] Updated the changelog. --- changelog.lisp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/changelog.lisp b/changelog.lisp index d363d32..dedd513 100644 --- a/changelog.lisp +++ b/changelog.lisp @@ -10,6 +10,15 @@ "CL" "HOME")) + (4.1.0 2024-05-17 + " +# Added + +* Input argument qlot-no-deps was added. + + Make Qlot ignore asd files and their dependencies. + + This this might be useful in rare cases when your project contains a non-readable asd files such as templates.") (4.0.5 2024-04-19 " # Fixed From fe2e6f885e5c4b90d5da7fed9e3c7ea473ce95e8 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Sat, 18 May 2024 00:21:32 +0300 Subject: [PATCH 3/4] Add more logging. --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index 1f393e2..05bb0ec 100644 --- a/action.yml +++ b/action.yml @@ -369,8 +369,10 @@ runs: run: | echo ::group::Create Qlot Environment if [[ "${{ inputs.qlot-no-deps }}" != 'false' ]]; then + echo 'Running Qlot as usual' qlot install else + echo 'Running Qlot with --no-deps argument' qlot install --no-deps fi echo ::endgroup:: From da8536f4ffacf35710848583af73f3805f8b0258 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Sat, 18 May 2024 00:22:24 +0300 Subject: [PATCH 4/4] Fixed condition. --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 05bb0ec..102c6c7 100644 --- a/action.yml +++ b/action.yml @@ -369,11 +369,11 @@ runs: run: | echo ::group::Create Qlot Environment if [[ "${{ inputs.qlot-no-deps }}" != 'false' ]]; then - echo 'Running Qlot as usual' - qlot install - else echo 'Running Qlot with --no-deps argument' qlot install --no-deps + else + echo 'Running Qlot as usual' + qlot install fi echo ::endgroup:: env: