-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 📝 add Conduct, Contributing, and filled out README #131
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
7 commits
Select commit
Hold shift + click to select a range
9ddce59
docs: :memo: update template README
martonvago 413ae5a
docs: :memo: add Python badges to template
martonvago 710b692
docs: :memo: do not format badges
martonvago 298b85a
Merge branch 'main' into docs/template-readme
martonvago ba150d6
refactor: :recycle: use new copier var names
martonvago f119d31
Merge branch 'docs/template-readme' of github.com:seedcase-project/te…
martonvago 33fb012
Merge branch 'main' into docs/template-readme
martonvago 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Contributor Code of Conduct | ||
|
||
As contributors and maintainers of this project, we pledge to respect | ||
all people who contribute through reporting issues, posting suggestions, | ||
updating any material, submitting pull requests, and other activities. | ||
|
||
We are committed to making participation in this project a | ||
harassment-free experience for everyone, regardless of level of | ||
experience, gender, gender identity and expression, sexual orientation, | ||
disability, personal appearance, body size, race, ethnicity, age, or | ||
religion. | ||
|
||
Examples of unacceptable behavior by participants include the use of | ||
sexual language or imagery, derogatory comments or personal attacks, | ||
trolling, public or private harassment, insults, or other unprofessional | ||
conduct. | ||
|
||
Project maintainers have the right and responsibility to remove, edit, | ||
or reject comments, commits, code, wiki edits, issues, and other | ||
contributions that are not aligned to this Code of Conduct. Project | ||
maintainers who do not follow the Code of Conduct may be removed from | ||
the project team. | ||
|
||
Instances of abusive, harassing, or otherwise unacceptable behavior may | ||
be reported by opening an issue or contacting one or more of the project | ||
maintainers. | ||
|
||
This Code of Conduct is adapted from the Contributor Covenant | ||
(https://contributor-covenant.org), version 1.0.0, available at | ||
https://contributor-covenant.org/version/1/0/0/ |
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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Contributing | ||
|
||
## Issues and bugs :bug: | ||
|
||
The easiest way to contribute is to report issues or bugs that you might | ||
find while using `{{ github_repo }}`. You can do this by creating a | ||
[new](https://github.com/{{ github_repo_spec }}/issues/new/choose) | ||
issue on our GitHub repository. | ||
|
||
## Adding or modifying content :pencil2: | ||
|
||
{% if is_seedcase_project -%} | ||
If you would like to contribute content, please check out our | ||
[guidebook](https://guidebook.seedcase-project.org/) for more specific | ||
details on how we work and develop. It is a regularly evolving document, | ||
so is at various states of completion. | ||
{%- endif %} | ||
|
||
To contribute to `{{ github_repo }}`, you first need to install | ||
[uv](https://docs.astral.sh/uv/) and | ||
[justfile](https://just.systems/man/en/packages.html). We use uv and | ||
justfile to manage our project, such as to run checks and test the | ||
template. Both the uv and justfile websites have a more detailed guide | ||
on using uv, but below are some simple instructions to get you started. | ||
|
||
It's easiest to install uv and justfile using | ||
[pipx](https://pypa.github.io/pipx/), so install that first. Then, | ||
install uv and justfile by running: | ||
|
||
``` bash | ||
pipx install uv rust-just | ||
``` | ||
|
||
We keep all our development workflows in the `justfile`, so you can | ||
explore it to see what commands are available. To see a list of commands | ||
available, run: | ||
|
||
``` bash | ||
just | ||
``` | ||
|
||
As you contribute, make sure your changes will pass our tests by opening | ||
a terminal so that the working directory is the root of this project's | ||
repository and running: | ||
|
||
``` bash | ||
just run-all | ||
``` | ||
|
||
When committing changes, please try to follow [Conventional | ||
Commits](https://decisions.seedcase-project.org/why-conventional-commits) | ||
as Git messages. Using this convention allows us to be able to | ||
automatically create a release based on the commit message by using | ||
[Commitizen](https://decisions.seedcase-project.org/why-semantic-release-with-commitizen). | ||
If you don't use Conventional Commits when making a commit, we will | ||
revise the pull request title to follow that format, as we use [squash | ||
merges](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/squashing-commits/about-squash-merges) | ||
when merging pull requests, so all other commits in the pull request | ||
will be squashed into one commit. |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
NOTE: Will be overwritten after running `just build-readme`. |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,82 @@ | ||
--- | ||
format: gfm | ||
metadata-files: | ||
- _metadata.yml | ||
--- | ||
|
||
# {{< meta gh.repo >}}: TODO add more to title | ||
|
||
{{< include /docs/includes/_badges.qmd >}} | ||
|
||
<!-- TODO: Add description of project --> | ||
|
||
::: callout-tip | ||
This Python package was generated from the | ||
[`template-python-package`](https://github.com/seedcase-project/template-python-package) | ||
Seedcase template :tada: | ||
::: | ||
|
||
## Project files and folders | ||
|
||
- `.github/`: Contains GitHub-specific files, such as issue and pull | ||
request templates, workflows, | ||
[dependabot](https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide) | ||
configuration, pull request templates, and a | ||
[CODEOWNERS](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners) | ||
file. | ||
- `tools/vulture-allowlist.py`: List of variables that shouldn't be flagged by [Vulture](https://github.com/jendrikseipp/vulture) as unused. | ||
- `tools/get-contributors.sh`: Script to get list of project contributors. | ||
- `tests/`: Test files for the package. | ||
- `src/`: Source code for the package. | ||
- `docs/`: Documentation about using and developing the Python package. | ||
- `_renderer.py`: Custom [`quartodoc`](https://machow.github.io/quartodoc/) renderer. | ||
- `pytest.ini`: Pytest configuration file. | ||
- `mypy.ini`: [`mypy`](https://mypy.readthedocs.io/en/stable/) configuration file for type checking Python code. | ||
- `.copier-answers.yml`: Contains the answers you gave when copying | ||
the project from the template. **You should not modify this file | ||
directly.** | ||
- `.cz.toml`: | ||
[Commitizen](https://commitizen-tools.github.io/commitizen/) | ||
configuration file for managing versions and changelogs. | ||
- `.pre-commit-config.yaml`: [Pre-commit](https://pre-commit.com/) | ||
configuration file for managing and running checks before each | ||
commit. | ||
- `.typos.toml`: [typos](https://github.com/crate-ci/typos) spell | ||
checker configuration file. | ||
- `justfile`: [`just`](https://just.systems/man/en/) configuration | ||
file for scripting project tasks. | ||
- `.editorconfig`: Editor configuration file for | ||
[EditorConfig](https://editorconfig.org/) to maintain consistent | ||
coding styles across different editors and IDEs. | ||
- `CHANGELOG.md`: Changelog file for tracking changes in the project. | ||
- `CITATION.cff`: Structured citation metadata for your project. | ||
- `CONTRIBUTING.md`: Guidelines for contributing to the project. | ||
- `_metadata.yml`: Quarto metadata file for the website, including | ||
information about the project, such as the titles and GitHub names. | ||
- `pyproject.toml`: Main Python project configuration file defining | ||
metadata and dependencies. | ||
- `_quarto.yml`: Quarto configuration file for the website, including | ||
settings for the website, such as the theme, navigation, and other | ||
options. | ||
- `ruff.toml`: [Ruff](https://docs.astral.sh/ruff/) configuration file | ||
for linting and formatting Python code. | ||
- `uv.lock`: Lockfile used by [`uv`](https://docs.astral.sh/uv/) to | ||
record exact versions of installed dependencies. | ||
|
||
## Contributing | ||
|
||
Check out our [contributing document](CONTRIBUTING.md) for information | ||
on how to contribute to the project, including how to set up your | ||
development environment. | ||
|
||
Please note that this project is released with a [Contributor Code of | ||
Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree | ||
to abide by its terms. | ||
|
||
## Licensing | ||
|
||
This project is licensed under the [MIT License](LICENSE.md). | ||
|
||
## Changelog | ||
|
||
For a list of changes, see our [changelog](CHANGELOG.md) page. |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
gh: | ||
repo: {{ github_repo }} | ||
org: {{ github_user }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- TODO: Include DOI after uploading --> | ||
<!-- [](https://pypi.org/project/{{< meta gh.repo >}}/) --> | ||
[](https://github.com/copier-org/copier) | ||
[](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/blob/main/pyproject.toml) | ||
[](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/blob/main/LICENSE.md) | ||
[](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/releases/latest) | ||
[](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/build-website.yml) | ||
[](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/build-package.yml) | ||
[](https://scorecard.dev/viewer/?uri=github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}) | ||
[](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/github-code-scanning/codeql) | ||
[](https://htmlpreview.github.io/?https://raw.githubusercontent.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/coverage/index.html) | ||
[](https://results.pre-commit.ci/latest/github/{{< meta gh.org >}}/{{< meta gh.repo >}}/main) | ||
[](https://lifecycle.r-lib.org/articles/stages.html#experimental) | ||
[](https://www.repostatus.org/#wip) | ||
<!-- [](https://www.repostatus.org/#active) --> |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the var names set in #140