Add symlink from gpl-2.0.txt to a COPYING file
PATCH 1/1 Add symlink from gpl-2.0.txt to a COPYING file
While it is good that the "Licenses/" directory contains the text for all licenses that are applicable to u-boot code, it is harder to determine at a glance what the default and/or preferred license is. While humans can look at the Licenses/README file, this is not machine parseable, making it tricky for license detection tools to automatically determine/report on the overall / aggregate u-boot license.
The project previously had a top level COPYING file containing a short blurb, followed by the GPL license text. This was removed back in commit eca3aeb352c964bdb28b8e191d6326370245e03f when the "Licenses/" directory was introduced. For the benefit of automated tools, it is helpful to retain a top level COPYING file in the repository. Rather than duplicate the license text, however, a symlink from the Licenses/gpl-2.0.txt file should suffice.
---
Some further context. This desire for a COPYING (or LICENSE) file originates in the context of the QEMU project, which maintains mirrors of both current upstream u-boot, and an old fork of u-boot.
QEMU is hosted on gitlab.com and relies on GitLab's Open Source Program which grants the project free access to the full range of GitLab's otherwise pay-for features & resources. They have introduced a new process for their OSS Program applications which automatically checks if the overall license reported by every repository is OSI approved.
Since u-boot lacks a top level COPYING or LICENSE file, GitLab fails to identify u-boots overall license. As a result QEMU was unable to apply for the OSS Program until removing the u-boot mirrors, but we'd like to reinstate them.
I am somewhat uncomfortable asking u-boot maintainers to accept this change just to work around limitations of the commercial GitLab service. None the less the presence of a top level COPYING / LICENSE file is a broadly accepted OSS standard, so it is understandable that GitLab relied on that. Using a symlink bridges between that standard and u-boot's current Licenses dir approach in a low overhead manner.
From a purely cosmetic view, if looking at any u-boot mirror on either GitLab or GitHub, AFAICS, neither are identifying & reporting the project license, and this ought to resolve that minor cosmetic issue.
COPYING | 1 + 1 file changed, 1 insertion(+) create mode 120000 COPYING
COPYING new file +1 -0
@@ -0,0 +1 @@ +Licenses/gpl-2.0.txt
Signature · 1 line
2.50.1
[trying again..]
Quoted 17 lines · Daniel P. Berrangé
While it is good that the "Licenses/" directory contains the text for all licenses that are applicable to u-boot code, it is harder to determine at a glance what the default and/or preferred license is. While humans can look at the Licenses/README file, this is not machine parseable, making it tricky for license detection tools to automatically determine/report on the overall / aggregate u-boot license.
The project previously had a top level COPYING file containing a short blurb, followed by the GPL license text. This was removed back in commit
eca3aeb352c964bdb28b8e191d6326370245e03fwhen the "Licenses/" directory was introduced. For the benefit of automated tools, it is helpful to retain a top level COPYING file in the repository. Rather than duplicate the license text, however, a symlink from theLicenses/gpl-2.0.txtfile should suffice.
Quoted 1 line
Signed-off-by Daniel P. Berrangé <[email protected]>
Signature · 1 line
Tom
Quoted 9 lines · Daniel P. Berrangé
While it is good that the "Licenses/" directory contains the text for all licenses that are applicable to u-boot code, it is harder to determine at a glance what the default and/or preferred license is. While humans can look at the Licenses/README file, this is not machine parseable, making it tricky for license detection tools to automatically determine/report on the overall / aggregate u-boot license.
[...]
Applied to u-boot/master, thanks!
[1/1] Add symlink from gpl-2.0.txt to a COPYING file
commit: a239b0b0b6dbe6a168969b8cd6e600cf85db278d
Signature · 1 line
Tom