CONTRIBUTING 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. HOW TO CONTRIBUTE TO OpenSSL
  2. ----------------------------
  3. (Please visit https://www.openssl.org/community/getting-started.html for
  4. other ideas about how to contribute.)
  5. Development is done on GitHub, https://github.com/openssl/openssl.
  6. To request new features or report bugs, please open an issue on GitHub
  7. To submit a patch, please open a pull request on GitHub. If you are thinking
  8. of making a large contribution, open an issue for it before starting work,
  9. to get comments from the community. Someone may be already working on
  10. the same thing or there may be reasons why that feature isn't implemented.
  11. To make it easier to review and accept your pull request, please follow these
  12. guidelines:
  13. 1. Anything other than a trivial contribution requires a Contributor
  14. License Agreement (CLA), giving us permission to use your code. See
  15. https://www.openssl.org/policies/cla.html for details. If your
  16. contribution is too small to require a CLA (e.g. fixing a spelling
  17. mistake), place the text "CLA: trivial" on a line by itself separated by
  18. an empty line from the rest of the commit message. It is not sufficient to
  19. only place the text in the GitHub pull request description.
  20. To amend a missing "CLA: trivial" line after submission, do the following:
  21. git commit --amend
  22. [add the line, save and quit the editor]
  23. git push -f
  24. 2. All source files should start with the following text (with
  25. appropriate comment characters at the start of each line and the
  26. year(s) updated):
  27. Copyright 20xx-20yy The OpenSSL Project Authors. All Rights Reserved.
  28. Licensed under the Apache License 2.0 (the "License"). You may not use
  29. this file except in compliance with the License. You can obtain a copy
  30. in the file LICENSE in the source distribution or at
  31. https://www.openssl.org/source/license.html
  32. 3. Patches should be as current as possible; expect to have to rebase
  33. often. We do not accept merge commits, you will have to remove them
  34. (usually by rebasing) before it will be acceptable.
  35. 4. Patches should follow our coding style (see
  36. https://www.openssl.org/policies/codingstyle.html) and compile
  37. without warnings. Where gcc or clang is available you should use the
  38. --strict-warnings Configure option. OpenSSL compiles on many varied
  39. platforms: try to ensure you only use portable features. Clean builds
  40. via Travis and AppVeyor are required, and they are started automatically
  41. whenever a PR is created or updated.
  42. 5. When at all possible, patches should include tests. These can
  43. either be added to an existing test, or completely new. Please see
  44. test/README for information on the test framework.
  45. 6. New features or changed functionality must include
  46. documentation. Please look at the "pod" files in doc/man[1357] for
  47. examples of our style. Run "make doc-nits" to make sure that your
  48. documentation changes are clean.
  49. 7. For user visible changes (API changes, behaviour changes, ...),
  50. consider adding a note in CHANGES. This could be a summarising
  51. description of the change, and could explain the grander details.
  52. Have a look through existing entries for inspiration.
  53. Please note that this is NOT simply a copy of git-log oneliners.
  54. Also note that security fixes get an entry in CHANGES.
  55. This file helps users get more in depth information of what comes
  56. with a specific release without having to sift through the higher
  57. noise ratio in git-log.
  58. 8. For larger or more important user visible changes, as well as
  59. security fixes, please add a line in NEWS. On exception, it might be
  60. worth adding a multi-line entry (such as the entry that announces all
  61. the types that became opaque with OpenSSL 1.1.0).
  62. This file helps users get a very quick summary of what comes with a
  63. specific release, to see if an upgrade is worth the effort.