* [PATCH 0/1] Poky License Reporting
@ 2011-01-10 19:09 Beth Flanagan
2011-01-11 12:33 ` Joshua Lock
0 siblings, 1 reply; 4+ messages in thread
From: Beth Flanagan @ 2011-01-10 19:09 UTC (permalink / raw)
To: poky
Initial commit of license reporting:
This is an intial commit for the license reporting system. A few notes:
The LICENSE fields needs to be standardized throughout poky.
I've seen a few places where Apache-v2.0 is written differently and
I'm sure this will bug things out. This does not put the license data
on the rootfs. I'm still working on that capability. Also, I provide both
the actual license text and a link to the best guess of the
generic_license. That guessing is not very robust and I'm loath to get
into a bunch of pattern matching rather than standardize LICENSE.
This adds one new param to poky.conf and one new to license.bbclass:
LICENSE_DIR: the base directory we copy all the license results to (set
in license.bbclass)
COMMON_LICENSE_DIR: this is the directory that holds all the common
generic license files. currently meta/files/common-licenses (set in
poky.conf)
TODO:
- We should verify the common-licenses. I stripped these from my Ubuntu
10.10 system.
- Enable ENABLE_ROOTFS_LICENSES. This is commented out in poky.conf. The
code isn't written for it, but we should allow that capability, although
the resulting image created would be a lot larger.
- More common-licenses. I don't include bzip, zlib, ICS.... I should,
but that means tracking down a lot of licenses.
- General cleanup of licensing and standardization of names. We should
standardize on a naming convention. What's in licenses.conf should
match up with what is in the recipes which should match with what is
in common-licenses. Outside the scope of this though. See:
http://bugzilla.pokylinux.org/show_bug.cgi?id=650
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: eflanagan/license
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=eflanagan/license
Thanks,
Beth Flanagan <elizabeth.flanagan@intel.com>
---
Beth Flanagan (1):
Initial commit of license reporting:
meta/classes/license.bbclass | 92 +++++
meta/conf/distro/poky.conf | 4 +-
meta/files/common-licenses/Apache-2.0 | 202 ++++++++++
meta/files/common-licenses/Artistic | 131 +++++++
meta/files/common-licenses/BSD | 26 ++
meta/files/common-licenses/GFDL | 451 ++++++++++++++++++++++
meta/files/common-licenses/GFDL-1.2 | 397 +++++++++++++++++++
meta/files/common-licenses/GFDL-1.3 | 451 ++++++++++++++++++++++
meta/files/common-licenses/GPL | 676 +++++++++++++++++++++++++++++++++
meta/files/common-licenses/GPLv2 | 339 +++++++++++++++++
meta/files/common-licenses/GPLv3 | 676 +++++++++++++++++++++++++++++++++
meta/files/common-licenses/LGPL | 165 ++++++++
meta/files/common-licenses/LGPLv2 | 481 +++++++++++++++++++++++
meta/files/common-licenses/LGPLv2.1 | 510 +++++++++++++++++++++++++
meta/files/common-licenses/LGPLv3 | 165 ++++++++
15 files changed, 4765 insertions(+), 1 deletions(-)
create mode 100644 meta/classes/license.bbclass
create mode 100644 meta/files/common-licenses/Apache-2.0
create mode 100644 meta/files/common-licenses/Artistic
create mode 100644 meta/files/common-licenses/BSD
create mode 100644 meta/files/common-licenses/GFDL
create mode 100644 meta/files/common-licenses/GFDL-1.2
create mode 100644 meta/files/common-licenses/GFDL-1.3
create mode 100644 meta/files/common-licenses/GPL
create mode 100644 meta/files/common-licenses/GPLv2
create mode 100644 meta/files/common-licenses/GPLv3
create mode 100644 meta/files/common-licenses/LGPL
create mode 100644 meta/files/common-licenses/LGPLv2
create mode 100644 meta/files/common-licenses/LGPLv2.1
create mode 100644 meta/files/common-licenses/LGPLv3
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] Poky License Reporting
2011-01-10 19:09 [PATCH 0/1] Poky License Reporting Beth Flanagan
@ 2011-01-11 12:33 ` Joshua Lock
2011-01-13 17:18 ` Elizabeth Flanagan
0 siblings, 1 reply; 4+ messages in thread
From: Joshua Lock @ 2011-01-11 12:33 UTC (permalink / raw)
To: poky
Hi Beth,
I don't see any patches so guess you used the old-style pull script?
On Mon, 2011-01-10 at 11:09 -0800, Beth Flanagan wrote:
> Initial commit of license reporting:
>
> This is an intial commit for the license reporting system. A few notes:
> The LICENSE fields needs to be standardized throughout poky.
Reading this summary I'd suggest we standardise on whatever the filename
in common-licenses/ is.
Furthermore we could (should) add a sanity check whereby a LICENSE field
with values that aren't a file in common-licenses/ causes a warning or
error.
Cheers,
Joshua
--
Joshua Lock
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] Poky License Reporting
2011-01-11 12:33 ` Joshua Lock
@ 2011-01-13 17:18 ` Elizabeth Flanagan
2011-01-13 17:28 ` Joshua Lock
0 siblings, 1 reply; 4+ messages in thread
From: Elizabeth Flanagan @ 2011-01-13 17:18 UTC (permalink / raw)
To: poky
On 01/11/2011 04:33 AM, Joshua Lock wrote:
> Hi Beth,
>
> I don't see any patches so guess you used the old-style pull script?
No, the patch was too big, so the listserv held it in limbo. :)
>
> On Mon, 2011-01-10 at 11:09 -0800, Beth Flanagan wrote:
>> Initial commit of license reporting:
>>
>> This is an intial commit for the license reporting system. A few notes:
>> The LICENSE fields needs to be standardized throughout poky.
>
> Reading this summary I'd suggest we standardise on whatever the filename
> in common-licenses/ is.
> Furthermore we could (should) add a sanity check whereby a LICENSE field
> with values that aren't a file in common-licenses/ causes a warning or
> error.
Good point, I'll put in a check for that. A question. Could the
LICENSE_FILES_CHECKSUM ever have a non file:/// URI? If so, could you
point out an example of this?
-b
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 0/1] Poky License Reporting
2011-01-13 17:18 ` Elizabeth Flanagan
@ 2011-01-13 17:28 ` Joshua Lock
0 siblings, 0 replies; 4+ messages in thread
From: Joshua Lock @ 2011-01-13 17:28 UTC (permalink / raw)
To: poky
On Thu, 2011-01-13 at 09:18 -0800, Elizabeth Flanagan wrote:
> On 01/11/2011 04:33 AM, Joshua Lock wrote:
> > Hi Beth,
> >
> > I don't see any patches so guess you used the old-style pull script?
>
> No, the patch was too big, so the listserv held it in limbo. :)
>
> >
> > On Mon, 2011-01-10 at 11:09 -0800, Beth Flanagan wrote:
> >> Initial commit of license reporting:
> >>
> >> This is an intial commit for the license reporting system. A few notes:
> >> The LICENSE fields needs to be standardized throughout poky.
> >
> > Reading this summary I'd suggest we standardise on whatever the filename
> > in common-licenses/ is.
> > Furthermore we could (should) add a sanity check whereby a LICENSE field
> > with values that aren't a file in common-licenses/ causes a warning or
> > error.
>
> Good point, I'll put in a check for that. A question. Could the
> LICENSE_FILES_CHECKSUM ever have a non file:/// URI? If so, could you
> point out an example of this?
Not that I'm aware of, though we can always adjust code to handle this
if required...
Cheers,
Joshua
--
Joshua Lock
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-01-13 18:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 19:09 [PATCH 0/1] Poky License Reporting Beth Flanagan
2011-01-11 12:33 ` Joshua Lock
2011-01-13 17:18 ` Elizabeth Flanagan
2011-01-13 17:28 ` Joshua Lock
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.