DEPRECATED: 'license' defined in snapcraft.yaml

Gustavo Niemeyer gustavo.niemeyer at canonical.com
Mon Sep 5 15:54:21 UTC 2016


Hello all,

There's no integrated license support in snaps yet. We've removed the
original feature on the way to 16.04, and haven't had time to reintroduce
it properly yet.

It'll come soon.


On Mon, Sep 5, 2016 at 11:38 AM, Jamie Bennett <jamie.bennett at canonical.com>
wrote:

> On 05/09/16 at 01:34pm, Simon Fels wrote:
> > On 05.09.2016 13:31, Jamie Bennett wrote:
> > > On 05/09/16 at 07:06pm, Stuart Bishop wrote:
> > >> On 5 September 2016 at 18:08, David Callé <david.calle at canonical.com>
> wrote:
> > >>
> > >>
> > >>     > License files can be copied across if they are present in the
> setup/
> > >>     > directory. Reproduced from docs/meta.md
> > >>     >
> > >>     > "
> > >>     > ## Fixed assets
> > >>     >
> > >>     > Some metadata is provided in the form of conventions, such as
> license
> > >>     files,
> > >>     > icons and desktop files among others. For these fixed files to
> make it
> > >>     into
> > >>     > your final snap they need to be in a `setup` directory at the
> same level
> > >>     of
> > >>     > your `snapcraft.yaml`.
> > >>     > "
> > >>     >
> > >>     > Of course the website needs updating to reflect the new syntax
> (and the
> > >>     fact
> > >>     > that icon e.t.c also uses the setup/ dir now).
> > >>
> > >>     You can find these details in the docs here:
> > >>     http://snapcraft.io/docs/build-snaps/metadata#fixed-assets
> > >>
> > >>
> > >>
> > >> This does not mention the magic name(s) needed for license (nee
> licence,
> > >> copyright, legal, copying etc.) files to be discovered and made
> available from
> > >> the snap metadata by installers, the snap store or other consumers.
> Which is
> > >> what we are really asking.
> > >
> > > Just put the license in the setup/ directory and name it license.txt.
> >
> > What does this actually trigger? Is it detected by the store? Or is it
> > just shipped with the snap and then being available as part of $SNAP?
>
> I don't know if it is used in the store, someone else with more knowledge
> will
> have to comment.
>
> > regards,
> > Simon
>
> Regards,
> Jamie.
>
> > --
> > Snapcraft mailing list
> > Snapcraft at lists.snapcraft.io
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/snapcraft
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm
> an/listinfo/snapcraft
>



-- 
gustavo @ http://niemeyer.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160905/e11d4e06/attachment.html>


More information about the Snapcraft mailing list