Comment 3 for bug 1814640

Revision history for this message
John Lenton (chipaca) wrote :

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.