Discussion:
[Xen-devel] [PATCH] CONTRIBUTING: Clarifications on how to handle license deviations
Lars Kurth
2018-11-19 18:05:10 UTC
Permalink
This patch makes a few clarifications which were discussed on
IRC recently.

Specifically:
- Highlight the principle that license deviations
should be brought to the attention of maintainers
- Add a requirement for GPLv2 compatibility
- Restructure the document toghlight use-cases for
"New components" and "Importing code" clearer
- Add conventions and instructions for "New files"

Signed-off-by: Lars Kurth <***@citrix.com>
---
CONTRIBUTING | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/CONTRIBUTING b/CONTRIBUTING
index cfee8f1567..63050e9141 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -19,6 +19,19 @@ Most notably:
- tools/xl : LGPL v2.1
- xen/include/public : MIT license

+The COMMON COPYRIGHT NOTICES section of this document contains
+sample copyright notices for the most common licenses used within
+this repository.
+
+When creating new components, new files, or importing code please follow
+the conventions outlined below. As a general rule, whenever code using a
+license other than GPLv2 is introduced, attention must be drawn to the
+difference, such that maibtainers can make an informed decision about the
+deviation. Any new code must be GPLv2 compatible.
+
+New components
+--------------
+
When creating new components and directories that contain a
significant amount of files that are licensed under licenses other
than GPLv2 or the license specified in the COPYING file, please
@@ -27,15 +40,21 @@ license text and a rationale for using a different license. This helps
ensure that the license of this new component/directory is maintained
consistently with the original intention.

+New files
+---------
+
+If specific files that differ from the license in a directory are introduced,
+exceptions should be highlighted and discussed in the commit message or cover
+letter introducing the file.
+
+Importing code
+--------------
+
When importing code from other upstream projects into this repository,
please create a README.source file in the directory the code is imported
to, listing the original source of the code. An example can be found at
m4/README.source

-The COMMON COPYRIGHT NOTICES section of this document contains
-sample copyright notices for the most common licenses used within
-this repository.
-
Developer's Certificate of Origin
---------------------------------
--
2.13.0
Wei Liu
2018-12-06 14:09:12 UTC
Permalink
Post by Lars Kurth
This patch makes a few clarifications which were discussed on
IRC recently.
- Highlight the principle that license deviations
should be brought to the attention of maintainers
- Add a requirement for GPLv2 compatibility
- Restructure the document toghlight use-cases for
to highlight
Post by Lars Kurth
"New components" and "Importing code" clearer
- Add conventions and instructions for "New files"
---
CONTRIBUTING | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/CONTRIBUTING b/CONTRIBUTING
index cfee8f1567..63050e9141 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
- tools/xl : LGPL v2.1
- xen/include/public : MIT license
+The COMMON COPYRIGHT NOTICES section of this document contains
+sample copyright notices for the most common licenses used within
+this repository.
+
+When creating new components, new files, or importing code please follow
+the conventions outlined below. As a general rule, whenever code using a
+license other than GPLv2 is introduced, attention must be drawn to the
+difference, such that maibtainers can make an informed decision about the
maintainers

Overall this patch looks good to me.

Wei.
Lars Kurth
2018-12-09 08:07:59 UTC
Permalink
Thank you Wei,
Post by Lars Kurth
This patch makes a few clarifications which were discussed on
IRC recently.
- Highlight the principle that license deviations
should be brought to the attention of maintainers
- Add a requirement for GPLv2 compatibility
- Restructure the document toghlight use-cases for
to highlight
Post by Lars Kurth
"New components" and "Importing code" clearer
- Add conventions and instructions for "New files"
---
CONTRIBUTING | 27 +++++++++++++++++++++++----
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/CONTRIBUTING b/CONTRIBUTING
index cfee8f1567..63050e9141 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
- tools/xl : LGPL v2.1
- xen/include/public : MIT license
+The COMMON COPYRIGHT NOTICES section of this document contains
+sample copyright notices for the most common licenses used within
+this repository.
+
+When creating new components, new files, or importing code please follow
+the conventions outlined below. As a general rule, whenever code using a
+license other than GPLv2 is introduced, attention must be drawn to the
+difference, such that maibtainers can make an informed decision about the
maintainers

Overall this patch looks good to me.

Anyone else any views, before I re-roll the patch
Lars

Loading...