- Use This Guide?
- Ask or Say Something? 🤔🐛😱
- Make Something? 🤓👩🏽💻📜🍳
- Add a Guide Like This One To My Project? 🤖😻👻
Thank you so much for your interest in contributing!. All types of contributions are encouraged and valued. See the table of contents for different ways to help and details about how this project handles them!📝
Please make sure to read the relevant section before making your contribution! It will make it a lot easier for us maintainers to make the most of it and smooth out the experience for all involved. 💚
We look forward to your contributions. 🙌🏾✨
If you have a question about this project, how to use it, or just need clarification about something:
- Open an Issue at https://github.com/steveklabnik/simple-server/issues
- Provide as much context as you can about what you're running into.
- Provide project and platform versions (rustc, cargo, etc), depending on what seems relevant. If not, please be ready to provide that information if maintainers ask for it.
Once it's filed:
- The project team will label the issue.
- Someone will try to have a response soon.
If you run into an error or bug with the project:
- Open an Issue at https://github.com/steveklabnik/simple-server/issues
- Include reproduction steps that someone else can follow to recreate the bug or error on their own.
- Provide project and platform versions (rustc, cargo, etc), depending on what seems relevant. If not, please be ready to provide that information if maintainers ask for it.
Once it's filed:
- The project team will label the issue.
- A team member will try to reproduce the issue with your provided steps. If there are no repro steps or no obvious way to reproduce the issue, your issue may be closed.
- If the team is able to reproduce the issue, it will be marked
bug
, as well as possibly other tags, and the issue will be left to be implemented by someone.
If the project doesn't do something you need or want it to do:
- Open an Issue at https://github.com/steveklabnik/simple-server/issues
- Provide as much context as you can about what you're running into.
- Please try and be clear about why existing features and alternatives would not work for you.
Once it's filed:
- The project team will label the issue.
- The project team will evaluate the feature request, possibly asking you more questions to understand its purpose and any relevant requirements. If the issue is closed, the team will convey their reasoning and suggest an alternative path forward.
- If the feature request is accepted, it will be marked for implementation with
enhancement
, which can then be done by either by a team member or by anyone in the community who wants to contribute code.
Note: The team is unlikely to be able to accept every single feature request that is filed. Please understand if they need to say no.
So you wanna contribute some code! That's great! This project uses GitHub Pull Requests to manage contributions, so read up on how to fork a GitHub project and file a PR if you've never done it before.
If this seems like a lot or you aren't able to do all this setup, you might also be able to edit the files directly without having to do any of this setup. Yes, even code.
If you want to go the usual route and run the project locally, though:
- Install Rust. You need a version greater than or equal to 1.20.
- Fork the project
Then in your terminal:
cd path/to/your/clone
cargo test
And you should be ready to go!
Documentation is a super important, critical part of this project. Docs are how we keep track of what we're doing, how, and why. It's how we stay on the same page about our policies. And it's how we tell others everything they need in order to be able to use this project -- or contribute to it. So thank you in advance.
Documentation contributions of any size are welcome! Feel free to file a PR even if you're just rewording a sentence to be more clear, or fixing a spelling mistake!
To contribute documentation:
- Set up the project.
- Edit or add any relevant documentation.
- Make sure your changes are formatted correctly and consistently with the rest of the documentation.
- Re-read what you wrote, and run a spellchecker on it to make sure you didn't miss anything.
- Write clear, concise commit message(s) using conventional-changelog
format.
Documentation commits should use
docs(<component>): <message>
. - Go to https://github.com/steveklabnik/steveklabnik/pulls and open a new pull request with your changes.
- If your PR is connected to an open issue, add a line in your PR's description
that says
Fixes: #123
, where#123
is the number of the issue you're fixing.
Once you've filed the PR:
- One or more maintainers will use GitHub's review feature to review your PR.
- If the maintainer asks for any changes, edit your changes, push, and ask for another review.
- If the maintainer decides to pass on your PR, they will thank you for the contribution and explain why they won't be accepting the changes. That's ok! We still really appreciate you taking the time to do it, and we don't take that lightly. 💚
- If your PR gets accepted, it will be marked as such, and merged into the
master
branch soon after. Your contribution will be distributed to the masses next time the maintainers tag a release.
We like code commits a lot! They're super handy, and they keep the project going and doing the work it needs to do to be useful to others.
Code contributions of just about any size are acceptable!
The main difference between code contributions and documentation contributions is that contributing code requires inclusion of relevant tests for the code being added or changed. Contributions without accompanying tests will be held off until a test is added, unless the maintainers consider the specific tests to be either impossible, or way too much of a burden for such a contribution.
simple-server
's testing isn't spectacular yet; improving that would also be
a great contribution! Until then, the best tests you can do is enough.
To contribute code:
- Set up the project.
- Make any necessary changes to the source code.
- Include any additional documentation the changes might need.
- Write tests that verify that your contribution works as expected.
- Write clear, concise commit message(s) using conventional-changelog format.
- Go to https://github.com/steveklabnik/simple-server/pulls and open a new pull request with your changes.
- If your PR is connected to an open issue, add a line in your PR's description
that says
Fixes: #123
, where#123
is the number of the issue you're fixing.
Once you've filed the PR:
- Barring special circumstances, maintainers will not review PRs until all checks pass (Travis, AppVeyor, etc).
- One or more maintainers will use GitHub's review feature to review your PR.
- If the maintainer asks for any changes, edit your changes, push, and ask for
another review. Additional tags (such as
needs-tests
) will be added depending on the review. - If the maintainer decides to pass on your PR, they will thank you for the contribution and explain why they won't be accepting the changes. That's ok! We still really appreciate you taking the time to do it, and we don't take that lightly. 💚
- If your PR gets accepted, it will be marked as such, and merged into the
master
branch soon after. Your contribution will be distributed to the masses next time the maintainers tag a release.
This guide was generated using the WeAllJS CONTRIBUTING.md
generator. Make
your own!