Snapd circular dependencies

2016-12-09 Thread Boris Rybalkin
Hi, I am learning snapd code and have found some rather strange place of the code: snapstate.go: var Configure = func(st *state.State, snapName string, patch map[string]interface{}) *state.TaskSet { panic("internal error: snapstate.Configure is unset") } I tried to understand why would anyone

More flexible network access for Launchpad snap builds

2016-12-09 Thread Colin Watson
Following widespread demand, Launchpad snap builds are now permitted to access the network (via a proxy) during the "build" phase as well as the "pull" phase. On general software engineering principles, it's still good practice to try to specify your network dependencies in a declarative way so

Re: Announcing Snaplint

2016-12-09 Thread Spencer
I've never written anything anyone would want to use and modify. (My code is crap.) But I can still make my code free for everyone (users and developers alike). I don't even care about maintaining credit for my work. Ha! In fact, it's probably better for me to disavow it. I'll have to

Re: How to tell snapcraft to not copy and include system libraries?

2016-12-09 Thread Robert Liu
Hi, I met a similar condition and have reported it several months ago. https://bugs.launchpad.net/snapcraft/+bug/1587358 BR, Robert Michael Terry 於 2016年12月9日 週五 22:19 寫道: > On Fri, Dec 9, 2016 at 9:10 AM, Sebastien Bacher > wrote: > > Le

Re: How to tell snapcraft to not copy and include system libraries?

2016-12-09 Thread Michael Terry
On Fri, Dec 9, 2016 at 9:10 AM, Sebastien Bacher wrote: > Le 09/12/2016 à 13:59, Sebastien Bacher a écrit : > > I've found this bug which seems similar but it has been marked incomplete > > https://bugs.launchpad.net/snapcraft/+bug/1639831 > > On a similar note and also due to

Re: How to tell snapcraft to not copy and include system libraries?

2016-12-09 Thread Sebastien Bacher
Le 09/12/2016 à 13:59, Sebastien Bacher a écrit : > I've found this bug which seems similar but it has been marked incomplete > https://bugs.launchpad.net/snapcraft/+bug/1639831 On a similar note and also due to this feature, it seems that snapcraft prefers to use the system version than the deb

Re: How to tell snapcraft to not copy and include system libraries?

2016-12-09 Thread Sebastien Bacher
Hey Renato, Thanks for the reply. Do you have any pointer to your discussions with Sergio about the issue and maybe a bug report? I've found this bug which seems similar but it has been marked incomplete https://bugs.launchpad.net/snapcraft/+bug/1639831 Cheers, Sebastien Bacher Le 09/12/2016 à

Re: Cannot install snap apps from store

2016-12-09 Thread Madper Xie
Hi Xiaoguo, I do believe that you have a good proxy. So just try to use your proxy when you reproduce the timeout issue again. So that we can know if Mainland China is the only affected area. - sudo systemctl edit snapd; #adding following configure: [Service]

Re: Cannot install snap apps from store

2016-12-09 Thread Madper Xie
Hi Xiaoguo, I do believe that you have a good proxy. So just try to use your proxy when you reproduce the timeout issue again. So that we can know if Mainland China is the only affected area. - sudo systemctl edit snapd; #adding following configure: [Service]

Re: How to tell snapcraft to not copy and include system libraries?

2016-12-09 Thread Renato Filho
Hey Sebastien, This is a know problem we have the same problem when using ubuntu-app-platform. Sergio is already working on it. Maybe he can give us more information about that. Cheers. Renato. 2016-12-09 7:40 GMT-03:00 Sebastien Bacher : > Hey there, > > I'm working on a

How to tell snapcraft to not copy and include system libraries?

2016-12-09 Thread Sebastien Bacher
Hey there, I'm working on a simple demo snap which looks like that snapcraft.yaml example/ sharedlib/ demoexe where sharedlib/ is an empty dir where the libraries I use are going to be provided by content-sharing and demoexe is a binary copied my system the snapcraft.yaml uses a

Re: Announcing Snaplint

2016-12-09 Thread Julia Palandri
[totally not related with the original post, but I thought I should...] On Fri, Dec 9, 2016 at 6:12 AM, Spencer Parkin wrote: > Ha! :) Yeah, I guess it would, though I have no idea what dogfooding run > means. > > GPL purports to be free, but it's not. If a piece of