/srv/irclogs.ubuntu.com/2016/03/18/#snappy.txt

=== chihchun_afk is now known as chihchun
dholbachgood morning08:24
morphissergiusens: ping08:30
sergiusensmorphis, pong?08:31
sergiusensmorning08:31
morphissergiusens: morning :-)08:31
sergiusens5:30am here :-)08:31
morphisquite early08:31
sergiusensbut wide awake due to jetlag08:31
sergiusens11 hour time jumps can do that08:31
morphiseven better ;)08:31
morphissergiusens: with snapcraft on xenial I am currently getting: https://paste.ubuntu.com/15413380/08:32
morphissergiusens: nothing in snapcraft seem to create those two directories during the stage process08:32
morphisso I am wondering what goes wrong08:32
morphisloosk like snapcraft is adding them statically to CFLAGS08:32
morphisjust creating both fixes the problem08:33
sergiusensmorphis, interesting; this seems to be a snapcraft bug; it declares that include path (just in case)08:33
sergiusensthanks for pointing me out that inherited legacy code again :-)08:33
sergiusensmorphis, can you file a bug?08:33
morphissergiusens: sure, on github or launchpad?08:33
sergiusensand include your snapcraft.yaml08:34
sergiusensmorphis, https://bugs.launchpad.net/snapcraft/+filebug08:34
morphissergiusens: aye08:34
dholbachogra_, mvo: do you know who's responsible for the Mt7623 snap?08:45
dholbachor who has access rights for it?08:46
dholbachwe received a request to change the logo08:46
morphissergiusens: https://bugs.launchpad.net/snapcraft/+bug/155896508:53
ubottuLaunchpad bug 1558965 in Snapcraft "Snap building fails due to missing include directory" [Undecided,New]08:53
mvodholbach: I have no idea, probably best to ask in #u1-internal08:58
dpmdholbach, ogra_, if I'd want to create a snap from a .deb package, which is not on the archive, is there any snapcraft.yaml trick I can use to download the .deb from a URL, just as if it had been specified in 'stage-packages'?09:00
dholbachdpm, can you put it in a PPA and use either the launchpad build or the LOCAL SOURCES trick?09:02
dpmdholbach, I was trying to avoid that, as sergiusens mentioned that LOCAL_SOURCES was rather deprecated09:02
dholbachI think the official way we want to use is PPAs and LP builds09:04
dholbachbut for local testing, while it's still available in the code, I'd recommend the local sources trick09:04
dholbachbut maybe sergiusens has a different idea09:04
ogra_dholbach, havent heard of that snap09:05
dpmdholbach, right, but is not PPAs = LOCAL_SOURCES?09:05
dpmor do can the LP builds somehow use external PPAs?09:05
dholbachdpm, I have never used it yet, but I assume that it's like normal PPAs - you can make them depend on each other09:06
sergiusensdholbach, dpm just make sure it is in you local sources.list09:07
dpmI'm a bit confused now09:07
dpmso the package I'm trying to snap is both in a PPA and available as a downloadable .deb09:07
dpmso what's the recommended way to snap it if I just want to package the binaries, and not build them?09:08
dholbachogra_,09:10
dholbach Mt762309:10
dholbachMT7623 support package MT7623 OEM snap for IoT demo purpose09:10
dholbach(https://developer.ubuntu.com/en/snappy/start/gadget-snaps/)09:10
ogra_dholbach, see PM :)09:10
dholbachgracias!09:10
morphissergiusens: also looks a bit like snapcraft is not extracting all deb packages I put into stage-packages correctly09:24
morphissergiusens: is there some condition around what gets extracted and what not?09:25
morphissergiusens: https://paste.ubuntu.com/15413620/09:25
sergiusensmorphis, can you check in parts/<part>/install ?09:34
morphissergiusens: sure09:35
morphissergiusens: hm there it is09:35
sergiusensmorphis, do you have a stage or snap entry in your snapcraft.yaml?09:36
morphissergiusens: ah .. my fault :-)09:36
morphisI strip it from the list of staged files09:36
sergiusensmorphis, I'm fixing this in a pkg-config branch I have09:36
morphissergiusens: but looks like the build is referencing to stage/ somehow09:37
sergiusensmorphis, so you won't be hit by this again and what you did might as well be correct in the future09:37
zygagood morning09:37
* sergiusens starts getting breakfast ready09:37
morphiszyga: morning09:37
morphissergiusens: you mean stripping it from files being staged affects the build through pkg-config?09:38
morphissergiusens: https://paste.ubuntu.com/15413661/ is still what I get during the build, shouldn't the build only point to parts/<current>/install?09:40
sergiusensmorphis, the problem is pkg-config can only have one SYSROOT at a time09:42
Chipacapitti: you around?09:42
sergiusensmorphis, I've been fixing that; but not there yet (missing some corner cases)09:42
morphissergiusens: ok, got it, thanks09:43
sergiusensmorphis, and then yes, you would use 'install' for the part and not need to stage if not needed09:44
morphissergiusens: ok09:46
dpmmvo, is there a way to query snapd for all the metadata of an app?11:27
mvodpm: I don't think we have this right now, you can query the status if it is a service. why do you ask, what do you need here?11:31
dpmI think it's returning outdated metadata, and I wanted to check11:37
kyrofaGood morning11:41
=== devil is now known as Guest29525
morphisis there still a way with the new snappy stuff for 16.04 to let a snap being unconfined? like the security-template: unconfined switch we had with 15.04?12:05
sergiusensmorphis, there is with old-security; look at the snapcraft examples12:06
morphisoh great12:06
morphissergiusens: is that documented somewhere too?12:07
sergiusensmorphis, that is an mvo question12:07
morphissergiusens: basically I have a daemon I want to run unconfined12:08
sergiusensmorphis, the only form of documentation I have on snapcraft's side are the examples and https://github.com/ubuntu-core/snapcraft/blob/master/schema/snapcraft.yaml#L5712:10
morphissergiusens: I see12:10
sergiusensmorphis, I don't want to write more until the snappy guys get some ticks on interfaces themselves12:10
sergiusensmorphis, and that lands from here https://github.com/ubuntu-core/snapcraft/blob/master/schema/snapcraft.yaml#L24812:11
sergiusensmorphis, which needs to ref'ed from `apps` in https://github.com/ubuntu-core/snapcraft/blob/master/schema/snapcraft.yaml#L18512:11
morphisI see, so defining a plug I then use in my app12:12
sergiusensmorphis, this https://github.com/ubuntu-core/snapcraft/blob/master/examples/ros/snapcraft.yaml and this https://github.com/ubuntu-core/snapcraft/blob/master/examples/busybox/snapcraft.yaml should get you the gist of it12:12
morphissergiusens: so something like https://paste.ubuntu.com/15414149/ should do the trick12:15
sergiusensmorphis, yes12:16
morphislets see12:16
sergiusensmorphis, I hope we did a good job with the schema to detect incompatible options/combinations12:16
morphissergiusens: I must say I like snapcraft more and more, got quite more solid then when I used it the last time back in november last year12:17
morphissergiusens: but yeah, that trick works12:20
morphismvo: ping12:37
jospoortvlietkyrofa: awesome! Sorry I only see it now - will push the blog in a few minutes OK :D12:46
jospoortvlietthanks a lot12:46
kyrofajospoortvliet, no problem! Good afternoon :)12:47
jospoortvlietnow for putting them on a stick, so I can demo it at Chemnitzer Linux Tage (conference happening this weekend) ;-)12:47
kyrofaOoo, good luck!12:47
jospoortvlietwill be fun, np12:47
noizerHello guys12:48
noizerI have some trouble with changing my apparmor. I think an issue in Snappy. here is the following error that I have. :http://pastebin.com/t87eZpjz12:49
noizererror: http://pastebin.com/t87eZpjz12:49
noizerDoes somebody got any idea how I can fix it?12:49
jdstrandwe talked about this before12:50
jdstrandthis is possibly a bug in the ubuntu-core-launcher12:50
noizerjdstrand: Yes but can it be fixed?12:50
noizerjdstrand: In some later version?12:51
jdstrand/home/ubuntu/snaps/ad.sideload/LTKVlHMSjhpm/snaps/ is not a valid path that the launcher should be looking at12:51
noizerMaybe i can make that path so ...12:51
jdstrandnoizer: please file a bug at https://bugs.launchpad.net/snappy/+filebug with steps to reproduce if you're sure you are setting up everything correctly12:51
mvomorphis: pong12:52
=== devil is now known as Guest28469
noizerjdstrand: But you knows more about it what I'm trying to do and thats not in the filosofie of snappy12:54
jdstrandnoizer: sure-- it might be you are not setting an env var correctly. you should look at how things are set in /snaps/bin to see why the last /snaps/ is being appended. only when you are sure that the launcher is doing the wrong thing, file the bug13:03
kyrofanoizer, yeah, check the $SNAP_USER_DATA variable13:05
noizerjdstrand: I will look into it and let you know for more advice13:05
noizerkyrofa: jdstrand Can i check it just over SSH to my raspi pi?13:06
kyrofanoizer, first off, I'm assuming this is a binary, not a daemon, right?13:07
kyrofanoizer, if yes, you can SSH in and check out the /snaps/bin/<binary> wrapper. If it's a daemon, you can SSH in and check out the /etc/systemd/system/<service>.service file13:08
sergiusenskyrofa, here's one for you https://github.com/ubuntu-core/snapcraft/pull/379 :-)13:16
sergiusenskyrofa, if you know of a stable snap on the staging server I can add an int test; I'm weary to add one otherwise13:17
kyrofasergiusens, not really-- everything I've ever done on staging was temporary :P13:17
kyrofasergiusens, though we have an upload test-- maybe couple them together a little?13:18
sergiusensjdstrand, hey, the sudo problem needs to be solved regardless of what dir we default to as one of the system components creates the dir layout and if it is the first run and sudo is involved we create a boo boo13:18
* sergiusens speaks in loose terms since it is Friday after all13:18
kyrofasergiusens has kids13:19
sergiusensjust the one ;-)13:23
sergiusensnice coveralls is giving me nice messages now13:24
kyrofasergiusens, explain this PR to me. How does the kernel needs snaps?13:27
mvoogra_, kyrofa: you had issues with services not starting, i assume this is still the case? I am testing this right now13:28
kyrofamvo, indeed-- they aren't activated on boot in 16.04 anymore13:28
sergiusenskyrofa, look at the kernel pr :-)13:29
mvokyrofa: ok, let me try that13:29
sergiusenskyrofa, in summary, generic initrd13:29
mvokyrofa: only when using u-d-f, right?13:29
sergiusensmvo, is there any other tool?13:29
kyrofamvo, according to Chipaca and niemeyer I found out it isn't supposed to, though. Right, u-d-f13:29
mvokyrofa: eh, wuut?13:30
kyrofamvo, I learned that model assertions will be the way to do this13:30
mvokyrofa: indeed and yet that should still activate them13:30
mvokyrofa: plus we don't have them13:30
kyrofamvo, so I ended up making a gadget snap with built-in to work for now (preinstalled doesn't work either)13:30
mvosergiusens: I heard some talk about ubuntu-image ;)13:30
kyrofamvo, indeed13:30
mvokyrofa: but build-in does work?13:30
sergiusensmvo, blocked on generic initrd and model assertions ;-)13:30
kyrofamvo, yeah, the gadget.go code parses that bit and activates on boot13:31
mvokyrofa: ok13:31
mvokyrofa: hm, hm, still awkward that we have --install in u-d-f and it does not work13:32
mvokyrofa: I guess I kill that for now at least13:32
kyrofamvo, yeah it's really hard to preinstall stuff now :P13:32
kyrofamvo, I had to fork the entire rpi2 gadget13:32
mvoogra_: you also had an issue with stuff not activated, was it the same?13:32
mvokyrofa: that sucks (pardon my language)13:32
sergiusensmvo, btw, you may want to add StartLimitBurst= to the service units created; it would palliate the network requiring snaps a bit13:32
mvokyrofa: actually I think we need to do something about this because webdm is something we want to preinstall13:32
kyrofamvo, we could always add it to our gadgets if we don't want to support --install13:33
sergiusensmvo, right, the correct path for preinstalling is to define it in the model13:33
sergiusensmvo, but it is in a limbo state right now13:33
mvosergiusens: no disagreement13:33
mvosergiusens: I just don't like the limbo state, would be nice to be able to build images13:33
mvosergiusens: so that people can use/test them13:33
kyrofamvo, yeah, agreed13:33
* mvo scratches head13:34
sergiusensmvo, of course; so many things have changed lately though that it is hard to unbreak everything :-)13:34
mvosergiusens: yeah13:35
mvosergiusens: I think we are very much in agreement :)13:35
sergiusenskyrofa, so the os.snap holds the generic initrd.img that ogra_ built; the intermediate plan is to compose a full initrd.img until snappy learns about N initrd's that can be chainloaded13:35
noizerjdstrand: kyrofa I got the following path13:35
noizerexport SNAP_USER_DATA="$HOME/snaps/ad.sideload/LTKWTFRHRRWC"13:35
jdstrandkyrofa: did I hear correctly, model assertions are required for service start?13:35
kyrofajdstrand, oh no, just pre-installing snaps in a generated image13:35
sergiusensmvo, I wish agreeing would magically fix things :-D13:35
* sergiusens is in a very Friday mood13:36
jdstrandkyrofa: ok, I was going to say :)13:36
kyrofajdstrand, starting to sweat?13:36
jdstrandnoizer: I think what might be happening is when you call the scripts in /snaps/bin, your HOME is not /home/ubuntu, it is /home/ubuntu//snaps/ad.sideload/LTKWTFRHRRWC, so then the launcher looks at $HOME, tacks on /snaps and messes up13:37
jdstrandnoizer: the fix is doing HOME=/home/`id -u` /snaps/bin/...13:38
jdstrandnoizer: or similar (that won't work for root of course, but you get the idea)13:38
kyrofasergiusens, ahh, okay I see now. So this is (hopefully) temporary, then?13:38
jdstranderr, id -un13:38
kyrofasergiusens, the downloading, I mean13:38
kyrofasergiusens, until we get them chained13:39
sergiusenskyrofa, yeah; but if we lived in a beatiful world this storeapi thing would be its separate project and we'd use it for ubuntu-image as well (to download snaps)13:39
sergiusenskyrofa, yes, until then13:39
noizerjdstrand: But I can't fix it right now?13:39
kyrofasergiusens, that's not a bad idea. It might save us some work later, but it means facing the NEW queue13:40
sergiusenskyrofa, new queue is easy once you know the right people ;-)13:40
kyrofasergiusens, ha!13:40
kyrofasergiusens, what do you think then? Shall we extract it?13:40
sergiusenskyrofa, well now is not the time13:41
kyrofaOr even implement the API in ubuntu-image?13:41
kyrofaOkay13:41
sergiusenskyrofa, it's in snapcraft since you know what13:41
kyrofaGotcha :)13:42
jdstrandnoizer: this is in your code13:54
jdstrandnoizer: you are calling /snaps/bin/... iirc13:54
noizerjdstrand: yes thats my code how can i fix it then?14:00
roadmrheya folks! I installed ubuntu-snappy-cli on a xenial system and there's no "snappy try". How can I try a locally built snap? I do have the snappy-dev ppa enabled14:02
qenghoIs there any preferred idiom for restarting one's self after a config change? Just use local config program to kill or something? No systemd poking or anything?14:02
jdstrandnoizer: I told you: you need to reset HOME to /home/ubuntu (or /home/`id -un` or something else smarter) before you call /snaps/bin/...14:05
jdstrandHOME=/home/`id -un` /snaps/bin/...14:05
noizerjdstrand: sorry i was a little confused :s14:06
jdstrandnp14:07
=== chihchun is now known as chihchun_afk
noizerjdstrand: I set my HOME to /home/ubuntu and it won't help14:19
jdstrandnoizer: otoh not sure. look at the env vars being set in /snaps/bin/... (they are just shell scripts) and try to figure out what you need to do14:20
sergiusenskyrofa, elopio I'm at a coffee shop that just got loud, mind if we start 10' late so I run home?14:22
kyrofasergiusens, sure thing14:22
kyrofasergiusens, no rush14:23
ogra_mvo, yeah, it was the same issue (webdm got unpacked in /snaps but no "current" link and no systemd services were created)14:33
ogra_mvo, we also used to be able to just build images without defining kernel and os (the oem snap used to define which ones it needs) ... that was very convenient, could we have that back ?14:36
mvoogra_: I pushed a branch that activates the installed snaps now, the other one is probably simple too, I need to look at an example, can't remeber the syntax that the gadget defines kernel/os14:38
ogra_yeah, me neither, ricmm just pointed me to that yesterday, i'm alsready so used to define --os and --kernel :)14:39
ogra_mvo, also, when do you plan to land the udf changes so people dont need to pull your binary ?14:39
ogra_is there anything blocking ?14:40
mvoogra_: well, ubuntu-image, but I suspect more and more that this is not going to happen before 16.04 so maybe we should go ahead. my branch was proposed ages ago14:40
ogra_(looks stable to me after using it for more than a month)14:40
mvoogra_: my branch for u-d-f14:40
ogra_yeah, even if ubuntu-image happens we should have something that matches the current setup in the archive14:41
kyrofamvo, +1 on landing14:41
ogra_until u-image is done14:41
kyrofamvo, we're still waiting on a number of things to happen before ubuntu-image anyway14:42
* ogra_ would like to disable tarballs on cdimage ... which will break the system-image setup, so u-d-f shouldnt use it for 16.04 anymore14:42
mvoogra_: hm, did ricmm point to the agreed syntax for kernel/os snap in gadget.yaml :) ? I can't find that right now14:42
ogra_mvo, no, he just pointed out that it was possible with the old oem snaps ...14:42
mvokyrofa: yeah, I think that makes sense14:42
mvoogra_: right, well, hmmm14:42
mvoogra_: we may need to wait until there is agreement on the syntax but in principle its a simple change I think14:43
ogra_probably nobody thought about that and it isnt in the spec14:43
ogra_(i personally hd completely forgotten about it :) )14:43
morphismvo: nevermind, solved the problem already14:54
ogra_sergiusens, thanks for the cliffhanger btw ... looks like we might re-discuss merged initrds vs loop mounted modules :)14:55
ogra_(which in case we decide for the latter means changing the partitioning scheme )14:56
* ogra_ will try to preapre a prototype14:57
ogra_sergiusens, so looking at https://github.com/ubuntu-core/snapcraft/pull/379 ... why not just pull the deb from the archive ... seems like overkill to use the whole os snap just to extract the img file15:07
sergiusensogra_, we can't know which OS and deb relate15:12
sergiusensas in no traceability15:12
sergiusensogra_, this is jus temporary though as you now know ;-)15:12
ogra_well, the generic initrd will have to come from somewhere15:12
ogra_even in the future15:12
sergiusensogra_, yeah, but the kernel plugin won't need to pull it down15:13
ogra_how else would you get it then ?15:13
kyrofaogra_, won't it be in the image?15:13
ogra_kyrofa, it currently is ... but that wont help you if you build your arm kernel via snapcraft on your PC15:14
ogra_then it would again need to pull the file from somewhere15:15
ogra_(unless you limit it to only building in the classic dimension)15:16
roadmrheya folks! I installed ubuntu-snappy-cli on a xenial system and there's no "snappy try". How can I try a locally built snap? I do have the snappy-dev ppa enabled15:32
kyrofaogra_, I guess I'm not super clear on what the end goal is. I imagined the kernel snap having its own initrd and the OS having another one, and at boot they get chained together. Perhaps I've misunderstood?15:33
elopiomvo: ping. So, what should we use as the version of this deb we dput on changes to master?15:33
elopioI was thinking that the sha1 doesn't work because it's not increasing.15:33
kyrofaogra_, i.e. they're independent15:34
ogra_kyrofa, well, the discussion about the implementation is still ongoing (or ongoing again since yesterday), but yes, the generic part in either scenarion can then come from the os on boot15:35
ogra_*scenario15:35
ogra_sorry, i'm judging by waht we currently have :)15:36
ogra_(which is "merge at build time")15:36
dholbachdavidcalle, you can set SNAPCRAFT_LOCAL_SOURCES as an environment variable and use what's in your /etc/apt/sources.list*15:38
kyrofaogra_, right, same page. I guess we're just assuming that the end goal will be to have them completely independent at build time, so we just have this temporary workaround for now15:39
dholbachdavidcalle, that'd trump whatever snapcraft's using by default and you could work around the mirror which has a broken hashsum (or is in the middle of mirroring)15:39
dholbachat some stage, sergiusens will make me pay for every time I mention the local sources trick15:40
ogra_kyrofa, i learned to only trust end golas if the code exists ... i guess thats my prob :)15:40
dholbachit looks like a few people need this after all15:40
ogra_*goals15:40
kyrofaogra_, heh15:40
davidcalledholbach: perfect, thanks :)15:41
mvoelopio: ideally just whatever version we already have and we append ~ppaN (~ppa1, ~ppa2 etc)15:45
mvoelopio: the "~" is important to ensure the version is smaller15:45
sergiusensdholbach, I will make it default after I am done with this <josepht> jdstrand: I uploaded another revision15:57
sergiusensdholbach, err https://github.com/ubuntu-core/snapcraft/pull/33515:57
sergiusensnot sure how that got copy/pasted ???15:57
sergiusensdarn xchat15:57
jdstrandheh15:57
dholbachoooh, nice15:57
dholbachthanks sergiusens!15:58
sergiusensdholbach, which will allow you to also mostly use build packages instead of stage packages for most things again15:58
dholbachexcellent15:58
dholbachall rightie... I call it a day - have a good one everyone!16:00
* mvo hugs dholbach16:00
kyrofaBye dholbach!16:00
* dholbach hugs mvo and kyrofa 16:00
dholbachmvo, email! :-)16:00
dholbachsee you!16:01
ogra_mvo, how about we target next week to do an all-snaps 16.04 alpha release on cdimiage.u.c/ubuntu-snappy (independent of u-d-f being merged or my autosubmit of snaps from cdimage to the store i think we should have some recent image we can point people at in an official space)?16:12
mvoogra_: absolutely, this is why dholbach was bugging me about "send this mail"16:12
ogra_ah16:12
roadmrhow can I try a locally-built snap?16:13
* ogra_ always uses a kvm image or if i build for arm i actually use the target device to try it 16:14
kyrofaogra_, yay for cdimage!16:14
ogra_roadmr, i'm not sure that "snappy try" is working yet16:15
ogra_s/that/if/16:15
roadmrogra_: thanks! this is amd64 so a kvm image would work. I'm happy to be pointed to docs if there are any :)16:15
ogra_roadmr, http://people.canonical.com/~mvo/all-snaps/amd64-all-snap.img.xz ... unxz that ... then: kvm -m 512 -redir :8022::22 amd64-all-snap.img.16:16
ogra_(and you can ssh/scp to localhost at port 8022)16:17
roadmrogra_: yay, thanks!16:17
ogra_kyrofa, did you consider giving your "split /writable to separate img" script snippets to zyga so he can include it in his ubuntu-image script ?16:25
kyrofaogra_, no, but if you imagine it being more generally useful I totally can16:26
ogra_i think it is, yeah16:26
ogra_(for everyone wanting to have the payload on USB and boot on SD)16:26
kyrofaogra_, yeah I have a custom version of his ubuntu-image as well, so I should upstream the whole thing16:27
ogra_yeah16:27
kyrofaogra_, I'll make a few PRs, thanks for the poke :)16:27
ogra_thanks for the code :)16:27
sergiusensdpm, `snappy build` is going bye bye, might be better to say `snapcraft snap [DIR]`16:29
kyrofasergiusens, https://github.com/ubuntu-core/snapcraft/pull/38116:29
kyrofaelopio, ^^16:30
dpmsergiusens, ah I've actually never used it, I've always used snapcraft so far. Any particular docs you've seen it mentioned?16:30
sergiusensdpm, the one you just shared in the call16:30
dpmsergiusens, ah, I see16:30
dpmupdating it16:30
sergiusensdpm, you also mention 'clock' in there  ;-)16:30
sergiusensdpm, I only have View; else I would of commented/suggested inside the doc :-)16:30
dpmsergiusens, updated permissions, you should be able to edit/comment now :)16:31
dpmthanks!16:31
ogra_sergiusens, and now you own it !16:32
sergiusensthanks16:32
sergiusensogra_, nah16:32
ogra_:)16:32
dpmdammit, it was worth a try :)16:32
kyrofasergiusens, have any atom plugins to recommend?16:38
sergiusenskyrofa, you transitioned :-)16:39
kyrofasergiusens, I'm taking it for a spin anyway16:40
kyrofasergiusens, perhaps my combination of gedit vi and grep could be improved upon. Perhaps16:40
ogra_gedit and vi ?16:40
ogra_heh16:40
sergiusenskyrofa, atom-python-debugger, git-plus, linter (A Base Linter with Cow Powers), linter-flake8, linter-golinter, linter-gotype, linter-govet, linter-pep8 (although flake8 takes care of the same) and the best of all vim-mode16:41
kyrofasergiusens, ah, it was watching your vim-mode that convinced me to try it out16:41
sergiusenskyrofa, I like "linter" most of all for the description16:41
kyrofaHahaha16:42
sergiusenskyrofa, the reason I stopped using vscode was that its vim-mode wasn't that good16:42
* kyrofa wonders how atom's ruby support is16:43
kyrofasergiusens, what about python-tools?16:44
dpmdavidcalle, I think the getting started doc is ready - if you want to have a quick review whenever you've got time, that'd be awesome16:54
davidcalledpm, alright, on my end, I'm still trying to figure how to handle runtime deps16:56
dpmdavidcalle, just put them all in :)16:57
dpmhave you tried with "stage-packages"?16:57
sergiusenskyrofa, I just use the linter tools16:57
sergiusenskyrofa, btw https://owncloud.org/blog/wd-labs-raspberry-pi-owncloud-and-ubuntu/16:58
davidcalledpm: that's the "all in" part I'm running after. Things build, but always choke on some missing lib when I try to run them. I'm tempted to add ubuntu-desktop ;)16:58
dpmdavidcalle, ah, I had that issue too, it's a bit of trial and error :)16:58
davidcalledpm: any way to not have to redownload anything when you change stage-packages?16:59
kyrofasergiusens, hey thanks!16:59
dpmdavidcalle, I haven't tried that yet, but the last comment on bug 1550679 might work17:00
ubottubug 1550679 in Snapcraft "Allow selective cleanup" [Undecided,Incomplete] https://launchpad.net/bugs/155067917:00
davidcalledpm: thanks, doesn't work (yet?), but nice to see it's planned17:04
sergiusenskyrofa, very nice17:06
sergiusenskyrofa, I'll start looking at your PR in a bit btw17:06
joc_sergiusens: hi, i've been trying to push this snapcraft PR along but keep hitting issues with the automated checks:17:40
joc_https://github.com/ubuntu-core/snapcraft/pull/36417:40
kyrofaHey mvo do we have a bug for the unversioned data directory?17:41
joc_sergiusens: do you know if that is a problem with the tools or my PR?17:42
sergiusensjoc_, given that other PRs are testing fine I'd guess with your PR; elopio mind checking?17:48
sergiusensjoc_, if you have vpn access just click on details to see17:49
joc_sergiusens: ah thanks, didnt have vpn enabled17:51
kyrofasergiusens, okay I admit. Atom is an improvement17:55
sergiusenskyrofa, it is nice; I downloaded it for a test run and here I am still 8 months in17:56
kyrofasergiusens, and it's light and fast. That's why I was using my previous solution-- everything was so slow17:57
kyrofaeverything else, rather17:57
sergiusenskyrofa, what other things were you using?17:58
sergiusensvim wouldn't be slow, but package management and the packages can get slow/flaky17:59
kyrofasergiusens, no that's what I mean-- vi and gedit are both super light. But like, eclipse for instance17:59
elopiojoc_: http://paste.ubuntu.com/15416550/18:08
joc_elopio: thanks, where did you get that output from?18:17
joc_elopio: i.e. can i get to it myself from the PR?18:18
elopiojoc_: yes, just enable the vpn and go to the details link18:20
elopiohttp://162.213.35.179:8080/job/github-snapcraft-autopkgtest-cloud/176/console18:20
ogra_kyrofa, hahahaha (reading the blog article you linked)18:25
ogra_"This brings a very familiar operating system to the device"18:25
ogra_:D18:25
kyrofaogra_, yeah I noticed that myself18:25
kyrofaSome people might be surprised18:26
ogra_yeah18:26
ogra_well, we need to promote the classic dimension more ... there we are actually a familiar choice ;)18:26
* ogra_ wishes we had a "snappy enable-classic-with-snapcraft" 18:26
ogra_kyrofa, nontheless, awesome !!!!18:27
kyrofaogra_, thanks! :)18:28
wililupyQuestion: In Xenial, how do we run snappy-remote?18:30
ogra_is it broken ?18:31
* ogra_ never uses it 18:31
ogra_(being just a wrapper around two scp and ssh commands)18:32
wililupyI try to install snappy-tools from the ppa, but it says unable to locate package.18:32
wililupyThis is on a xenial workstation.18:32
ogra_there might not be a xenial build for it indeed ... since "snappy try" is actually supposed to replace it (but i think thats not complete yet)18:33
wililupyI guess I could always just scp the .snap to the device and locally run snappy install, but I was hoping to do everything remote.18:33
wililupyHeh, I tried snappy try on xenail and it said, "Unknown command `try', did you mean `activate'?"18:34
ogra_sergiusens, ^^ any chance we could have a xenial build of snappy-tools (at least til snapcraft try works)18:34
wililupyThere's room for a Star Wars Easter egg there ;)18:35
sergiusensogra_, just copy_package it into xenial if you want18:35
verterokHi, used snapcraft to build a snap of a python CLI app, but when I try to install it (kvm) but fails with: "failed to install: Signature verification failed with exit status 14"20:00
verterokcouldn't find anything regariding the exit status 14, any ideas what might be going on?20:01
kyrofaverterok, you need --allow-unauthenticated when installing20:02
kyrofasnappy install <snap> --allow-unauthenticated20:02
kyrofaverterok, only snaps in the store are signed20:03
verterokkyrofa: I'm using --allow-unauthenticated20:03
kyrofaverterok, oh20:03
kyrofaverterok, 15.04 or 16.04?20:03
verterokkyrofa: ubuntu-core/15.04/stable20:03
verterokkyrofa: following the docs on both: 1) how to build a snap and 2) get snappy running on kvm20:04
kyrofaverterok, is it a large snap?20:04
verterokkyrofa: 48M20:04
verterokI can upload it somewhere if it helps, but will take a bit with my current connection20:05
kyrofaverterok, how much RAM do you have in the VM?20:05
verterokkyrofa: 51220:06
verterokshould I bump it?20:06
kyrofaverterok, can you run  debsig-verify -d on the snap manually?20:08
kyrofaIt sounds like the code checks for a signature and then decides whether or not to ignore it20:09
verterokkyrofa: http://paste.ubuntu.com/15417537/20:09
kyrofaverterok, how did you create the snap?20:09
verterokkyrofa: snapcraft20:09
kyrofaverterok, which version?20:09
verterokkyrofa: 2.420:10
verterokI'm in xenial20:10
kyrofaverterok, ah, you are a victim of the currently terrible documentation situation20:10
verterokkyrofa: :)20:10
kyrofaverterok, if you're targeting pre-16.04, you must use Snapcraft 1.x (available pre-xenial back to trusty)20:10
kyrofaSnapcraft 2.x packages totally differently20:11
verterokkyrofa: oh, ok.20:11
verterokkyrofa: will add the ppa and install 1.020:11
verterokkyrofa: thanks for the help20:11
kyrofaverterok, no problem! Note that you still may run into issues running Snapcraft 1.x on xenial, as the generated snap may end up wanting a newer libc than snappy 15.04 offers20:12
kyrofaverterok, we recommend running snapcraft on the same version of ubuntu you're targeting20:12
verterokkyrofa: got it, will create a trusty lxd ;-)20:12
kyrofaverterok, that's what I do as well :)20:12
verterokor just create a 16.04 snap vm20:13
kyrofaverterok, good luck, and I'm sorry about that! We're trying to clean up the docs now20:13
verteroknp, just trying to get my first snap working20:13
kyrofaverterok, that works too, images here: http://people.canonical.com/~mvo/all-snaps/20:13
verterokthanks20:14
sergiusensogra_, is this a correct path /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 ? fwiw I can't x-compile upstream busybox :-)21:30
sergiusensor asked differently, is this sort of the same issue you saw when doing the generic initrd work?21:30
kyrofasergiusens, strip cleaning: https://github.com/ubuntu-core/snapcraft/pull/38222:37
leftyfbwill snappy run on the rpi3?23:07
sergiusenskyrofa, looking23:18
sergiusensleftyfb, not yet23:20
leftyfbsergiusens: will it run on it or is it just "unsupported"? Is it the kernel that lacks something for the new arm8?23:20
sergiusensleftyfb, it will not run yet; afaik we are waiting on broadcom to release their bootloader bits23:21
sergiusensbut I haven't been paying attention23:21
sergiusensit's all about the dragonboard for me now :-)23:21
sergiusenskyrofa, do you know how to regenerate the PR view? I don't want to see code I already saw :-)23:23
leftyfbsergiusens: https://mailman.owncloud.org/pipermail/devel/2016-March/002273.html ?23:24
leftyfbhttps://mailman.owncloud.org/pipermail/devel/2016-March/002273.html23:25
leftyfboh, pi223:25
leftyfbnevermind :)23:25
leftyfbthough according to this https://owncloud.org/blog/wd-labs-raspberry-pi-owncloud-and-ubuntu/ it looks like you can build your own 16.04 snap23:26
sergiusensleftyfb, still pi223:26

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!