When the snap is installed a number of fields in `snap info` come from
the installed snap; license is one of these.

Unfortunately snapcraft still doesn't understand license (last tested
with 3.0 a few days ago building icdiff), so unless the developer has
gone out of their way and used passthrough, most snaps won't have a
license. But the license of the thing that was installed is what snap
info presents, and that license comes from the snap.yaml, and if it's
unset there it's unset as far as snapd is concerned.

Note that license is, or should be, per revision; at least that is my
memory of the discussion around this. The store treats it as if it were
per snap, meaning that it lets a publisher unilaterally change the
license of something, which is not ideal.

So, er, yes. Working as intended? maybe. I'm not sure.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1814640

Title:
  snap info showing "unset" license for snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1814640/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to