[2/8] bsp-guide: Add SPDX license headers

Submitted by Armin Kuster on June 15, 2020, 2:24 p.m. | Patch ID: 173594

Details

Message ID 20200615142412.30882-2-akuster808@gmail.com
State New
Headers show

Commit Message

Armin Kuster June 15, 2020, 2:24 p.m.
[Yocto #13873]

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 documentation/bsp-guide/bsp-guide-customization.xsl | 2 ++
 documentation/bsp-guide/bsp-guide.xml               | 1 +
 documentation/bsp-guide/bsp-style.css               | 2 ++
 documentation/bsp-guide/bsp.xml                     | 1 +
 4 files changed, 6 insertions(+)

Patch hide | download patch | download mbox

diff --git a/documentation/bsp-guide/bsp-guide-customization.xsl b/documentation/bsp-guide/bsp-guide-customization.xsl
index de674a0ae..37fcbcd20 100644
--- a/documentation/bsp-guide/bsp-guide-customization.xsl
+++ b/documentation/bsp-guide/bsp-guide-customization.xsl
@@ -1,4 +1,6 @@ 
 <?xml version='1.0'?>
+<!--SPDX-License-Identifier: CC-BY-2.0-UK-->
+
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
 
   <xsl:import href="http://downloads.yoctoproject.org/mirror/docbook-mirror/docbook-xsl-1.76.1/xhtml/docbook.xsl" />
diff --git a/documentation/bsp-guide/bsp-guide.xml b/documentation/bsp-guide/bsp-guide.xml
index a189606ce..93ba1e7fe 100755
--- a/documentation/bsp-guide/bsp-guide.xml
+++ b/documentation/bsp-guide/bsp-guide.xml
@@ -1,6 +1,7 @@ 
 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
 [<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
+<!--SPDX-License-Identifier: CC-BY-2.0-UK-->
 
 <book id='bsp-guide' lang='en'
       xmlns:xi="http://www.w3.org/2003/XInclude"
diff --git a/documentation/bsp-guide/bsp-style.css b/documentation/bsp-guide/bsp-style.css
index 0c8689b96..4ccf5d8ae 100644
--- a/documentation/bsp-guide/bsp-style.css
+++ b/documentation/bsp-guide/bsp-style.css
@@ -1,4 +1,6 @@ 
 /*
+   SPDX-License-Identifier: CC-BY-2.0-UK
+
    Generic XHTML / DocBook XHTML CSS Stylesheet.
 
    Browser wrangling and typographic design by
diff --git a/documentation/bsp-guide/bsp.xml b/documentation/bsp-guide/bsp.xml
index 96c0455f6..72a077e80 100644
--- a/documentation/bsp-guide/bsp.xml
+++ b/documentation/bsp-guide/bsp.xml
@@ -1,6 +1,7 @@ 
 <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
 [<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
+<!--SPDX-License-Identifier: CC-BY-2.0-UK-->
 
 <chapter id='bsp'>
 

Comments

Nicolas Dechesne Sept. 11, 2020, 8:04 a.m.
hi Armin, RP,

On Mon, Jun 15, 2020 at 4:24 PM akuster <akuster808@gmail.com> wrote:

> [Yocto #13873]
>
> Signed-off-by: Armin Kuster <akuster808@gmail.com>
> ---
>  documentation/bsp-guide/bsp-guide-customization.xsl | 2 ++
>  documentation/bsp-guide/bsp-guide.xml               | 1 +
>  documentation/bsp-guide/bsp-style.css               | 2 ++
>  documentation/bsp-guide/bsp.xml                     | 1 +
>  4 files changed, 6 insertions(+)
>
> diff --git a/documentation/bsp-guide/bsp-guide-customization.xsl
> b/documentation/bsp-guide/bsp-guide-customization.xsl
> index de674a0ae..37fcbcd20 100644
> --- a/documentation/bsp-guide/bsp-guide-customization.xsl
> +++ b/documentation/bsp-guide/bsp-guide-customization.xsl
> @@ -1,4 +1,6 @@
>  <?xml version='1.0'?>
> +<!--SPDX-License-Identifier: CC-BY-2.0-UK-->
>

While doing the sphinx conversion, I noticed that the bsp-guide is using a
slightly different license than the other manuals (e.g. the non commercial
flavor). There was a commit in 2015 to 'fix' the license statement, but it
was just a partial change, since the link to the license wasn't changed:

https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=bb1d80c121e9e34090a07feac9d510b2304f058e

When the bsp guide was initially imported in 2010, it was using the NC
flavor:
https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=d630317b6b297ba6567cc2e3914706dda0690245

I don't know why the change was done in 2015. But I wanted to flag this as
a potential 'issue'.

While I am here.. I also wanted to mention that I couldn't find
CC-BY-2.0-UK SPDX tag in the SPDX licenses list.. only CC-BY-2.0 exists
(without the -UK tag).



> +
>  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="
> http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format"
> version="1.0">
>
>    <xsl:import href="
> http://downloads.yoctoproject.org/mirror/docbook-mirror/docbook-xsl-1.76.1/xhtml/docbook.xsl"
> />
> diff --git a/documentation/bsp-guide/bsp-guide.xml
> b/documentation/bsp-guide/bsp-guide.xml
> index a189606ce..93ba1e7fe 100755
> --- a/documentation/bsp-guide/bsp-guide.xml
> +++ b/documentation/bsp-guide/bsp-guide.xml
> @@ -1,6 +1,7 @@
>  <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
>  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
>  [<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
> +<!--SPDX-License-Identifier: CC-BY-2.0-UK-->
>
>  <book id='bsp-guide' lang='en'
>        xmlns:xi="http://www.w3.org/2003/XInclude"
> diff --git a/documentation/bsp-guide/bsp-style.css
> b/documentation/bsp-guide/bsp-style.css
> index 0c8689b96..4ccf5d8ae 100644
> --- a/documentation/bsp-guide/bsp-style.css
> +++ b/documentation/bsp-guide/bsp-style.css
> @@ -1,4 +1,6 @@
>  /*
> +   SPDX-License-Identifier: CC-BY-2.0-UK
> +
>     Generic XHTML / DocBook XHTML CSS Stylesheet.
>
>     Browser wrangling and typographic design by
> diff --git a/documentation/bsp-guide/bsp.xml
> b/documentation/bsp-guide/bsp.xml
> index 96c0455f6..72a077e80 100644
> --- a/documentation/bsp-guide/bsp.xml
> +++ b/documentation/bsp-guide/bsp.xml
> @@ -1,6 +1,7 @@
>  <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
>  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
>  [<!ENTITY % poky SYSTEM "../poky.ent"> %poky; ] >
> +<!--SPDX-License-Identifier: CC-BY-2.0-UK-->
>
>  <chapter id='bsp'>
>
> --
> 2.17.1
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#345): https://lists.yoctoproject.org/g/docs/message/345
Mute This Topic: https://lists.yoctoproject.org/mt/74895398/3617530
Group Owner: docs+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-
Richard Purdie Sept. 11, 2020, 8:15 a.m.
On Fri, 2020-09-11 at 10:04 +0200, Nicolas Dechesne wrote:
> hi Armin, RP,
> 
> On Mon, Jun 15, 2020 at 4:24 PM akuster <akuster808@gmail.com> wrote:
> > [Yocto #13873]
> > 
> > Signed-off-by: Armin Kuster <akuster808@gmail.com>
> > ---
> >  documentation/bsp-guide/bsp-guide-customization.xsl | 2 ++
> >  documentation/bsp-guide/bsp-guide.xml               | 1 +
> >  documentation/bsp-guide/bsp-style.css               | 2 ++
> >  documentation/bsp-guide/bsp.xml                     | 1 +
> >  4 files changed, 6 insertions(+)
> > 
> > diff --git a/documentation/bsp-guide/bsp-guide-customization.xsl
> > b/documentation/bsp-guide/bsp-guide-customization.xsl
> > index de674a0ae..37fcbcd20 100644
> > --- a/documentation/bsp-guide/bsp-guide-customization.xsl
> > +++ b/documentation/bsp-guide/bsp-guide-customization.xsl
> > @@ -1,4 +1,6 @@
> >  <?xml version='1.0'?>
> > +<!--SPDX-License-Identifier: CC-BY-2.0-UK-->
> 
> While doing the sphinx conversion, I noticed that the bsp-guide is
> using a slightly different license than the other manuals (e.g. the
> non commercial flavor). There was a commit in 2015 to 'fix' the
> license statement, but it was just a partial change, since the link
> to the license wasn't changed:
> 
> https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=bb1d80c121e9e34090a07feac9d510b2304f058e
> 
> When the bsp guide was initially imported in 2010, it was using the
> NC flavor:
> https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=d630317b6b297ba6567cc2e3914706dda0690245
> 
> I don't know why the change was done in 2015. But I wanted to flag
> this as a potential 'issue'.

I think we take the commit as a sign it was a mistake and was attempted
to be fixed but didn't quite work out. The docs should be under the
same license so I think we write up a commit, referencing these and
stating that we're cleaning it up to match original intent. We're
fortunate in that the bulk of the work is from Scott so the intent is
clear.

> While I am here.. I also wanted to mention that I couldn't find CC-
> BY-2.0-UK SPDX tag in the SPDX licenses list.. only CC-BY-2.0 exists
> (without the -UK tag).

Right, it used to have geo specific license pages which is what this
refers to. The license is the same I think we can just drop the UK part
and have proper SPDX tags.

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#346): https://lists.yoctoproject.org/g/docs/message/346
Mute This Topic: https://lists.yoctoproject.org/mt/74895398/3617530
Group Owner: docs+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/docs/unsub  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-