https://github.com/kemadev/repo-template
Repository template
https://github.com/kemadev/repo-template
copier github go pulumi repository template
Last synced: 2 months ago
JSON representation
Repository template
- Host: GitHub
- URL: https://github.com/kemadev/repo-template
- Owner: kemadev
- Created: 2025-07-03T08:27:44.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-07-24T12:50:04.000Z (2 months ago)
- Last Synced: 2025-07-24T17:16:06.166Z (2 months ago)
- Topics: copier, github, go, pulumi, repository, template
- Language: Jinja
- Homepage:
- Size: 246 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# repo-template
- Repository template, managed by [copier](https://github.com/copier-org/copier)!
## Usage
### Creating a repository from template
- [Install copier](https://copier.readthedocs.io/en/stable/#installation)
- Declare your repository in [repository factory](https://github.com/kemadev/infrastructure-components/tree/main/deploy/github/30-repo/main.go), make a PR and wait for it to be merged and deployed
- Run `kemutil repotpl init`
- Commit and push!### Updating a repository from template
- `cd` into repository root
- Run `kemutil repotpl update`
- Resolve any conflicts, see [copier's doc](https://copier.readthedocs.io/en/stable/updating/)
- Commit and push!### Notes
- Repository is intentionally not marked as template, this is to encourage using `copier` to create new repositories from it
## Notes for maintainers
- This repository does not use automatic release, you need to create tags and releases manually
```sh
export NEXT_TAG="$(git tag | grep -E '^v?[0-9]+\.[0-9]+\.[0-9]+$' | sort -V | tail -n 1 | sed 's|v||g' | awk -F. '{printf "v%d.%d.%d", $1, $2, $3+1}')" && git tag "${NEXT_TAG}" && git push --tags && gh release create "${NEXT_TAG}" --title "${NEXT_TAG}" --notes "Release ${NEXT_TAG}"
```