- python
- github cli
- cookiecutter
If you do not know what tier you project is the cookiecutter will walk you through questions to figure out what tier you need. Run:
cookiecutter https://github.com/DSACMS/repo-scaffolder
If you know what tier you need you can run the cookiecutter for an individual tier. Use the below command with X
substituted for the tier number.
cookiecutter https://github.com/DSACMS/repo-scaffolder --directory=tierX
You can update existing projects with the repo scaffolder. Using the -s
flag on cookiecutter will not overwrite existing files. Follow these steps:
- Create a new branch in your repo
- cd into folder above
- run:
cookiecutter -f -s https://github.com/DSACMS/repo-scaffolder --directory=tierX
- Make sure when answering the questions you use the existing folder/project name
- Raise pr into main
When creating projects, if you want to receive updates then add dsacms-tierX
as a github topic to the repo. The scaffolder repo includes github workflows that will find all repos with that tag and can raise a pull request with an updated string or adding a file.