Skip to contentSkip to conversation

multipath-tools: create LICENSES dir with the text of all used licences

PATCH In review Xose Vazquez Perez 2 participants 4 messages Apr 12, 2018 – Mar 14

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 multipath-tools: create LICENSES dir with the text of all used licences

As recommended by REUSE Initiative: https://reuse.software/practices/2.0/
"Since many projects include code under different licenses, it’s often not feasible to include all licenses in the top level, in which case you should create a directory at the top level called LICENSES within which you include the license text of each license used."

Move COPYING -> LICENSES/GPL-2.0
Move COPYING.LESSER -> LICENSES/LGPL-2.0

And add GPL-3.0, LGPL-2.1 to the LICENSES dir.
Source directly from:
https://www.gnu.org/licenses/gpl-3.0.txt
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt

Result:
multipath-tools/

└── LICENSES/
    ├── GPL-2.0
    ├── GPL-3.0
    ├── LGPL-2.0
    └── LGPL-2.1
Cc Hannes Reinecke <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Martin Wilck <[email protected]>
Cc Bart Van Assche <[email protected]>
Cc Gris Ge <[email protected]>
Cc Christophe Varoqui <[email protected]>

---
v2 drop RFC
add Acked-by from Martin

---
 COPYING => LICENSES/GPL-2.0         |   0
 LICENSES/GPL-3.0                    | 674 ++++++++++++++++++++++++++++
 COPYING.LESSER => LICENSES/LGPL-2.0 |   0
 LICENSES/LGPL-2.1                   | 502 +++++++++++++++++++++
 4 files changed, 1176 insertions(+)
 rename COPYING => LICENSES/GPL-2.0 (100%)
 create mode 100644 LICENSES/GPL-3.0
 rename COPYING.LESSER => LICENSES/LGPL-2.0 (100%)
 create mode 100644 LICENSES/LGPL-2.1
LICENSES/GPL-2.0 renamed from COPYING +0 -0
similarity index 100%
rename from COPYING
rename to LICENSES/GPL-2.0
LICENSES/GPL-3.0 new file +674 -0

674 lines not on this page · raw message

LICENSES/LGPL-2.0 renamed from COPYING.LESSER +0 -0
similarity index 100%
rename from COPYING.LESSER
rename to LICENSES/LGPL-2.0
LICENSES/LGPL-2.1 new file +502 -0

502 lines not on this page · raw message

Signature · 6 lines
2.17.0

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#1 lore raw

PATCH v2 2/2 multipath-tools: link LICENSES/LGPL-2.0 to LICENSE.default

To indicate that the default licence is LGPL-2.0, since there are still a lot of files without a licence header.

Result:
multipath-tools/
└── LICENSE.default -> LICENSES/LGPL-2.0

Cc Hannes Reinecke <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Martin Wilck <[email protected]>
Cc Bart Van Assche <[email protected]>
Cc Gris Ge <[email protected]>
Cc Christophe Varoqui <[email protected]>
---
 LICENSE.default | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 LICENSE.default
LICENSE.default new file +1 -0
new file mode 120000
index 0000000..0c0462d
@@ -0,0 +1 @@
+LICENSES/LGPL-2.0
\ No newline at end of file
Signature · 6 lines
2.17.0

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#2 lore raw

Re: [PATCH v2 2/2] multipath-tools: link LICENSES/LGPL-2.0 to LICENSE.default

Quoted 6 lines · Xose Vazquez Perez

To indicate that the default licence is LGPL-2.0, since there are still a lot of files without a licence header.

Result:
multipath-tools/
└── LICENSE.default -> LICENSES/LGPL-2.0

License.default is better than COPYING, which, as you said yourself, normally refers to a GPL-type license.

But I'm unsure if this really clarifies matters. If adding my lenghty review document to the tree is out of the question, a note in the README might be more helpful than this link:

License
=======

The multipath-tools source code is covered by several different licenses. Refer to the individual source files for details. Source files which do not have a license header are shipped under LGPL-2.0 (see LICENSES/LGPL-2.0).

Regards
Martin

Signature · 8 lines
Dr. Martin Wilck <[email protected]>, Tel. +49 (0)911 74053 2107
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#3 lore raw

Re: [PATCH v2 2/2] multipath-tools: link LICENSES/LGPL-2.0 to LICENSE.default

Quoted 15 lines · Martin Wilck
Quoted 6 lines · Xose Vazquez Perez

To indicate that the default licence is LGPL-2.0, since there are still a lot of files without a licence header.

Result:
multipath-tools/
└── LICENSE.default -> LICENSES/LGPL-2.0

License.default is better than COPYING, which, as you said yourself, normally refers to a GPL-type license.

But I'm unsure if this really clarifies matters. If adding my lenghty review document to the tree is out of the question, a note in the README might be more helpful than this link:

Quoted 8 lines

License
=======

The multipath-tools source code is covered by several different licenses. Refer to the individual source files for details.

Source files which do not have a license header are shipped under <-------
LGPL-2.0 (see LICENSES/LGPL-2.0). <-------

This was added to README: https://github.com/opensvc/multipath-tools/commit/a4c4b80a32e43598aac40a6b25c871b20a7ca1f8
However, there are file where this is not true, e.g.: some of them under libmultipath/nvme/