Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
dd79ccd
Rename template folder and files in preparation of migration to copier
lyashevska Jul 30, 2024
616ee56
Migrate from cookiecutter to copier
lyashevska Jul 30, 2024
d8ad6a8
Update template/README.md.jinja to copier
lyashevska Jul 30, 2024
39d374c
Update README.md to use copier
lyashevska Jul 30, 2024
7c89fe9
Handle directory_name
lyashevska Aug 1, 2024
ce6dd06
fix tests
egpbos Aug 1, 2024
e1163da
Escape quotes in name and description
lyashevska Aug 1, 2024
7d573c5
Merge pull request #414 from NLeSC/407-add-validators
lyashevska Aug 15, 2024
95c293d
Update readme dev
lyashevska Aug 15, 2024
755e961
Update README.dev.md
lyashevska Aug 15, 2024
d7d5dfb
Update README.dev.md
lyashevska Aug 15, 2024
3ae01a3
Merge pull request #418 from NLeSC/update-copier-readme.dev.md
lyashevska Aug 15, 2024
c7db00f
switch PR template instructions to copier
sjvrijn Aug 19, 2024
41177d8
restore mktemp instruction; add explanatory comments
sjvrijn Aug 19, 2024
98074b7
Update .github/PULL_REQUEST_TEMPLATE.md
sjvrijn Aug 19, 2024
b07cc6d
Merge pull request #437 from NLeSC/417-update-gh-pr-template
sjvrijn Aug 19, 2024
1401b8e
replace cookiecutter with copier in final files
sjvrijn Aug 19, 2024
6328722
Merge pull request #442 from NLeSC/remove-final-cookie-mentions
sjvrijn Aug 19, 2024
89168be
add messages when creating and copying files
Aug 19, 2024
a4218b5
add messages when creating and copying files
Aug 19, 2024
f31c6eb
remove double quotes
fdiblen Aug 19, 2024
03bb887
update the patch in before copy message
fdiblen Aug 19, 2024
d711d6a
update the patch in before copy message
fdiblen Aug 19, 2024
af6f53b
Merge pull request #443 from NLeSC/409_additional_messages
fdiblen Aug 19, 2024
344ca0f
fix typo
sjvrijn Aug 19, 2024
b805491
remove ADD_TO_EXISTING_PACKAGE file
sjvrijn Aug 19, 2024
79cea70
update usage instruction to explain 3 ways to use copier
sjvrijn Aug 19, 2024
6e09142
Update README.md
sjvrijn Aug 20, 2024
5f369e7
Update README.md
sjvrijn Aug 20, 2024
fc07bfe
Update README.md
sjvrijn Aug 20, 2024
5aa33de
Update README.md
sjvrijn Aug 20, 2024
227f82b
rename options/cases to scenarios
sjvrijn Aug 20, 2024
83c590d
Fix merge conflicts
lyashevska Aug 20, 2024
4debab7
Add pipx install instructions + explanation
sjvrijn Aug 20, 2024
399a7a1
scenarios as list
sjvrijn Aug 20, 2024
7548239
Merge pull request #444 from NLeSC/416-instructions-update-existing
sjvrijn Aug 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
restore mktemp instruction; add explanatory comments
  • Loading branch information
sjvrijn committed Aug 19, 2024
commit 41177d8d8d145fb13f93af5be6d675376b82193b
10 changes: 7 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,18 @@
<!-- remove what doesn't apply or add more if needed -->
Create a `python-template-test` repo on GitHub (will be overwritten if existing)
```
copier copy --vcs-ref <pr-branch> https://github.com/<pr-user>/python-template py-tmpl-XXXXXX
# Create a temporary directory in /tmp, keep the XXXXXX in the directory name
cd $(mktemp -d --tmpdir py-tmpl-XXXXXX)
# Use --vcs-ref <pr-branch> to point to the branch to you want to test
copier copy --vcs-ref <pr-branch> https://github.com/<pr-user>/python-template .
# Fill with python-template-test info
cd py-tmpl-XXXXXX
# Create a local git repo to push to GitHub to trigger CI actions
git init
git add --all
git commit -m "First commit"
git remote add origin https://github.com/<you>/python-template-test
git remote add origin git@github.com:<you>/python-template-test.git
git push -u origin main -f
# Create a local environment to test your generated package locally
python -m venv env
source env/bin/activate
python -m pip install --upgrade pip setuptools
Expand Down