Repository navigation
More build options: docs, versioning #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
0308157
docs template generation made optional
ds-jakub-cierocki 4d72023
removed docs generation from CI/CD if disabled during project setup
ds-jakub-cierocki 72c4341
refacotred post-gen hooks
ds-jakub-cierocki 35f381f
python-semantic-release partial support: pyproject.toml + GitHub CI
ds-jakub-cierocki 2972384
jinja2 typo fix
ds-jakub-cierocki 1548f5b
fix: escpaed semantic-relase controls including jinja2 reserved syntax
ds-jakub-cierocki f7ba881
refactor: better var naming in hooks
ds-jakub-cierocki cee6968
skipping docs fix
ds-jakub-cierocki 2daf1f3
fix: missing contents read permission in GH actions (#18)
mhordynski 9a3f742
chore: add issue templates (#20)
mhordynski 838df60
versioning fixes
ds-jakub-cierocki e5031ac
removed remaninings of PyPI publishing from GitHub CI/CD
ds-jakub-cierocki 938d960
removed package building from pyproject.toml
ds-jakub-cierocki 516387b
added Semantic Release part + made docs and bumpversion optional
ds-jakub-cierocki 8593552
added validation to ensure it's not possible to build project with Gi…
ds-jakub-cierocki aa5030b
added TODO to make installing bump2version optional in Gitlab CI
ds-jakub-cierocki 7def7e6
implemented code review suggestions regarding cookiecutter.json config
ds-jakub-cierocki 21ffd22
code review fixes: made GitLab CI docs generation conditional using G…
ds-jakub-cierocki 00f362a
code review fixes - removed Python Semantic Release (it will be provi…
ds-jakub-cierocki f036ca3
Merge branch 'main' into jc/more-build-options
Sahcim a326651
Remove Python Semantic Versioning from readme
Sahcim b91a046
Remove build docs step in gitlab ci when is set to True
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,14 @@ | ||
| { | ||
| "client_name": "ds", | ||
| "project_name": "default", | ||
| "__project_name_slug": "{{cookiecutter.project_name | slugify}}", | ||
| "__client_name_slug": "{{cookiecutter.client_name | slugify}}", | ||
| "repo_name": "{{cookiecutter.__client_name_slug}}-{{cookiecutter.__project_name_slug}}", | ||
| "ci": [ | ||
| "GitLab", | ||
| "Github", | ||
| "None" | ||
| ], | ||
| "jupytext": [ | ||
| "No", | ||
| "Yes" | ||
| ], | ||
| "python_package_name": "{{ cookiecutter.__project_name_slug.replace('-', '_') }}", | ||
| "__package_name": "{{ cookiecutter.python_package_name }}", | ||
| "_copy_without_render": [ | ||
| ".github/workflows/*.yml" | ||
| ] | ||
| } | ||
| "client_name": "ds", | ||
| "project_name": "default", | ||
| "__project_name_slug": "{{cookiecutter.project_name | slugify}}", | ||
| "__client_name_slug": "{{cookiecutter.client_name | slugify}}", | ||
| "repo_name": "{{cookiecutter.__client_name_slug}}-{{cookiecutter.__project_name_slug}}", | ||
| "ci": ["Github", "GitLab", "None"], | ||
| "jupytext": ["No", "Yes"], | ||
| "docs": ["Sphinx", "No docs"], | ||
| "versioning": ["Bumpversion", "None"], | ||
| "python_package_name": "{{ cookiecutter.__project_name_slug.replace('-', '_') }}", | ||
| "__package_name": "{{ cookiecutter.python_package_name }}", | ||
| "_copy_without_render": [".github/workflows/*.yml", ".github/workflows/*.yaml"] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
{{ cookiecutter.repo_name }}/src/{{ cookiecutter.__package_name }}/VERSION
This file was deleted.
Oops, something went wrong.
4 changes: 1 addition & 3 deletions
4
{{ cookiecutter.repo_name }}/src/{{ cookiecutter.__package_name }}/__version__.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| """Version information.""" | ||
| from pathlib import Path | ||
|
|
||
| version_file = Path(__file__).absolute().parents[0] / "VERSION" | ||
| __version__ = version_file.read_text(encoding="utf-8").strip() | ||
| __version__ = "0.0.1" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.