From df71fd595a10b7c979f2cabc2f2368d7b9244753 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Wed, 5 Nov 2025 11:57:51 +0100 Subject: [PATCH 1/3] refactor: :recycle: hide Seedcase-specific post-copy message when not for Seedcase --- copier.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/copier.yaml b/copier.yaml index 63338cd..01ff2bf 100644 --- a/copier.yaml +++ b/copier.yaml @@ -14,20 +14,21 @@ _message_after_copy: | See the [guide](https://template-website.seedcase-project.org/docs/guide) for more detail on the next steps. Briefly: - 1. Change directory to the project root: + - Change directory to the project root: ``` bash cd {{ _copier_conf.dst_path | realpath }} ``` - 2. Install the pre-commit hooks, add (called "update" here) the Quarto extension, + - Install the pre-commit hooks, add (called "update" here) the Quarto extension, and build the README: ``` bash just install-precommit update-quarto-theme build-readme ``` - 3. Install [`spaid`](https://github.com/seedcase-project/spaid) and run these setup steps: + {%- if is_seedcase_website -%} + - Install [`spaid`](https://github.com/seedcase-project/spaid) and run these setup steps: ``` bash spaid_gh_create_repo_from_local -h @@ -35,15 +36,16 @@ _message_after_copy: | spaid_gh_ruleset_basic_protect_main -h ``` - 4. Configure GitHub following this + - Configure GitHub following this [guide](https://guidebook.seedcase-project.org/operations/security#using-github-apps-to-generate-tokens): - Install the [auto-release-token](https://github.com/apps/auto-release-token) and [add-to-board-token](https://github.com/apps/add-to-board-token) GitHub Apps - Create an `UPDATE_VERSION_TOKEN` and `ADD_TO_BOARD_TOKEN` secret for the GitHub Apps - Create an `UPDATE_VERSION_APP_ID` and `ADD_TO_BOARD_APP_ID` variable of the GitHub Apps' IDs + {%- endif %} - 5. List and complete all TODO items in the repository: + - List and complete all TODO items in the repository: ``` bash just list-todos From b686caaf06ef2a9d9844bc90a5c5fe46b5017a3f Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Wed, 5 Nov 2025 12:15:06 +0100 Subject: [PATCH 2/3] refactor: :truck: move "update-quarto-theme" into Seedcase-specific section --- copier.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/copier.yaml b/copier.yaml index 01ff2bf..091ae47 100644 --- a/copier.yaml +++ b/copier.yaml @@ -20,14 +20,19 @@ _message_after_copy: | cd {{ _copier_conf.dst_path | realpath }} ``` - - Install the pre-commit hooks, add (called "update" here) the Quarto extension, - and build the README: + - Install the pre-commit hooks and build the README: ``` bash - just install-precommit update-quarto-theme build-readme + just install-precommit build-readme ``` {%- if is_seedcase_website -%} + - Add (called "update" here) the Seedcase Quarto extension: + + ``` bash + just update-quarto-theme + ``` + - Install [`spaid`](https://github.com/seedcase-project/spaid) and run these setup steps: ``` bash From a3ae3078db02e09fa13e732760c886a2e1d81b71 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Wed, 5 Nov 2025 15:47:53 +0100 Subject: [PATCH 3/3] refactor: :pencil2: small edit to clarify sentence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Signe Kirk Brødbæk --- copier.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copier.yaml b/copier.yaml index 091ae47..78f2b08 100644 --- a/copier.yaml +++ b/copier.yaml @@ -27,7 +27,7 @@ _message_after_copy: | ``` {%- if is_seedcase_website -%} - - Add (called "update" here) the Seedcase Quarto extension: + - Add the Seedcase Quarto extension (called "update" here) : ``` bash just update-quarto-theme