Last modified: 2014-11-19 20:48:25 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44472, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42472 - Jenkins: Add check ensuring all mediawiki-core php files have proper license headers
Jenkins: Add check ensuring all mediawiki-core php files have proper license ...
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-27 09:05 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-11-19 20:48 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2012-11-27 09:05:20 UTC
Bug 26280 was about PHP files missing the GPL header which is the license used by MediaWiki core.  To avoid having to reopen the original bug, we would need a lint check script that would make sure any file added to the repo contains the GPL headers.
Comment 1 Antoine "hashar" Musso (WMF) 2013-01-17 15:58:32 UTC
Ubuntu package `devscripts` provides a `licensecheck` tool which we might use on submitted files.
Comment 2 Chad H. 2013-01-17 16:03:03 UTC
We'd want to provide an exception for the includes/libs/ directory, some of which are purposefully licensed under non-GPL licenses.
Comment 3 Krinkle 2014-11-19 20:48:25 UTC
I'd say catch it through code review and maybe scan occasionally. I don't think it's worth the overhead to try and automate this. I haven't seen any other major projects do this either.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links