Skip to content

Commit 1460377

Browse files
authored
Merge pull request #22 from 56kyle/feature/platform-agnostic-overhaul
Ensure CI/CD parity across platform providers
2 parents 410906d + 0d27f94 commit 1460377

22 files changed

+1277
-214
lines changed

cookiecutter.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"add_rust_extension": false,
88
"author": "Kyle Oliver",
99
"email": "56kyleoliver+cookiecutter-robust-python@gmail.com",
10-
"github_user": "56kyle",
10+
"repository_provider": ["github", "gitlab", "bitbucket"],
11+
"repository_host": "{% if cookiecutter.repository_provider == 'github' %}github.com{% elif cookiecutter.repository_provider == 'gitlab' %}gitlab.com{% else %}bitbucket.org{% endif %}",
12+
"repository_path": "56kyle/{{ cookiecutter.project_name.replace('_', '-') }}",
1113
"version": "0.0.0",
1214
"copyright_year": "{% now 'utc', '%Y' %}",
1315
"license": ["MIT", "Apache-2.0", "GPL-3.0"],

{{cookiecutter.project_name}}/.cz.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ update_changelog_on_bump = true
1616
release = true
1717
release_asset_path = "dist/*"
1818
release_asset_descriptions = { "*.tar.gz" = "Source distribution", "*.whl" = "Python Wheel" }
19-
base_url = "https://github.com/{{ cookiecutter.github_user | lower | replace(' ', '-') }}/{{ cookiecutter.project_name.replace('_', '-') }}"
19+
base_url = "https://{{ cookiecutter.repository_host }}/{{ cookiecutter.repository_path }}"

{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.add_rust_extension == 'y' %} lint-rust.yml {%- endif %}

Lines changed: 0 additions & 101 deletions
This file was deleted.

{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.add_rust_extension == 'y' %} test-rust.yml {%- endif %}

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)