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.

HowToApplyALicense.md 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # How to apply a license
  2. Originally Nextcloud was licensed under the GNU AGPLv3 only. From
  3. June, 16 2016 on we switched to "GNU AGPLv3 or any later version" for
  4. better long-term maintainability and to make it more secure from a
  5. legal point of view.
  6. Additionally Nextcloud doesn't require a CLA (Contributor License
  7. Agreement). The copyright belongs to all the individual
  8. contributors.
  9. If you modify an existing file, please keep the existing license header as
  10. it is and just add your copyright notice:
  11. ````
  12. @copyright Copyright (c) <year>, <your name> (<your email address>)
  13. ````
  14. If you create a new file please use this license header:
  15. ````
  16. /**
  17. * @copyright Copyright (c) <year>, <your name> (<your email address>)
  18. *
  19. * @license GNU AGPL version 3 or any later version
  20. *
  21. * This program is free software: you can redistribute it and/or modify
  22. * it under the terms of the GNU Affero General Public License as
  23. * published by the Free Software Foundation, either version 3 of the
  24. * License, or (at your option) any later version.
  25. *
  26. * This program is distributed in the hope that it will be useful,
  27. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  28. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  29. * GNU Affero General Public License for more details.
  30. *
  31. * You should have received a copy of the GNU Affero General Public License
  32. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  33. *
  34. */
  35. ````
  36. Additionally we require a Developer Certificate of Origin (DCO), look
  37. at [CONTRIBUTING.md][contributing] to learn more how to sign your commits.
  38. [contributing]: ../.github/CONTRIBUTING.md#sign-your-work