Skip to content

Commit 2561aeb

Browse files
authored
docs: update contribution guideline (OSPO) (#310)
Co-authored-by: Christian Lechner <[email protected]>
1 parent 82cf97b commit 2561aeb

File tree

1 file changed

+23
-27
lines changed

1 file changed

+23
-27
lines changed

CONTRIBUTING.md

+23-27
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,34 @@
1-
# Contributing
1+
# Contributing to an SAP Open Source Project
22

3-
## Code of Conduct
3+
## General Remarks
44

5-
All project community members must abide by the [SAP Open Source Code of Conduct](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md).
6-
Only by respecting each other, we can develop a productive, collaborative community.
7-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting [a project maintainer](.reuse/dep5).
5+
You are welcome to contribute content (code, documentation etc.) to this open source project.
86

9-
## Engaging in Our Project
7+
There are some important things to know:
108

11-
We use GitHub to manage reviews of pull requests.
9+
1. You must **comply to the license of this project**, **accept the Developer Certificate of Origin** (see below) before being able to contribute. The acknowledgement to the DCO will usually be requested from you as part of your first pull request to this project.
10+
2. Please **adhere to our [Code of Conduct](https://github.com/SAP/.github/blob/main/CODE_OF_CONDUCT.md)**.
11+
3. If you plan to use **generative AI for your contribution**, please see our guideline below.
12+
4. **Not all proposed contributions can be accepted**. Some features may fit another project better or doesn't fit the general direction of this project. Of course, this doesn't apply to most bug fixes, but a major feature implementation for instance needs to be discussed with one of the maintainers first. Possibly, one who touched the related code or module recently. The more effort you invest, the better you should clarify in advance whether the contribution will match the project's direction. The best way would be to just open an issue to discuss the feature you plan to implement (make it clear that you intend to contribute). We will then forward the proposal to the respective code owner. This avoids disappointment.
1213

13-
* If you are a new contributor, see: [Steps to Contribute](#steps-to-contribute)
14+
## Developer Certificate of Origin (DCO)
1415

15-
* Before implementing your change, create an issue describing the problem you want to solve or the code that should be enhanced. Please note that you are willing to work on that issue.
16+
Contributors will be asked to accept a DCO before they submit the first pull request to this projects, this happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/).
1617

17-
* The team will review the issue and decide whether it should be implemented as a pull request. In that case, they will assign the issue to you. If the team decides against picking up the issue, the team will post a comment with an explanation.
18+
## Contributing with AI-generated code
1819

19-
## Steps to Contribute
20+
As artificial intelligence evolves, AI-generated code is becoming valuable for many software projects, including open-source initiatives. While we recognize the potential benefits of incorporating AI-generated content into our open-source projects there a certain requirements that need to be reflected and adhered to when making contributions.
2021

21-
If you wish to work on an issue, we kindly ask you to claim it first by commenting on the GitHub issue that you want to work on. This is to prevent duplicated efforts from other contributors on the same issue.
22+
Please see our [guideline for AI-generated code contributions to SAP Open Source Software Projects](https://github.com/SAP/.github/blob/main/CONTRIBUTING_USING_GENAI.md) for these requirements.
2223

23-
If you have questions about one of the issues, please comment on them, and one of the maintainers will clarify.
24+
## How to Contribute
2425

25-
## Contributing Code or Documentation
26-
27-
You are welcome to contribute code in order to fix a bug or to implement a new feature that is logged as an issue.
28-
29-
The following rule governs code contributions:
30-
31-
* Contributions must be licensed under the [Apache 2.0 License](./LICENSE)
32-
* Due to legal reasons, contributors will be asked to accept a Developer Certificate of Origin (DCO) when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses [the standard DCO text of the Linux Foundation](https://developercertificate.org/).
33-
34-
## Issues and Planning
35-
36-
* We use GitHub issues to track bugs and enhancement requests.
37-
38-
* Please provide as much context as possible when you open an issue. Your information must be comprehensive enough to reproduce that issue for the assignee.
26+
1. Make sure the change is welcome (see [General Remarks](#general-remarks)).
27+
2. Create a branch by forking the repository and apply your change.
28+
3. Commit and push your change on that branch.
29+
4. Create a pull request in the repository using this branch.
30+
5. Follow the link posted by the CLA assistant to your pull request and accept it, as described above.
31+
6. Wait for our code review and approval, possibly enhancing your change on request.
32+
- Note that the maintainers have many duties. So, depending on the required effort for reviewing, testing, and clarification, this may take a while.
33+
7. Once the change has been approved and merged, we will inform you in a comment.
34+
8. Celebrate!

0 commit comments

Comments
 (0)