Skip to content

Commit c423ae1

Browse files
committed
feat: swap github_user with more generic options to allow for bitbucket/gitlab compatibility moving forward
1 parent 36ab3dd commit c423ae1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
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"],

0 commit comments

Comments
 (0)