[Bug 1555567] Re: License information from the store not being used
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/167 Title: License information from the store not being used To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/167/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1555567] Re: License information from the store not being used
I had an attempt at solving this in snapd with the attached patch. This passes through the "license" field from the store [1] and can make a search in gnome-software show this license field. However, this field doesn't exist for installed snaps. This is because the snap metadata doesn't contain this field and instead contains differently defined license fields [2] (it refers to a license file, not a string). This needs some design input to progress. It seems to me that one of the following needs to occur: - The license file that is referred in the snap YAML would have to be copied into the store database. This file could then be accessed either from the store or from a locally installed snap. This has the downsides that common license (e.g. GPL) are hard to match (requires checking the whole license file) and extra data would need to be downloaded (as opposed to a short string). - The snap YAML would gain the license field as used in the store. The existing license file could remain for non-common / complex licenses. The downside of this is that existing snaps might have a license set in the store but not in the .snap file (searching in gnome-software would show a license but after install it would not). [1] http://search.apps.ubuntu.com/docs/#package [2] http://snapcraft.io/docs/build-snaps/syntax ** Patch added: "0001-Pass-through-license-field-from-the-store.patch" https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/167/+attachment/4743358/+files/0001-Pass-through-license-field-from-the-store.patch ** Changed in: gnome-software (Ubuntu) Importance: Medium => High -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/167 Title: License information from the store not being used To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/167/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1555567] Re: License information from the store not being used
I can confirm snappy receives the license information from the store, and promptly forgets about it. Ooops. ** Changed in: snappy Status: New => Confirmed ** Changed in: snappy Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/167 Title: License information from the store not being used To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/167/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1555567] Re: License information from the store not being used
** Tags removed: trello-import -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/167 Title: License information from the store not being used To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/167/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1555567] Re: License information from the store not being used
** Tags added: trello-import -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/167 Title: License information from the store not being used To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/167/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1555567] Re: License information from the store not being used
** Information type changed from Private to Public -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/167 Title: License information from the store not being used To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/167/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs