bottom/CONTRIBUTING.md

41 lines
2.4 KiB
Markdown
Raw Normal View History

2020-04-29 05:54:50 +03:00
# Contribution
Contribution in any way is appreciated, whether it is reporting problems, fixing bugs, implementing features, improving the documentation, etc.
2020-04-29 05:54:50 +03:00
## Opening an issue
2020-04-29 05:54:50 +03:00
### Bug reports
2020-04-29 05:54:50 +03:00
2023-05-19 07:24:46 +03:00
When filing a bug report, fill out the [bug report template](https://github.com/ClementTsang/bottom/issues/new?assignees=&labels=bug&template=bug_report.yml). Be sure to give all the neccessary details! It is _incredibly_ difficult for a maintainer to fix a bug when it cannot be reproduced,
so that makes it much easier to reproduce the problem!
2020-04-29 05:54:50 +03:00
### Feature requests
2020-04-29 05:54:50 +03:00
2023-05-19 07:24:46 +03:00
Please fill out the [feature request template](https://github.com/ClementTsang/bottom/issues/new?assignees=&labels=feature&template=feature_request.yml). Remember to give details about what the feature is along with why you think this suggestion will be useful.
2020-04-29 05:54:50 +03:00
## Pull requests
If you want to directly contribute documentation changes or code, follow this! The expected workflow for a pull request is:
2020-04-29 05:54:50 +03:00
1. Fork the project.
2. Make your changes.
2023-02-13 11:35:46 +03:00
3. Make any documentation changes if necessary - if you add a new feature, it'll probably need documentation changes. See [here](https://clementtsang.github.io/bottom/nightly/contribution/documentation/) for tips on documentation.
4. Commit and create a pull request to merge into the `master` branch. **Please fill out the pull request template**.
5. Ask a maintainer to review your pull request.
- Check if the CI workflow passes. These consist of clippy lints, rustfmt checks, and basic tests. If you are a
first-time contributor, you may need to wait for a maintainer to let CI run.
- If changes are suggested or any comments are made, they should probably be addressed.
2023-02-13 11:35:46 +03:00
6. Once it looks good, it'll be merged! Note that _generally_, PRs are squashed to maintain repo cleanliness, though
feel free to ask otherwise if that isn't preferable.
2020-04-29 05:54:50 +03:00
For more details, see [here](https://clementtsang.github.io/bottom/nightly/contribution/issues-and-pull-requests/).
2020-04-29 05:54:50 +03:00
2021-10-20 01:29:59 +03:00
### Documentation
For contributing to documentation, see [here](https://clementtsang.github.io/bottom/nightly/contribution/documentation/).
2021-10-20 01:29:59 +03:00
### Packaging
2023-02-13 11:35:46 +03:00
If you want to become a package maintainer, see [here](https://clementtsang.github.io/bottom/nightly/contribution/packaging-and-distribution/)
2023-05-19 07:24:46 +03:00
for details on how to build bottom, how to generate/obtain completion files and manpages, and how to add installation instructions for the package to the README.