|
| 1 | +# Contributing |
| 2 | + |
| 3 | +Welcome to the project! |
| 4 | + |
| 5 | +We encourage contribution in a manner consistent with the [Code of Conduct](CODE_OF_CONDUCT.md). |
| 6 | +The following will guide you through the process. |
| 7 | + |
| 8 | +There are a number of ways you can contribute: |
| 9 | + |
| 10 | +1. [Asking questions](#questions) |
| 11 | +1. [Requesting features](#feature-requests) |
| 12 | +1. [Reporting bugs](#bug-reporting) |
| 13 | +1. [Contributing code or documentation](#contributing-code-or-documentation) |
| 14 | + |
| 15 | +## License Agreements |
| 16 | + |
| 17 | +If your contribution modifies the git repository, the following agreements must be established. |
| 18 | + |
| 19 | +*Note:* License agreements are only needed for adding, modifying, and deleting artifacts kept within the repository. |
| 20 | +In simple terms, license agreements are needed before pull requests can be accepted. |
| 21 | +A license agreement is not needed for submitting feature request, bug reporting, or other project management. |
| 22 | + |
| 23 | +### Individual Contributor License Agreement |
| 24 | + |
| 25 | +In order to contribute to this repository, an |
| 26 | +[Individual Contributor License Agreement (ICLA)](.github/senzing-individual-contributor-license-agreement.pdf) |
| 27 | +must be completed, submitted and accepted. |
| 28 | + |
| 29 | +### Corporate Contributor License Agreement |
| 30 | + |
| 31 | +If the contribution to this repository is on behalf of a company, a |
| 32 | +[Corporate Contributor License Agreement (CCLA)](.github/senzing-corporate-contributor-license-agreement.pdf) |
| 33 | +must also be completed, submitted and accepted. |
| 34 | + |
| 35 | +### Project License Agreement |
| 36 | + |
| 37 | +The license agreement for this repository is stated in the |
| 38 | +[LICENSE](LICENSE) file. |
| 39 | + |
| 40 | +## Questions |
| 41 | + |
| 42 | +Please do not use the GitHub issue tracker to submit questions. |
| 43 | + |
| 44 | +TODO: Instead, use ??? |
| 45 | + |
| 46 | +1. ??? Slack ??? |
| 47 | +1. ??? stackoverflow.com ??? |
| 48 | + |
| 49 | +## Feature Requests |
| 50 | + |
| 51 | +All feature requests are "GitHub issues". |
| 52 | +To request a feature, create a |
| 53 | +[GitHub issue](https://help.github.com/articles/creating-an-issue/) |
| 54 | +in this repository. |
| 55 | + |
| 56 | +When creating an issue, there will be a choice to create a "Bug report" or a "Feature request". |
| 57 | +Choose "Feature request". |
| 58 | + |
| 59 | +## Bug Reporting |
| 60 | + |
| 61 | +All bug reports are "GitHub issues". |
| 62 | +Before reporting on a bug, check to see if it has |
| 63 | +[already been reported](https://github.com/search?q=+is%3Aissue+user%3Asenzing). |
| 64 | +To report a bug, create a |
| 65 | +[GitHub issue](https://help.github.com/articles/creating-an-issue/) |
| 66 | +in this repository. |
| 67 | + |
| 68 | +When creating an issue, there will be a choice to create a "Bug report" or a "Feature request". |
| 69 | +Choose "Bug report". |
| 70 | + |
| 71 | +## Contributing code or documentation |
| 72 | + |
| 73 | +To contribute code or documentation to the repository, you must have |
| 74 | +[License Agreements](#license-agreements) in place. |
| 75 | +This needs to be complete before a [Pull Request](#pull-requests) can be accepted. |
| 76 | + |
| 77 | +### Setting up a development environment |
| 78 | + |
| 79 | +#### Set Environment variables |
| 80 | + |
| 81 | +These variables may be modified, but do not need to be modified. |
| 82 | +The variables are used throughout the installation procedure. |
| 83 | + |
| 84 | +```console |
| 85 | +export GIT_ACCOUNT=senzing |
| 86 | +export GIT_REPOSITORY=docker-db2 |
| 87 | +``` |
| 88 | + |
| 89 | +Synthesize environment variables. |
| 90 | + |
| 91 | +```console |
| 92 | +export GIT_ACCOUNT_DIR=~/${GIT_ACCOUNT}.git |
| 93 | +export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}" |
| 94 | +export GIT_REPOSITORY_URL="[email protected]:${GIT_ACCOUNT}/${GIT_REPOSITORY}.git" |
| 95 | +``` |
| 96 | + |
| 97 | +#### Clone repository |
| 98 | + |
| 99 | +Get repository. |
| 100 | + |
| 101 | +```console |
| 102 | +mkdir --parents ${GIT_ACCOUNT_DIR} |
| 103 | +cd ${GIT_ACCOUNT_DIR} |
| 104 | +git clone ${GIT_REPOSITORY_URL} |
| 105 | +cd ${GIT_REPOSITORY_DIR} |
| 106 | +``` |
| 107 | + |
| 108 | +### Coding conventions |
| 109 | + |
| 110 | +TODO: |
| 111 | + |
| 112 | +### Testing |
| 113 | + |
| 114 | +TODO: |
| 115 | + |
| 116 | +### Pull Requests |
| 117 | + |
| 118 | +Code in the master branch is modified via GitHub pull request. |
| 119 | +Follow GitHub's |
| 120 | +[Creating a pull request from a branch](https://help.github.com/articles/creating-a-pull-request/) |
| 121 | +or |
| 122 | +[Creating a pull request from a fork](https://help.github.com/articles/creating-a-pull-request-from-a-fork/) instructions. |
| 123 | + |
| 124 | +Accepting pull requests will be at the discretion of Senzing, Inc. and the repository owner(s). |
0 commit comments