projectsyn / commodore-component-template

Commodore component cookiecutter/cruft template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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.

About

Commodore component cookiecutter/cruft template

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Makefile 47.8%Language:Python 44.4%Language:Jsonnet 6.7%Language:Shell 1.1%