-
Notifications
You must be signed in to change notification settings - Fork 9
/
CONTRIBUTING
81 lines (54 loc) · 2.73 KB
/
CONTRIBUTING
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
=================
How to Contribute
=================
We welcome community contributions to the LexEVS service project.
Your contributions back to this repository will allow the broader
research community to benefit from your work and will allow your
enhancements to be integrated with those of others. There are a few
guidelines that we ask contributors to follow so that we can have a
chance of keeping on top of things.
---------------
Getting Started
---------------
* Make sure you have a `GitHub Account`_.
* Fork the repository on GitHub to publish any proposed changes
* Submit a ticket for your issue at https://tracker.nci.nih.gov/browse/LEXEVS, assuming one does not already exist.
- Create account here: https://tracker.nci.nih.gov/secure/CreateIssue.jspa?pid=10002&issuetype=8
- Clearly describe the issue including steps to reproduce when it is a bug.
- Make sure you fill in the earliest version that you know has the issue.
.. _`GitHub Account`: https://github.com/signup/free
--------------
Making Changes
--------------
* Create a topic branch from where you want to base your work.
- This is usually the master branch.
- Only target release branches if you are certain your fix must be
on that branch.
- To quickly create a topic branch based on master::
git checkout -b fix/master/my_contribution master
Please avoid working directly on the master branch.
* Make commits of logical units.
* Please provide tests and documentation with your changes.
* Check for unnecessary whitespace with ``git diff --check`` before committing.
* Follow the `NCIP Good Practices for Commit Messages`_.
Start with a one-line summary followed by a blank line followed by a
detailed free-form description.
.. _`NCIP Good Practices for Commit Messages`: https://github.com/NCIP/ncip.github.com/wiki/Good-Practices#wiki-commit-messages
------------------
Submitting Changes
------------------
* In general, we require that the OSI-approved `BSD 3-Clause License`_
be applied to code contributions. There may be cases, however, that
warrant the use of an alternate OSI-approved license and we will
evaluate this situations case-by-case.
* Push your changes to a topic branch in your fork of the repository.
* Submit a pull request to the repository in the NCIP organization.
* Update your JIRA ticket to mark that you have submitted
code and are ready for it to be reviewed.
- Include a link to the pull request in the ticket
.. _`BSD 3-Clause License`: http://opensource.org/licenses/BSD-3-Clause
--------------------
Additional Resources
--------------------
For help learning Git and Github, see the `NCIP Learning Resources`_.
.. _`NCIP Learning Resources`: https://github.com/NCIP/ncip.github.com/wiki/Learning-Resources