<div dir="ltr"><br><div>Using the license ids from SPDX seems straightforward, and that's what AppStream seems to encourage. But it doesn't mention support for SPDX license expressions (has a custom and/or rule), or what to do on custom licenses. So the harmony seems shallow, if you see what I mean. Or am I missing something?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 31, 2017 at 4:24 PM, Neal Gompa <span dir="ltr"><<a href="mailto:ngompa13@gmail.com" target="_blank">ngompa13@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">SUSE has their own list of non-standard references[1], but my<br>
understanding is that SPDX is working on making this a bit more<br>
flexible in this regard. This was one of the reasons we haven't<br>
switched to it in Fedora (the other being the mismatch of BSD/MIT tags<br>
to SPDX equivalents). AppStream metainfo files shipped with software<br>
include the SPDX license tags[2].<br>
<br>
One of the reasons I personally favor the Fedora tags more is because<br>
it's not obnoxious with dealing with classes of licenses. However,<br>
AppStream does mandate SPDX, and harmonizing snap metadata with<br>
AppStream metadata makes it easier to keep things sane and in sync,<br>
especially if developers want to use their metainfo files as input for<br>
generating parts of the snap metadata. Of course, maintaining harmony<br>
does not imply that SPDX license tags need to be used in snap data,<br>
only that some kind of automatic mapping from SPDX to another system<br>
is available. Richard Hughes' appstream-glib (used by GNOME/Ubuntu<br>
Software) has such a mechanism for going from Fedora/SUSE-classic to<br>
SPDX[3], and the other way around is considerably simpler.<br>
<br>
[1]: <a href="https://github.com/openSUSE/obs-service-format_spec_file" rel="noreferrer" target="_blank">https://github.com/openSUSE/<wbr>obs-service-format_spec_file</a><br>
[2]: <a href="https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html" rel="noreferrer" target="_blank">https://www.freedesktop.org/<wbr>software/appstream/docs/chap-<wbr>Quickstart.html</a><br>
[3]: <a href="https://github.com/hughsie/appstream-glib/blob/master/libappstream-glib/as-utils.c#L555" rel="noreferrer" target="_blank">https://github.com/hughsie/<wbr>appstream-glib/blob/master/<wbr>libappstream-glib/as-utils.c#<wbr>L555</a><br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Jan 31, 2017 at 11:43 AM, Gustavo Niemeyer<br>
<<a href="mailto:gustavo.niemeyer@canonical.com">gustavo.niemeyer@canonical.<wbr>com</a>> wrote:<br>
> That's an interesting idea. Is there a known repository for license texts<br>
> which are not standard? I see SPDX uses a LicenseRef-<ID> kind of<br>
> reference, but it's not clear what that is referencing. Just another field<br>
> inside the XML in the case of AppStream, I suppose?<br>
><br>
> On Thu, Jan 26, 2017 at 9:58 PM, Neal Gompa <<a href="mailto:ngompa13@gmail.com">ngompa13@gmail.com</a>> wrote:<br>
>><br>
>> On Thu, Jan 26, 2017 at 5:35 PM, Mark Shuttleworth <<a href="mailto:mark@ubuntu.com">mark@ubuntu.com</a>><br>
>> wrote:<br>
>> ><br>
>> > We should allow a plaintext field there for this situation. Yes, go<br>
>> > ahead with "Other open source".<br>
>> ><br>
>><br>
>> It would probably make sense to support SPDX license tags and<br>
>> expressions[1]. This is used in AppStream, so a great amount of<br>
>> software is already classified in this manner. Furthermore, openSUSE<br>
>> uses SPDX tags for their license metadata for packages, and Debian<br>
>> uses a subset of it as part of the copyright file structure in Debian<br>
>> Source Control packaging.<br>
>><br>
>> While we in Fedora use our own license tag list[2] that predates SPDX<br>
>> (used by a great deal of Linux distributions), we maintain a mapping<br>
>> to SPDX for AppStream support.<br>
>><br>
>> Having verifiable license information (either Fedora style or SPDX<br>
>> style) is also useful for ensuring things are "compatible" or<br>
>> "desired" on a system, depending on whatever preference you may have.<br>
>><br>
>> [1]: <a href="https://spdx.org/licenses/" rel="noreferrer" target="_blank">https://spdx.org/licenses/</a><br>
>> [2]: <a href="https://fedoraproject.org/wiki/Licensing:Main#Software_License_List" rel="noreferrer" target="_blank">https://fedoraproject.org/<wbr>wiki/Licensing:Main#Software_<wbr>License_List</a><br>
>><br>
>> --<br>
>> 真実はいつも一つ!/ Always, there's only one truth!<br>
>><br>
>> --<br>
>> Snapcraft mailing list<br>
>> <a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
>> Modify settings or unsubscribe at:<br>
>> <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
><br>
><br>
><br>
><br>
> --<br>
> gustavo @ <a href="http://niemeyer.net" rel="noreferrer" target="_blank">http://niemeyer.net</a><br>
><br>
> --<br>
> Snapcraft mailing list<br>
> <a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
> Modify settings or unsubscribe at:<br>
> <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
><br>
<br>
<br>
<br>
--<br>
真実はいつも一つ!/ Always, there's only one truth!<br>
<br>
--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><br>gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div>