From 2e2e606b88b24d06c7cec48dd770fd801f0d84b4 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Tue, 6 Jun 2023 17:04:04 +0800 Subject: [PATCH 1/3] Update for copier v8.0.0 breaking changes. --- .github/workflows/ci.yml | 2 +- .github/workflows/ci.yml.jinja | 2 +- README.md | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f914ce5..a733d2e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: cache: pip python-version: ${{ matrix.python-version }} - run: pip install copier - - run: copier -r HEAD -f . . + - run: copier copy -r HEAD -f . . - run: git diff - run: git status --porcelain - run: | diff --git a/.github/workflows/ci.yml.jinja b/.github/workflows/ci.yml.jinja index 5f471fe8..e1c14028 100644 --- a/.github/workflows/ci.yml.jinja +++ b/.github/workflows/ci.yml.jinja @@ -10,7 +10,7 @@ jobs: cache: pip python-version: {{ '${{ matrix.python-version }}' }} - run: pip install copier - - run: copier -r HEAD -f . . + - run: copier copy -r HEAD -f . . - run: git diff - run: git status --porcelain - run: | diff --git a/README.md b/README.md index eb460f18..816b1b9c 100644 --- a/README.md +++ b/README.md @@ -39,11 +39,14 @@ If you find this helpful, please consider [sponsorship](https://github.com/spons ## Quickstart 1. [Install Copier](https://copier.readthedocs.io/en/stable/#installation). + + Note: v8.0.0 introduces many breaking changes, please ensure you are using the latest version. + 1. Install the necessary tools for development: `pipenv` and `pre-commit`. 1. Generate the project with the `copier` command. ``` - copier gh:huxuan/serious-scaffold-python /path/to/project + copier copy gh:huxuan/serious-scaffold-python /path/to/project ``` 1. Initialize the project with the `git` and `make` commands. From eff06f6322e8aef2c14caa86f4c0df80de8edaf5 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Tue, 6 Jun 2023 17:06:44 +0800 Subject: [PATCH 2/3] update. --- README.md.jinja | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md.jinja b/README.md.jinja index 86f0b784..babf5260 100644 --- a/README.md.jinja +++ b/README.md.jinja @@ -39,11 +39,14 @@ If you find this helpful, please consider [sponsorship](https://github.com/spons ## Quickstart 1. [Install Copier](https://copier.readthedocs.io/en/stable/#installation). + + Note: v8.0.0 introduces many breaking changes, please ensure you are using the latest version. + 1. Install the necessary tools for development: `pipenv` and `pre-commit`. 1. Generate the project with the `copier` command. ``` - copier gh:huxuan/serious-scaffold-python /path/to/project + copier copy gh:huxuan/serious-scaffold-python /path/to/project ``` 1. Initialize the project with the `git` and `make` commands. From 81c0292212bccfe224fa49edc0c3b099bdde6620 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Tue, 6 Jun 2023 17:08:58 +0800 Subject: [PATCH 3/3] Remove unnecessary comments. --- README.md | 3 --- README.md.jinja | 3 --- 2 files changed, 6 deletions(-) diff --git a/README.md b/README.md index 816b1b9c..37fe554c 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,6 @@ If you find this helpful, please consider [sponsorship](https://github.com/spons ## Quickstart 1. [Install Copier](https://copier.readthedocs.io/en/stable/#installation). - - Note: v8.0.0 introduces many breaking changes, please ensure you are using the latest version. - 1. Install the necessary tools for development: `pipenv` and `pre-commit`. 1. Generate the project with the `copier` command. diff --git a/README.md.jinja b/README.md.jinja index babf5260..5b34ab10 100644 --- a/README.md.jinja +++ b/README.md.jinja @@ -39,9 +39,6 @@ If you find this helpful, please consider [sponsorship](https://github.com/spons ## Quickstart 1. [Install Copier](https://copier.readthedocs.io/en/stable/#installation). - - Note: v8.0.0 introduces many breaking changes, please ensure you are using the latest version. - 1. Install the necessary tools for development: `pipenv` and `pre-commit`. 1. Generate the project with the `copier` command.