RE: snapcraft 2.27 has been released

2017-03-07 Thread Joe Coates
craft-boun...@lists.snapcraft.io] On Behalf Of Kyle Fazzari Sent: Friday, February 24, 2017 2:06 PM To: snapcraft@lists.snapcraft.io Subject: Re: snapcraft 2.27 has been released On 02/24/2017 10:49 AM, Claudio André wrote: > > 2017-02-17 10:49 GMT-02:00 Sergio Schvezov > mailto:sergio.sc

Re: snapcraft 2.27 has been released

2017-03-01 Thread Kyle Fazzari
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 fo

Re: snapcraft 2.27 has been released

2017-03-01 Thread Roberto Mier Escandón 
Yes, that's what I'am doing. So, the conclusion I get from this is that environment is only valuable in the need of setting a few additional env vars. Btw, forget my last mail about the stop command not taking those values. It is working perfectly. Thanks, Cheers! On 01/03/17 00:37, XiaoGuo Liu w

Re: snapcraft 2.27 has been released

2017-02-28 Thread XiaoGuo Liu
Hi Roberto, In that case, you can just run your own script in the command in stead of directly launching your app. In your script, just do whatever thing there. Best regards, XiaoGuo On Tue, Feb 28, 2017 at 9:51 PM, Roberto Mier Escandón  < roberto.escan...@canonical.com> wrote: > Hey guys, >

Re: snapcraft 2.27 has been released

2017-02-28 Thread Roberto Mier Escandón 
Other thing I've seen, the environment set there does not affect the stop command. Is there any way to do it? Am I doing anything wrong?. Cheers. On 28/02/17 14:51, Roberto Mier Escandón  wrote: > Hey guys, > > Couldn't we have environment property pointing also to a file script as > in the cas

Re: snapcraft 2.27 has been released

2017-02-28 Thread Roberto Mier Escandón 
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. Cheers. On 24/02/17 20:05, Kyle Fazzari wrote: > > > On 02/24/2017 10:49 AM, Claud

Re: snapcraft 2.27 has been released

2017-02-24 Thread Kyle Fazzari
On 02/24/2017 10:49 AM, Claudio André wrote: > > 2017-02-17 10:49 GMT-02:00 Sergio Schvezov > mailto:sergio.schve...@canonical.com>>: > > Hello snapcrafters! > > ## Setting up environment > > No more wrapper scripts just to setup on environment entry, this is > now tied into a

Re: snapcraft 2.27 has been released

2017-02-24 Thread Claudio André
2017-02-17 10:49 GMT-02:00 Sergio Schvezov : > Hello snapcrafters! > > ## Setting up environment > > No more wrapper scripts just to setup on environment entry, this is now > tied into an app entry in `apps`. Here's a quick example: > > ```yaml > apps: > vim: > command: bin/vim >

Re: snapcraft 2.27 has been released

2017-02-18 Thread Joseph Rushton Wakeling
On 18/02/17 17:58, Sergio Schvezov wrote: The bad news is that running the snapped applications seems to run into trouble. I'm presuming this is a snapcraft issue rather than snapd since already-installed classic snaps built with snapcraft 2.26 seem fine. This is due to the fact that we are n

Re: snapcraft 2.27 has been released

2017-02-18 Thread Sergio Schvezov
On Sat, 18 Feb 2017 01:12:46 +0100, Joseph Rushton Wakeling wrote: > On 17/02/17 13:49, Sergio Schvezov wrote: >> ## classic confinement >> >> Improvements have been made to the experimental `classic` >> confinement build setup to be more robust and reliable. These >> improvements allow to build

Re: snapcraft 2.27 has been released

2017-02-17 Thread Joseph Rushton Wakeling
On 17/02/17 13:49, Sergio Schvezov wrote: ## classic confinement Improvements have been made to the experimental `classic` confinement build setup to be more robust and reliable. These improvements allow to build `classic` confined snaps that work across a wider set of OS releases (particular

snapcraft 2.27 has been released

2017-02-17 Thread Sergio Schvezov
Hello snapcrafters! We are pleased to announce the release of snapcraft `2.27`: https://launchpad.net/snapcraft/+milestone/2.27 This release is now available to users on Xenial Xerus, Yakkety Yak and Zesty Zapus. The pretty version of these notes can be found on https://github.com/snapcore/snap