-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
trchudley
committed
Apr 21, 2024
1 parent
697f41d
commit cf7d960
Showing
10 changed files
with
126 additions
and
106 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -6,4 +6,6 @@ gitignore* | |
example_data/ | ||
.DS_Store | ||
*.tif | ||
docs/_build/ | ||
docs/_build/ | ||
.coverage | ||
dist/ |
This file contains 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 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 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,55 @@ | ||
|
||
<!-- | ||
There should be clear guidelines for third-parties wishing to: | ||
- Contribute to the software | ||
- Report issues or problems with the software | ||
- Seek support | ||
https://pypromice.readthedocs.io/en/latest/guide_developer.html | ||
https://icepyx.readthedocs.io/en/latest/contributing/contribution_guidelines.html | ||
--> | ||
# Community guide | ||
|
||
We welcome contributions, bug reports and fixes, documentation improvements, and enhancements and ideas, from anyone at any career stage and experience. | ||
|
||
We ask those participating to contribute to a positive community environment, as outlined by the [Contributor Convenant](https://www.contributor-covenant.org/version/2/1/code_of_conduct/). | ||
|
||
## Report issues or problems | ||
|
||
Issue, bugs, and feature requests can be reported in the _Issues_ tab of the [GitHub repository](https://github.com/trchudley/pdemtools/issues). | ||
|
||
Please give your issue a clear title. If describing a bug, include (i) a description of how your pDEMtools is set up (e.g. pip, repository cloning) and the version being used; (ii) a concise Python snippet reproducing the problem; and (iii) and explanation of why the current behaviour is wrong, and what is expected. | ||
|
||
## Contribute to pDEMtools | ||
|
||
You can work directly with the development of pDEMtools if you have a solution for an issue or enhancement. | ||
|
||
Before doing so, please check that the GitHub issues page to ensure that your problem or proposed solution has not already been identified or is being worked upon. | ||
|
||
We follow a [standard git workflow](https://www.asmeurer.com/git-workflow/) for code fixes and additions. To contribute, begin by fork the pDEMtools GitHub repository into your own GitHub space, before creating an appropriately named development branch. All code is submitted via the pull request process rather than pushed directly to the main branch. Please ensure that commit and pull request messages are descriptive. The pull request will be reviewed and, if valid and suitable, accepted. | ||
|
||
### Developer install | ||
|
||
pDEMtools can be installed for development by cloning the github repository. We recommend installing dependencies via `conda`/`mamba` using the included `environment.yml` file. | ||
|
||
```bash | ||
git clone git@github.com:trchudley/pdemtools.git | ||
cd pypromice/ | ||
mamba env create --file environment.yml -n pdemtools_env | ||
mamba activate pdemtools_env | ||
pip install -e . | ||
``` | ||
|
||
### Unit Testing | ||
|
||
pDEMtools has built-in unit tests, which can be run to test the package installation. Please ensure that you have installed the `pytest` package from `pip` or `conda`/`mamba` prior to testing. Tests can then be run by running the `pytest` command from the `pdemtools` directory. | ||
|
||
```bash | ||
pip install pytest | ||
cd .../pdemtools | ||
pytest | ||
``` | ||
|
||
Pushing changes to the GitHub repository will initiate automated CI unit testing via Github Actions. |
Oops, something went wrong.