puter/CONTRIBUTING.md

4.5 KiB

Contributing to Puter

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.


Report bugs

Before reporting a bug, please check our the issues on our GitHub repository 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.

If you find a new bug in Puter, please open an issue on our GitHub repository. 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:

  • 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, ...

Please open a separate issue for each bug you find.

Maintainers will apply the appropriate labels to your issue.


Suggest new features

If you have an idea for a new feature in Puter, please open a new discussion thread on our GitHub repository to discuss your idea with the community. We'll do our best to respond to your suggestion as soon as possible.

When suggesting a new feature, please include as much information as possible, including:

  • A clear and descriptive title
  • A description of the feature
  • The problem the feature will solve
  • Any relevant screenshots or mockups
  • Any relevant links or resources

Contribute code

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.

We'll review your pull request and work with you to get your changes merged into the project.

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 label in our GitHub repository. 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.


Documentation for Contributors

See doc/contributors/index.md for more information.


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

Code Review

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!


Contribution License Agreement (CLA)

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.


Getting Help

If you have any questions about Puter, please feel free to reach out to us through the following channels: