1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00
docs/content/concepts/contributing.md

74 lines
4.0 KiB
Markdown
Raw Normal View History

2018-11-09 18:31:55 +01:00
---
title: Ways to Contribute
2021-01-14 12:04:15 +01:00
description: Help to improve and develop Ocean core software.
2018-11-09 18:31:55 +01:00
---
2021-01-14 12:59:33 +01:00
## Report a bug
2021-01-15 08:37:17 +01:00
To report a bug that isn't a vulnerability, go to the relevant GitHub repository, click on the _Issues_ tab and select _Bug report_.
Before reporting a bug, search existing open and closed issues and PRs to see if something has already been reported. If not, then go ahead and create a new bug report, following the structure suggested in the issue template.
2021-01-14 12:59:33 +01:00
To report a vulnerability, you may do so in a [less public manner](/concepts/vulnerabilities/).
## Suggest a new feature
2021-01-14 13:13:03 +01:00
Use the _Issues_ section of each repository and select _Feature request_ to suggest and discuss any features you would like to see added.
2021-01-14 12:59:33 +01:00
2021-01-15 08:37:17 +01:00
As with bug reports, search existing open and closed issues and PRs to see if something has already been reported.
2021-01-14 12:59:33 +01:00
## Fix or improve core software
2021-01-14 13:13:03 +01:00
We'd love to have you contribute to any repository within the `oceanprotocol` GitHub organization!
2021-01-14 12:04:15 +01:00
Before you start coding right away, please follow those basic guidelines:
2021-01-15 08:37:17 +01:00
- If no issue for your case is present, open one first before starting to work on something, so it can be discussed.
- Make yourself familiar with eventual repository-specific contribution requirements and code style requirements.
2021-01-14 11:27:57 +01:00
- Because of the weird world of intellectual property, we need you to follow the [legal requirements](/concepts/legal-reqs/) for contributing code.
- Be excellent to each other, as outlined in our [Contributor Code of Conduct](/concepts/code-of-conduct/).
2021-01-14 12:04:15 +01:00
### Workflow
A typical code contribution in any Ocean Protocol repository would go as follows:
2021-01-14 11:27:57 +01:00
1. As an external developer, fork the respective repo and push to your own fork. Ocean core developers push directly on the repo under `oceanprotocol` org.
2. You should create a new branch for your changes. The naming convention for branches is: `issue-001-short-feature-description`. The issue number `issue-001` needs to reference the GitHub issue that you are trying to fix. The short feature description helps to quickly distinguish your branch among the other branches in play.
2021-01-15 08:37:17 +01:00
3. To get visibility and Continuous Integration feedback as early as possible, open your Pull Request as a `Draft`.
4. Give it a meaningful title, and at least link to the respective issue in the Pull Request description, like `Fixes #23`. Describe your changes, mention things for reviewers to look out for, and for UI changes screenshots and videos are helpful.
2021-01-14 11:27:57 +01:00
5. Once your Pull Request is ready, mark it as `Ready for Review`, in most repositories code owners are automatically notified and asked for review.
6. Get all CI checks green and address eventual change requests.
2021-01-15 08:37:17 +01:00
7. If your PR stays open for longer and merge conflicts are detected, merge or rebase your branch against the current `main` branch.
8. Once a Pull Request is approved, you can merge it.
Depending on the release management of each repository, your contribution will be either included in a next release, or is put live automatically.
2021-01-14 11:27:57 +01:00
Except for GitHub, you can find most Ocean Protocol core developers in [Discord](https://discord.gg/TnXjkR5) if you have further development questions.
2021-01-14 12:59:33 +01:00
## Develop an app or integration on top of Ocean Protocol
2021-01-15 08:37:17 +01:00
Create an app with one of Ocean Protocol's interface points:
<repo name="react"></repo>
<repo name="ocean.js"></repo>
<repo name="ocean.py"></repo>
<repo name="contracts"></repo>
2018-11-09 18:31:55 +01:00
2020-10-17 09:09:20 +02:00
Ocean documentation will help. And... you're here:)
2018-11-09 18:31:55 +01:00
2021-01-14 11:27:57 +01:00
## Improve these docs
2018-11-11 04:02:34 +01:00
2021-01-15 08:37:17 +01:00
These docs can always be improved. Every content page has an edit link at its end linking you to the content source on GitHub for simple copy editing.
If you found a technical bug or have an improvement suggestion, head over to the repo's _Issues_ section:
2021-01-14 12:59:33 +01:00
2018-11-11 04:02:34 +01:00
<repo name="docs"></repo>
2021-01-14 11:27:57 +01:00
## Apply for a developer job
2020-12-15 15:30:05 +01:00
Really love building on Ocean and want to dive deeper? Consider joining us full time. Our openings are listed at https://github.com/oceanprotocol/devjobs.
2021-01-14 11:27:57 +01:00
## Other ways to get involved
2020-12-11 20:11:10 +01:00
Please go to the [Ocean Community Page](https://www.oceanprotocol.com/community) for more ideas on how to get involved.