WordPress / contributor-handbook

Draft for the WordPress.org Contributor Handbook
https://make.wordpress.org/handbook/
GNU General Public License v3.0
12 stars 5 forks source link

Document requirement for contributors to license their code. #16

Open peterwilsoncc opened 2 months ago

peterwilsoncc commented 2 months ago

The URL to the page where issue is found

Description

On the Core trac, when uploading an attachment it includes this notification:

By contributing code to WordPress, you grant its use under the GNU General Public License v2 (or later). (source)

For contributions to the various GitHub repositories, I've not been able to find anything in the Code of Conduct or Contribution Guidelines. As an increasing amount of development happens on GitHub, I think it would be good to add a notice that code contributions are licensed as such.

How is the issue affecting you?

It doesn't affect me directly as I'm aware of it

How will fixing the issue help you?

As a committing contributor, it would be good to be sure that code contributors are aware of the requirement

Do you have a suggestion on how the issue can be fixed?

A notice in either the project handbook to the effect that is linked to in the Code of Coduct/Contribution guidelines for GitHub.

By contributing code, you retain copyright of the code and agree to license it under the terms of the license specified in the repository. Contributions to https://github.com/WordPress/wordpress-develop/ are licensed under the terms of the GPL. Contributions to https://github.com/wordpress/gutenberg are licensed under a split license of the GPL and MPL.

INAL so this phrasing will need input from someone who is, in fact, a lawyer and knows what they're doing.

Additional resources

Drupal have a notice to the effect on their licensing page.

Your WordPress.org username

peterwilsoncc

jeffpaul commented 4 days ago

I believe there's something in the Gutenberg repo that notes GPL/MPL licensing (cannot recall the exact versions of each). That might be in the license file itself and the PR template. Are you concerned mostly for wordpress/wordpress-develop or any repo in the WordPress org?

peterwilsoncc commented 4 days ago

I'm mainly concerned with WP-Dev as it gets a good deal of contributions but think it would be valuable elsewhere, eg TT5, 2FA, etc.