Skip to content

Commit 4d46368

Browse files
[Internal] Add DCO guidelines (#351)
## Changes This PR updates the contributing guidelines to include the DCO (Developer Certificate of Origin) that external contributors must sign-off to contribute. ## Tests N/A
1 parent 86800f2 commit 4d46368

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

CONTRIBUTING.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@ New contributors should look for the following tags when searching for a first c
1818

1919
[good first issue](https://github.com/databricks/databricks-sdk-java/labels/good%20first%20issue)
2020

21+
## Developer Certificate of Origin
22+
23+
To contribute to this repository, you must sign off your commits to certify that you have the right to contribute the code and that it complies with the open source license.
24+
You can easily do this by adding a "Signed-off-by" line to your commit message to certify your compliance. Please use use your real name as pseudonymous/anonymous contributions are not accepted.
25+
26+
```
27+
Signed-off-by: Joe Smith <[email protected]>
28+
```
29+
30+
If you set your `user.name` and `user.email` git configs, you can sign your commit automatically with git commit -s:
31+
32+
```
33+
git commit -s -m "Your commit message"
34+
```
35+
36+
2137
## Contribution Workflow
2238

2339
Code contributions—bug fixes, new development, test improvement—all follow a GitHub-centered workflow. To participate in Databricks Java SDK development, set up a GitHub account. Then:
@@ -43,7 +59,7 @@ Code contributions—bug fixes, new development, test improvement—all follow a
4359
```bash
4460
git add -A
4561
46-
git commit -m "commit message here"
62+
git commit -s -m "commit message here"
4763
```
4864

4965
1. Push your changes to your GitHub repo.

DCO

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Developer's Certificate of Origin 1.1
2+
By making a contribution to this project, I certify that:
3+
(a) The contribution was created in whole or in part by me and I
4+
have the right to submit it under the open source license
5+
indicated in the file; or
6+
(b) The contribution is based upon previous work that, to the best
7+
of my knowledge, is covered under an appropriate open source
8+
license and I have the right under that license to submit that
9+
work with modifications, whether created in whole or in part
10+
by me, under the same open source license (unless I am
11+
permitted to submit under a different license), as indicated
12+
in the file; or
13+
(c) The contribution was provided directly to me by some other
14+
person who certified (a), (b) or (c) and I have not modified
15+
it.
16+
(d) I understand and agree that this project and the contribution
17+
are public and that a record of the contribution (including all
18+
personal information I submit with it, including my sign-off) is
19+
maintained indefinitely and may be redistributed consistent with
20+
this project or the open source license(s) involved.

0 commit comments

Comments
 (0)