Network programming assignment for University
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CONTRIBUTING.md 5.3 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <!---
  2. Licensed to the Apache Software Foundation (ASF) under one or more
  3. contributor license agreements. See the NOTICE file distributed with
  4. this work for additional information regarding copyright ownership.
  5. The ASF licenses this file to You under the Apache License, Version 2.0
  6. (the "License"); you may not use this file except in compliance with
  7. the License. You may obtain a copy of the License at
  8. http://www.apache.org/licenses/LICENSE-2.0
  9. Unless required by applicable law or agreed to in writing, software
  10. distributed under the License is distributed on an "AS IS" BASIS,
  11. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. See the License for the specific language governing permissions and
  13. limitations under the License.
  14. -->
  15. <!---
  16. +======================================================================+
  17. |**** ****|
  18. |**** THIS FILE IS GENERATED BY THE COMMONS BUILD PLUGIN ****|
  19. |**** DO NOT EDIT DIRECTLY ****|
  20. |**** ****|
  21. +======================================================================+
  22. | TEMPLATE FILE: contributing-md-template.md |
  23. | commons-build-plugin/trunk/src/main/resources/commons-xdoc-templates |
  24. +======================================================================+
  25. | |
  26. | 1) Re-generate using: mvn commons:contributing-md |
  27. | |
  28. | 2) Set the following properties in the component's pom: |
  29. | - commons.jira.id (required, alphabetic, upper case) |
  30. | |
  31. | 3) Example Properties |
  32. | |
  33. | <properties> |
  34. | <commons.jira.id>MATH</commons.jira.id> |
  35. | </properties> |
  36. | |
  37. +======================================================================+
  38. --->
  39. Contributing to Apache Commons CLI
  40. ======================
  41. You have found a bug or you have an idea for a cool new feature? Contributing code is a great way to give something back to
  42. the open source community. Before you dig right into the code there are a few guidelines that we need contributors to
  43. follow so that we can have a chance of keeping on top of things.
  44. Getting Started
  45. ---------------
  46. + Make sure you have a [JIRA account](https://issues.apache.org/jira/).
  47. + Make sure you have a [GitHub account](https://github.com/signup/free).
  48. + If you're planning to implement a new feature it makes sense to discuss you're changes on the [dev list](https://commons.apache.org/mail-lists.html) first. This way you can make sure you're not wasting your time on something that isn't considered to be in Apache Commons CLI's scope.
  49. + Submit a ticket for your issue, assuming one does not already exist.
  50. + Clearly describe the issue including steps to reproduce when it is a bug.
  51. + Make sure you fill in the earliest version that you know has the issue.
  52. + Fork the repository on GitHub.
  53. Making Changes
  54. --------------
  55. + Create a topic branch from where you want to base your work (this is usually the master/trunk branch).
  56. + Make commits of logical units.
  57. + Respect the original code style:
  58. + Only use spaces for indentation.
  59. + 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.
  60. + Check for unnecessary whitespace with git diff --check before committing.
  61. + Make sure your commit messages are in the proper format. Your commit message should contain the key of the JIRA issue.
  62. + Make sure you have added the necessary tests for your changes.
  63. + Run all the tests with `mvn clean verify` to assure nothing else was accidentally broken.
  64. Making Trivial Changes
  65. ----------------------
  66. For changes of a trivial nature to comments and documentation, it is not always necessary to create a new ticket in JIRA.
  67. In this case, it is appropriate to start the first line of a commit with '(doc)' instead of a ticket number.
  68. Submitting Changes
  69. ------------------
  70. + Sign the [Contributor License Agreement][cla] if you haven't already.
  71. + Push your changes to a topic branch in your fork of the repository.
  72. + Submit a pull request to the repository in the apache organization.
  73. + Update your JIRA ticket and include a link to the pull request in the ticket.
  74. Additional Resources
  75. --------------------
  76. + [Contributing patches](https://commons.apache.org/patches.html)
  77. + [Apache Commons CLI JIRA project page](https://issues.apache.org/jira/browse/CLI)
  78. + [Contributor License Agreement][cla]
  79. + [General GitHub documentation](https://help.github.com/)
  80. + [GitHub pull request documentation](https://help.github.com/send-pull-requests/)
  81. + [Apache Commons Twitter Account](https://twitter.com/ApacheCommons)
  82. + #apachecommons IRC channel on freenode.org
  83. [cla]:https://www.apache.org/licenses/#clas