Hi Eric,

I just added a proposal to https://github.com/spdx/tools/issues/3 for a JSON
format to be generated and placed on the spdx.org/licenses website.  It is a
file per license rather than one large file, however.  

Feel free to post any comments on the issue thread.

Gary

> -----Original Message-----
> From: [email protected] [mailto:spdx-tech-
> [email protected]] On Behalf Of Eric S. Raymond
> Sent: Monday, November 23, 2015 9:33 PM
> To: Philippe Ombredanne
> Cc: [email protected]; Eric S. Raymond
> Subject: Re: Machine-readable form of license list?
> 
> Philippe Ombredanne <[email protected]>:
> > Eric:
> > I maintain such a list in scancode [1] for SPDX and many other licenses.
> > The format is one yaml file for each licenses metadata and a .LICENSE
> > file for the license text and a .SPDX file for the SPDX reference
> > license text.
> > There were request to have that in a separate repo,if that can help I
> > can pull it out.
> > There is also Python code to read it [2]
> >
> > [1]
> > https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode
> > /data/licenses [2]
> > https://github.com/nexB/scancode-toolkit/blob/c1e70994abe8ceb18bc99aa6
> > f81ebc40d832fb7f/src/licensedcode/models.py#L62
> 
> As an implementor, I would prefer to just pick up a big JSON object rather
> than having to stitch together something from YAML and a bunch of parallel
> files.
> It's simpler; my library support would only have to consist of a JSON read
and
> - bang! - instant Python structure.  I like that kind of simple.
> 
> Can we discuss how to enrich the existing JSON? I realize there is an
issue
> about templated licenses, but that should be solved anyway and I can think
of
> simple ways to do it.
> --
>               <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>
> _______________________________________________
> Spdx-tech mailing list
> [email protected]
> https://lists.spdx.org/mailman/listinfo/spdx-tech

_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to