Skip to content

Commit 42017fe

Browse files
author
Rob Underwood
committed
Adding standard CONTRIBUTING.md from finos/project-blueprint
1 parent 07372d4 commit 42017fe

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

.github/CONTRIBUTING.md

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Contributing to {project name}
2+
3+
# Contributor License Agreement (CLA)
4+
A CLA is a document that specifies how a project is allowed to use your
5+
contribution; they are commonly used in many open source projects.
6+
7+
**_All_ contributions to _all_ projects hosted by [FINOS](https://www.finos.org/)
8+
must be made with a
9+
[Foundation CLA](https://finosfoundation.atlassian.net/wiki/spaces/FINOS/pages/83034172/Contribute)
10+
in place, and there are [additional legal requirements](https://finosfoundation.atlassian.net/wiki/spaces/FINOS/pages/75530375/Legal+Requirements)
11+
that must also be met.**
12+
13+
Commits and pull requests to FINOS repositories such as {project name} will only be accepted from those contributors with an active, executed Individual Contributor License Agreement (ICLA) with FINOS OR who are covered under an existing and active Corporate Contribution License Agreement (CCLA) executed with FINOS. Commits from individuals not covered under an ICLA or CCLA will be flagged and blocked by the FINOS ["CLA Bot" tool](https://github.com/finos/cla-bot). Please note that some CCLAs require individuals/employees to be explicitly named on the CCLA.
14+
15+
As a result, PRs submitted to the {project name} project cannot be accepted until you have a CLA in place with the Foundation.
16+
17+
Need an ICLA? Unsure if you are covered under an existing CCLA? Email [[email protected]](mailto:[email protected]?subject=CLA)
18+
19+
# Contributing Issues
20+
21+
## Prerequisites
22+
23+
* [ ] Have you [searched for duplicates](https://github.com/{program name}/{project name}/issues?utf8=%E2%9C%93&q=)? A simple search for exception error messages or a summary of the unexpected behaviour should suffice.
24+
* [ ] Are you running the latest version?
25+
* [ ] Are you sure this is a bug or missing capability?
26+
27+
## Raising an Issue
28+
* Create your issue [here](https://github.com/{program name}/{project name}/issues/new).
29+
* New issues contain two templates in the description: bug report and enhancement request. Please pick the most appropriate for your issue, **then delete the other**.
30+
* Please also tag the new issue with either "Bug" or "Enhancement".
31+
* Please use [Markdown formatting](https://help.github.com/categories/writing-on-github/)
32+
liberally to assist in readability.
33+
* [Code fences](https://help.github.com/articles/creating-and-highlighting-code-blocks/) for exception stack traces and log entries, for example, massively improve readability.
34+
35+
# Contributing Pull Requests (Code & Docs)
36+
To make review of PRs easier, please:
37+
38+
* Please make sure your PRs will merge cleanly - PRs that don't are unlikely to be accepted.
39+
* For code contributions, follow the existing code layout.
40+
* For documentation contributions, follow the general structure, language, and tone of the [existing docs](https://github.com/{program name}/{project name}/wiki).
41+
* Keep commits small and cohesive - if you have multiple contributions, please submit them as independent commits (and ideally as independent PRs too).
42+
* Reference issue #s if your PR has anything to do with an issue (even if it doesn't address it).
43+
* Minimise non-functional changes (e.g. whitespace).
44+
* Ensure all new files include a header comment block containing the [Apache License v2.0 and your copyright information](http://www.apache.org/licenses/LICENSE-2.0#apply).
45+
* If necessary (e.g. due to 3rd party dependency licensing requirements), update the [NOTICE file](https://github.com/{program name}/{project name}/blob/master/NOTICE) with any new attribution or other notices
46+
47+
48+
## Commit and PR Messages
49+
50+
* **Reference issues, wiki pages, and pull requests liberally!**
51+
* Use the present tense ("Add feature" not "Added feature")
52+
* Use the imperative mood ("Move button left..." not "Moves button left...")
53+
* Limit the first line to 72 characters or less

0 commit comments

Comments
 (0)