puter/CONTRIBUTING.md

102 lines
4.5 KiB
Markdown
Raw Normal View History

2024-03-11 01:03:30 +00:00
# Contributing to Puter
2024-03-11 01:29:07 +00:00
Welcome to Puter, the open-source distributed internet operating system. We're excited to have you contribute to our project, whether you're reporting bugs, suggesting new features, or contributing code. This guide will help you get started with contributing to Puter in different ways.
2024-03-11 01:07:35 +00:00
<br>
2024-03-11 01:03:30 +00:00
# Report bugs
2024-03-11 01:29:07 +00:00
Before reporting a bug, please check our [the issues on our GitHub repository](https://github.com/HeyPuter/puter/issues) to see if the bug has already been reported. If it has, you can add a comment to the existing issue with any additional information you have.
2024-03-11 01:03:30 +00:00
If you find a new bug in Puter, please [open an issue on our GitHub repository](https://github.com/HeyPuter/puter/issues/new). We'll do our best to address the issue as soon as possible. When reporting a bug, please include as much information as possible, including:
2024-03-11 01:03:30 +00:00
- A clear and descriptive title
- A description of the issue
- Steps to reproduce the bug
- Expected behavior
- Actual behavior
- Screenshots, if applicable
- Your host operating system and browser
- Your Puter version, location, ...
2024-03-11 01:03:30 +00:00
Please open a separate issue for each bug you find.
Maintainers will apply the appropriate labels to your issue.
2024-03-11 01:07:35 +00:00
<br>
2024-03-11 01:03:30 +00:00
# Suggest new features
2024-03-11 01:29:07 +00:00
If you have an idea for a new feature in Puter, please open a new discussion thread on our [GitHub repository](https://github.com/HeyPuter/puter/discussions) to discuss your idea with the community. We'll do our best to respond to your suggestion as soon as possible.
2024-03-11 01:03:30 +00:00
2024-03-11 01:29:07 +00:00
When suggesting a new feature, please include as much information as possible, including:
- A clear and descriptive title
2024-03-11 01:03:30 +00:00
- A description of the feature
2024-03-11 01:29:07 +00:00
- The problem the feature will solve
- Any relevant screenshots or mockups
- Any relevant links or resources
2024-03-11 01:03:30 +00:00
2024-03-11 01:07:35 +00:00
<br>
2024-03-11 01:03:30 +00:00
# Contribute code
2024-03-11 01:29:07 +00:00
If you'd like to contribute code to Puter, you need to fork the project and submit a pull request. If this is your first time contributing to an open-source project, we recommend reading this short guide by GitHub on [how to contribute to a project](https://docs.github.com/en/get-started/exploring-projects-on-github/contributing-to-a-project).
2024-03-11 01:03:30 +00:00
2024-03-11 01:09:18 +00:00
We'll review your pull request and work with you to get your changes merged into the project.
2024-03-11 01:03:30 +00:00
## Your first code contribution
We maintain a list of issues that are good for first-time contributors. You can find these issues by searching for the [`good first issue`](https://github.com/HeyPuter/puter/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) label in our [GitHub repository](https://github.com/HeyPuter/puter). These issues are designed to be relatively easy to fix, and we're happy to help you get started. Pick an issue that interests you, and leave a comment on the issue to let us know you're working on it.
2024-03-11 01:03:30 +00:00
2024-03-11 01:07:35 +00:00
<br>
2024-03-11 01:03:30 +00:00
2024-03-30 23:08:03 +00:00
## Documentation for Contributors
See [doc/contributors/index.md](./doc/contributors/index.md) for more information.
<br>
## Commit Messages
Use the imperative, as is the convention in the Linux kernel:
- correct: `Improve performance of readdir`
- incorrect: `Improved readdir`
- incorrect: `Improving readdir`
We have the following exceptions to this rule:
- If the commit message is in _past tense_, it's a shorthand for the following:
- `Apply changes that would be applied after one had <past tense message>`
- If the commit message is in _present tense_, it's shorthand for the following:
- `Apply changes that would be applied after <present-tense message>`
For example, the following are correct:
- `Improved readdir`
- interpret this as: `Apply changes that would be applied after one had improved readdir`
- `Improving readdir`
- interpret this as: `Apply changes that would be applied after improving readdir`
<br>
## Code Review
2024-03-11 01:03:30 +00:00
Once you've submitted your pull request, the project maintainers will review your changes. We may suggest some changes or improvements. This is a normal part of the process, and your contributions are greatly appreciated!
2024-03-11 01:07:35 +00:00
<br>
2024-03-11 01:03:30 +00:00
## Contribution License Agreement (CLA)
2024-03-11 01:03:30 +00:00
Like many open source projects, we require contributors to sign a Contribution License Agreement (CLA) before we can accept your code. When you open a pull request for the first time, a bot will automatically add a comment with a link to the CLA. You can sign the CLA electronically by following the link and filling out the form.
2024-03-11 01:07:35 +00:00
<br>
2024-03-11 01:03:30 +00:00
# Getting Help
If you have any questions about Puter, please feel free to reach out to us through the following channels:
- [Discord](https://discord.com/invite/PQcx7Teh8u)
- [Reddit](https://www.reddit.com/r/Puter/)
- [Twitter](https://twitter.com/HeyPuter)
- [Email](mailto:support@puter.com)