Re: Snapcraft's state tracking improvements

2016-12-15 Thread Stuart Bishop
On 14 December 2016 at 04:57, Kyle Fazzari wrote: > Hey everyone. > > I feel it coming on... this is going to be a tome. tl;dr... snapcraft > could be smarter than it is. But would that lead to its doing more for > you than you want? We'd like to find out. > > > *Option 1*: Error out and make y

Re: Snapcraft's state tracking improvements

2016-12-14 Thread Sebastien Bacher
Hey Kyle, Le 13/12/2016 à 22:57, Kyle Fazzari a écrit : > and force you to say exactly what you wanted. For example, if you simply > said `snapcraft clean part B` we error out, saying something like "Hey > you're trying to clean part B, but part A depends on it. If you intend > for both to be clea

Re: Snapcraft's state tracking improvements

2016-12-14 Thread Alberto Mardegan
On 14/12/2016 09:02, Didier Roche wrote: > I would think a good way is always to not try to be too smart. This is > kicking back in some way in the future. I would personally go with > option 1 + a suggestion of command to run to autofix it. Instead of > prompting (option3), add an option like --au

Re: Snapcraft's state tracking improvements

2016-12-14 Thread Sergio Schvezov
El 14/12/16 a las 03:02, Didier Roche escribió: Le 13/12/2016 à 22:57, Kyle Fazzari a écrit : Hey everyone. Hey Kyle I feel it coming on... this is going to be a tome. tl;dr... snapcraft could be smarter than it is. But would that lead to its doing more for you than you want? We'd like to fi

Re: Snapcraft's state tracking improvements

2016-12-14 Thread Sergio Schvezov
El 13/12/16 a las 21:27, Seth Arnold escribió: On Tue, Dec 13, 2016 at 01:57:20PM -0800, Kyle Fazzari wrote: *Option 2*: Automatically take care of everything. If you modify a part with dependencies, snapcraft will rebuild those dependencies as it sees fit without your needing to say so. Similar

Re: Snapcraft's state tracking improvements

2016-12-13 Thread Didier Roche
Le 13/12/2016 à 22:57, Kyle Fazzari a écrit : > Hey everyone. Hey Kyle > > I feel it coming on... this is going to be a tome. tl;dr... snapcraft > could be smarter than it is. But would that lead to its doing more for > you than you want? We'd like to find out. > > I've spoken to a few of you indi

Re: Snapcraft's state tracking improvements

2016-12-13 Thread Seth Arnold
On Tue, Dec 13, 2016 at 01:57:20PM -0800, Kyle Fazzari wrote: > *Option 2*: Automatically take care of everything. If you modify a part > with dependencies, snapcraft will rebuild those dependencies as it sees > fit without your needing to say so. Similarly, if you clean a part with This options f

Re: Snapcraft's state tracking improvements

2016-12-13 Thread XiaoGuo Liu
Thanks kyle, this is really important! In a hackathon event, when the network was bad and shared by many people, keeping cleaning the project and rebuilding the project took a lot of time to build the whole project. Sometime, it took a few tens minutes to get it done! Best regards, XiaoGuo On Wed

Snapcraft's state tracking improvements

2016-12-13 Thread Kyle Fazzari
Hey everyone. I feel it coming on... this is going to be a tome. tl;dr... snapcraft could be smarter than it is. But would that lead to its doing more for you than you want? We'd like to find out. I've spoken to a few of you individually about this, and I want to open this topic up for wider conv