Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .cookiecutter-replay.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"keywords": "frequenz,package,project,config,tool,repository,setuptools,nox,grpc,protobuf",
"github_org": "frequenz-floss",
"license": "MIT",
"private_repo": "no",
"author_name": "Frequenz Energy-as-a-Service GmbH",
"author_email": "floss@frequenz.com",
"python_package": "frequenz.repo.config",
Expand Down
1 change: 1 addition & 0 deletions GEMINI.md
4 changes: 3 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ But you might still need to adapt your code:

### Cookiecutter template

<!-- Here new features for cookiecutter specifically -->
- The cookiecutter now asks whether a repository is private, defaults that answer from the selected license, and uses it to toggle private-repository workflow behavior, public publishing jobs, and the link to GitHub Discussions in the issue template chooser.

## Bug Fixes

Expand All @@ -35,3 +35,5 @@ But you might still need to adapt your code:
### Cookiecutter template

- The unused cross-arch QEMU-based testing infrastructure has been removed. The `.github/containers/nox-cross-arch/` and `.github/containers/test-installation/` directories, as well as the "Cross-Arch Testing" section in `CONTRIBUTING.md`.
- Private repositories now are generated with credentials uncommented and the publishing workflows disabled.
- The issue template chooser (`config.yml`) no longer includes the `contact_links` section for private repositories, since GitHub Discussions are typically disabled for them.
4 changes: 4 additions & 0 deletions cookiecutter/cookiecutter.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
"MIT",
"Proprietary"
],
"private_repo": [
"{{ 'yes' if cookiecutter.license == 'Proprietary' else 'no' }}",
"{{ 'no' if cookiecutter.license == 'Proprietary' else 'yes' }}"
],
"author_name": "Frequenz Energy-as-a-Service GmbH",
"author_email": "floss@frequenz.com",
"python_package": "{{cookiecutter | python_package}}",
Expand Down
Loading
Loading