[MDEV-5483] Make sure all files in MariaDB have proper license headers Created: 2013-12-22 Updated: 2022-09-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform Debian |
| Affects Version/s: | 5.1.67, 5.2.14, 5.3.12, 5.5.36, 10.0.10, 10.2.4 |
| Fix Version/s: | 5.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Otto Kekäläinen | Assignee: | Alexey Botchkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | debian, packaging | ||
| Issue Links: |
|
||||||||
| Description |
|
While packaging MariaDB for Debian I noticed that there are many source files that lack proper license headers. For the sake of clarity and machine parseability if would be good if all source files would have proper license headers. The output of "mariadb$ licensecheck --copyright -r . -c ." showing many files with license UNKNOWN is at http://labs.seravo.fi/~otto/mariadb-repo/mariadb-5.5.34-license-headers.txt Just to make is explicit: I didn't find any legal issues while looking at the licenses. Many folders have folder wide copyright files etc instead of per file headers, so from a legal perspective things are ok, this is just a markup issue. |
| Comments |
| Comment by Otto Kekäläinen [ 2014-04-26 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Here is an example of what a good file license header would look like:
Official guidlines are at https://www.gnu.org/licenses/gpl-howto.html | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2014-10-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
This bug in Debian is somwhat related: | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-07-08 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
serg ratzpo This is still undone. It should be done to all files written by MariaDB Corporation of Foundation staff at least. Besides the server, also clients should have these headers. | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-07-08 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
georg An update of MariaDB Connector C was not accepted into Debian in March 2016 due to incomplete license headers: http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/2016-March/008877.html ratzposerg If we fix the headers as a policy everywhere, then such backslashes should not occur anymore. | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-07-08 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
georg This file has no license in the header, thus it is not Free and Open Source according to the ftp-masters in Debian, and I cannot upload mariadb-connector-c into Debian until you fix the file to have proper headers: https://github.com/MariaDB/mariadb-connector-c/blob/master/cmake/FindIconv.cmake (For more details see comment above.) | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2016-12-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
holyfoot This has been assigned to you for a long time. Do you intend to do something about it at some time or should it be reassigned? Do you know how to get the package licensecheck intstalled on a Debian system and how to run the command licensecheck --copyright -r . -c . on the MariaDB 10.2 source directory...? | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-02-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
There are still plenty of files that have no copyright header.
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Otto Kekäläinen [ 2020-06-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
MariaDB could also extend the CI systems to complain about this, and then at least all new or modified files would get their copyright headers updated. Related tool: https://reuse.software/dev/ |