Skip to content

Commit d8fef45

Browse files
martonvagopre-commit-ci[bot]lwjohnst86
authored
feat: ✨ add after copy message (#129)
# Description This PR adds an after-copy copier message. Closes #98 This PR needs a quick review. ## Checklist - [x] Formatted Markdown - [x] Ran `just run-all` --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Luke W. Johnston <lwjohnst86@users.noreply.github.com>
1 parent bc50286 commit d8fef45

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

copier.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,38 @@ _tasks:
66
- command: "git init -b main && uv add --dev pre-commit commitizen ruff typos && uv add polars seedcase-sprout"
77
when: "{{ _copier_operation == 'copy' }}"
88

9+
# Message to show after generating or regenerating the project successfully
10+
_message_after_copy: |
11+
12+
Your project "{{ package_abbrev }}" has been created successfully!
13+
14+
Next steps:
15+
16+
1. Change directory to the project root:
17+
18+
$ cd {{ _copier_conf.dst_path }}
19+
20+
2. Install the pre-commit hooks:
21+
22+
$ just install-precommit
23+
24+
3. Install [`spaid`](https://github.com/seedcase-project/spaid) and run these setup steps:
25+
26+
$ spaid_gh_create_repo_from_local -h
27+
$ spaid_gh_set_repo_settings -h
28+
$ spaid_gh_ruleset_basic_protect_main -h
29+
30+
4. Configure GitHub following this
31+
[guide](https://guidebook.seedcase-project.org/operations/security#using-github-apps-to-generate-tokens):
32+
33+
- Install the [auto-release-token](https://github.com/apps/auto-release-token) GitHub App
34+
- Create an `UPDATE_VERSION_TOKEN` secret
35+
- Create an `UPDATE_VERSION_APP_ID` variable
36+
37+
5. List and complete all TODO items in the repository:
38+
39+
$ just list-todos
40+
941
# Questions:
1042
package_github_repo:
1143
type: str

0 commit comments

Comments
 (0)