Skip to content

Commit

Permalink
Adds missing license headers section to the CONTRIBUTING.md file. (op…
Browse files Browse the repository at this point in the history
…ensearch-project#3292)

Signed-off-by: David Venable <[email protected]>
  • Loading branch information
dlvenable authored and asifsmohammed committed Sep 27, 2023
1 parent 5cad3bd commit 9328d3e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,32 @@ Each commit must include a DCO which looks like this
Signed-off-by: Jane Smith <[email protected]>
```
You may type this line on your own when writing your commit messages. However, if your user.name and user.email are set in your git configs, you can use `-s` or `--signoff` to add the `Signed-off-by` line to the end of the commit message.

## License Headers

New files in your code contributions should contain the following license header.
If you are modifying existing files with license headers, or including new files that already have license headers, do not remove or modify them without guidance.

### Java, Gradle/Groovy

```
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
*/
```

### Shell, Python
```
# Copyright OpenSearch Contributors
# SPDX-License-Identifier: Apache-2.0
#
# The OpenSearch Contributors require contributions made to
# this file be licensed under the Apache-2.0 license or a
# compatible open source license.
```

0 comments on commit 9328d3e

Please sign in to comment.