snapcraft 2.27 has been released

Kyle Fazzari kyle.fazzari at canonical.com
Wed Mar 1 16:08:17 UTC 2017


On 02/28/2017 05:51 AM, Roberto Mier Escandón  wrote:
> Hey guys,
> 
> Couldn't we have environment property pointing also to a file script as
> in the case of scriptlets. In the case of needing to set a bunch of
> things before launching app I'd prefer having it in that way.

That's a question for the snapd folks (as that's where the `environment`
feature is actually implemented). I will say that running a script
before running the app is not quite the same as defining environment
variables since a script can do whatever it wants (it may have nothing
to do with the environment). In my opinion, a keyword called
`environment` is probably not the best place for such a feature.

-- 
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
kyle at canonical.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170301/6b49038c/attachment.sig>


More information about the Snapcraft mailing list