|
| 1 | +# Questions |
| 2 | + |
| 3 | +If you are having difficulties using the APIs or have a question about the IBM Watson Services, |
| 4 | +please ask a question on [dW Answers][dw] or [Stack Overflow][stackoverflow]. |
| 5 | + |
| 6 | +# Issues |
| 7 | + |
| 8 | +If you encounter an issue with the Watson Spring Boot support, you are welcome to submit a |
| 9 | +[bug report](https://github.com/watson-developer-cloud/watson-spring/issues). |
| 10 | +Before that, please search for similar issues. It's possible somebody has encountered this issue already. |
| 11 | + |
| 12 | +# Pull Requests |
| 13 | + |
| 14 | +If you want to contribute to the repository, here's a quick guide: |
| 15 | + 1. Fork the repository |
| 16 | + 1. Create a `.config.properties` similar to [`config.properties`](https://github.com/watson-developer-cloud/java-sdk/blob/master/core/src/test/resources/config.properties). |
| 17 | + 2. develop and test your code changes, gradle: `gradle test`. |
| 18 | + * Run `checkstyle`: `gradle checkstyle`. 🏁 |
| 19 | + * Create minimal diffs - disable on save actions like reformat source code or organize imports. If you feel the source code should be reformatted create a separate PR for this change. |
| 20 | + * Check for unnecessary whitespace with git diff --check before committing. |
| 21 | + 3. Make the test pass |
| 22 | + 4. Commit your changes: |
| 23 | + * Use the present tense (`"Add feature"` not `"Added Feature"`) |
| 24 | + * Use the imperative mood (`"Move cursor to…"` not `"Moves cursor to…"`) |
| 25 | + * Include relevant Emoji from our [Emoji cheatsheet](#emoji-cheatsheet) |
| 26 | + 5. Push to your fork and submit a pull request to the **master** branch |
| 27 | + |
| 28 | +# Developer's Certificate of Origin 1.1 |
| 29 | + |
| 30 | +By making a contribution to this project, I certify that: |
| 31 | + |
| 32 | +(a) The contribution was created in whole or in part by me and I |
| 33 | + have the right to submit it under the open source license |
| 34 | + indicated in the file; or |
| 35 | + |
| 36 | +(b) The contribution is based upon previous work that, to the best |
| 37 | + of my knowledge, is covered under an appropriate open source |
| 38 | + license and I have the right under that license to submit that |
| 39 | + work with modifications, whether created in whole or in part |
| 40 | + by me, under the same open source license (unless I am |
| 41 | + permitted to submit under a different license), as indicated |
| 42 | + in the file; or |
| 43 | + |
| 44 | +(c) The contribution was provided directly to me by some other |
| 45 | + person who certified (a), (b) or (c) and I have not modified |
| 46 | + it. |
| 47 | + |
| 48 | +(d) I understand and agree that this project and the contribution |
| 49 | + are public and that a record of the contribution (including all |
| 50 | + personal information I submit with it, including my sign-off) is |
| 51 | + maintained indefinitely and may be redistributed consistent with |
| 52 | + this project or the open source license(s) involved. |
| 53 | + |
| 54 | +## Emoji Cheatsheet |
| 55 | + |
| 56 | +When creating creating commits or updating the `CHANGELOG`, please **start** the commit message or update with one of the following applicable Emoji. Emoji should not be used at the start of issue or pull request titles. |
| 57 | + |
| 58 | +* :new: `:new:` when adding new functionality |
| 59 | +* :bug: `:bug:` when fixing a bug |
| 60 | +* :memo: `:memo:` when writing documentation |
| 61 | +* :art: `:art:` when improving the format/structure of the code |
| 62 | +* :fire: `:fire:` when removing code or files |
| 63 | +* :racehorse: `:racehorse:` when improving performance |
| 64 | +* :white_check_mark: `:white_check_mark:` when adding tests |
| 65 | +* :green_heart: `:green_heart:` when fixing the CI build |
| 66 | +* :lock: `:lock:` when dealing with security |
| 67 | +* :crystal_ball: `:crystal_ball:` when experimenting |
| 68 | +* :unamused: `:unamused:` when doing chore work (updating dependencies, etc…) |
| 69 | +* :boom: `:boom:` when changing in a non-backwards-compatible way current functionality |
| 70 | +* :shipit: `:shipit:` when creating a new release |
| 71 | + |
| 72 | +## Additional Resources |
| 73 | ++ [General GitHub documentation](https://help.github.com/) |
| 74 | ++ [GitHub pull request documentation](https://help.github.com/send-pull-requests/) |
| 75 | + |
| 76 | +[dw]: https://developer.ibm.com/answers/questions/ask/?topics=watson |
| 77 | +[stackoverflow]: http://stackoverflow.com/questions/ask?tags=ibm-watson |
| 78 | +[Maven]: https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html |
| 79 | +[Gradle]: https://docs.gradle.org/current/userguide/installation.html |
0 commit comments