https://github.com/projectsyn/commodore-component-template
Commodore component cookiecutter/cruft template
https://github.com/projectsyn/commodore-component-template
Last synced: 7 months ago
JSON representation
Commodore component cookiecutter/cruft template
- Host: GitHub
- URL: https://github.com/projectsyn/commodore-component-template
- Owner: projectsyn
- License: bsd-3-clause
- Created: 2022-08-18T14:54:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-28T16:26:58.000Z (10 months ago)
- Last Synced: 2025-07-28T18:31:57.987Z (10 months ago)
- Language: Makefile
- Size: 350 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Commodore component template
This repository is part of Project Syn.
For documentation on Project Syn and this component, see https://syn.tools.
## Onboarding a component
See https://syn.tools/syn/how-tos/prepare_for_component_sync.html
## Triggering a sync
* Push or merge to `main`
* Via workflow dispatch (https://github.com/projectsyn/commodore-component-template/actions/workflows/sync.yaml)
You can provide a regex to only sync selected components via workflow dispatch.
## Notes regarding the template
The base template is stored in `{{ cookiecutter.slug }}`.
However, a part of the template is managed by a custom Python hook in `hooks/post_gen_project.py`
Notably, the Python hook will generate a suitable `renovate.json` for the rendered template.
We've switched to this approach since the logic that defines the contents of the `renovate.json` has become complex enough that templating JSON with Jinja2 isn't readable anymore.