[00:21] popey, I'd log them against snappy [01:02] kyrofa, so when you rebased you missed a fetch ;-) [01:02] no worries :-) [01:03] cherry-picking ftw [01:56] elopio, you around? [04:59] jdstrand: lxd 2.0 rc7 is awaiting review in the store (maybe the last rc before final 2.0, one can hope :)) [06:42] good morning [06:52] good morning dholbach! [06:53] salut didrocks [07:31] hey davidcalle [07:42] dholbach: hey o/ Good weekend? [07:44] davidcalle, yep, very much so - how was yours? [07:45] dholbach: great :) [07:47] dholbach: finishing my upgrade and trying to reproduce the issue with the snap [07:48] ok cool [08:08] good morning [08:20] dholbach: resolved by making the launcher executable :) [08:20] haha [08:20] nice one [08:20] * dholbach hugs davidcalle [08:33] https://bugs.launchpad.net/snappy/+bug/1563223 [08:33] Launchpad bug 1563223 in Snappy "Some standard updates break on classic, breaking snapcraft" [Undecided,New] [08:33] dholbach: ^ this kinda blocks me using snapcraft in classic on my pi [08:34] mvo, ^ have you seen anything like this before? [08:51] dholbach: I have not seen this, no, sorry, need to debug (trying to reproduce first) === Marin is now known as Guest38540 [09:10] Hey guys. Anybody using snappy with Beaglebone Black [09:11] ?? === chihchun_afk is now known as chihchun [10:46] davidcalle, shall we catch up in a bit? [10:46] dholbach: sure, but we can do a quick one now if you want/have time [10:47] yep. let's do it [10:47] +1 [10:51] ppisati, could you take a look at bug 1561920 ... that seems to actually be a kernel issue [10:51] bug 1561920 in Snappy "Seccomp error on recent builds of snappy" [Critical,Confirmed] https://launchpad.net/bugs/1561920 [10:52] ppisati, i also see permission denied errors when simply running dmesg as a normal user [10:52] (probably related) [10:58] ogra_: me looking [10:58] thanks :) [11:09] win 12 [11:09] oops [11:10] lose 3, keep 9 [11:20] mvo: a dist-upgrade of the snappy classic install should be enough to reproduce it [11:25] Hello everyone [11:27] Just a short question is it necessary to do first a snapcraft clean and then snapcraft snap or is it good enough to do only the snapcraft snap? [11:41] apw, any idea whats holding back https://launchpad.net/ubuntu/+source/linux-raspi2/4.4.0-1005.6 ? [11:41] noizer: from my experience, it depends which changes you have made. I've found it quite useful (and faster) to clean a specific part I've changed (eg. snapcraft clean ;snapcraft snap) [11:43] oooh ok nicee [11:43] davidcalle: didn't knew that you can clean only one part :p [11:44] noizer: discovered it this morning ;) [11:44] davidcalle: heheh xD === chihchun is now known as chihchun_afk [12:05] hrm [12:05] ubuntu@localhost:~$ ls -l /etc/network/interfaces.d/ [12:05] total 8 [12:05] -rw-r--r-- 1 root root 64 Mar 28 09:23 50-cloud-init.cfg [12:05] -rw-r--r-- 1 root root 40 Mar 28 09:19 eth0 [12:08] so thats why i have no more network at all then [12:12] stgraber: done [12:13] dholbach: when using snapcraft, I have an app which has pre-requisites which need pulling and building. I can use after:, and it pulls and builds them fine, but I need to set --prefix to where the main package is being built. Is there some env var for the build dir in snapcraft, so i can install them there? [12:14] popey: use DESTDIR [12:14] popey: prefix is irrelevant [12:14] popey: but snapcrat will give you a DESTDIR to instal to [12:14] popey: thanks, I have not managed to find time yet but I put it on my list of things to look at [12:15] zyga: hey, so, a few of my PRs for the security interfaces landed, but most didn't. says there were failures witn 'integration tests', but when I click on the link to see the test result, it just spins and never shows me anything [12:15] jdstrand: that's VPN for you, you have to be connected to see jenkins [12:15] jdstrand: (hi btw) [12:15] ah [12:16] zyga: ok, well, now I get a 404 :) [12:16] https://github.com/ubuntu-core/snappy/pull/723 [12:18] jdstrand: I reviewed a few of your branches, my suggestion would be to keep a few open and merge/rebase the rest so that it's easier to land them [12:18] jdstrand: or try to not make them co-depend on each other [12:18] jdstrand: well, jenkins ... reliable as usual [12:18] zyga: got an example? [12:19] zyga: they have to co-depend on each other the way all* are written [12:19] jdstrand: yeah, I know [12:19] jdstrand: example of ... ? [12:19] I mean, I guess I can have them all be separate and add all at the end, but that is not what you said you wanted [12:19] zyga: i need to install the libs so the subsequent build finds them [12:19] jdstrand: right, I know, perhaps it'd be easier if we didn't [12:20] * jdstrand redoes all the PRs [12:20] popey: in the sname part? [12:20] jdstrand: hmm, perhaps ask gustavo on telegram [12:20] oh, these should be separate parts [12:20] jdstrand: he said he'll look at your branches [12:20] oh, they are... [12:20] jdstrand: and we can always review individual patches [12:20] popey: separate parts can use typical stuff, e..g. pkg-config [12:21] popey: I don't think snapcraft gives you a way to do cross-part directory inspection easily [12:21] zyga: http://paste.ubuntu.com/15551251 this is what I have so far [12:21] but don't quote me on that [12:21] popey: that looks sane, I suspect you may want to ask sergiusens how to make it work while still looking pretty [12:26] zyga: is there some way to specify the build dependencies in the snapcraft yaml? [12:26] popey: yes, sure [12:26] oh my gosh [12:26] popey: build-packages or something like that (on each part) [12:26] * popey googles [12:27] ta [12:27] popey: I don't remember, I always check the source [12:27] heh [12:27] popey: googling is not useful IMHO [12:27] popey: docs are old or useless [12:27] tg is saying over and over 'Error: one of the params is missing or invalid' [12:27] what param? /me is just trying to send a message [12:28] jdstrand: https://github.com/ubuntu-core/snappy/pull/744 (for later) [12:28] jdstrand: I'm iterating over feedback that gustavo left earlier today [12:34] zyga, popey jdstrand `snapcraft help plugins` (and the reason I'm doing a pseudo rtfm is because I want feedback :-) ) [12:35] sergiusens: I know about that but it's always insufficient (could have been improved since I last looked) [12:35] sergiusens: I'd personally prefer a man page that mentions that [12:35] sergiusens: or other well-known way to discover this [12:35] sergiusens: thanks [12:35] sergiusens: but I'm skewed already and I always read the source for up-to-date knowledge about each plugin [12:35] sergiusens: is qmake on your list of plugins to make sometime? [12:36] or some other way I can inject a "qmake" call before "make" using the make plugin? [12:36] popey, yeah, we will make a qmake one; but we are working on foundation stuff right now [12:36] no workaround for now? [12:37] * zyga recalls qmake sucking for not having standardized DESTDIR [12:37] popey, in your project dir cp cmake.py -> parts/plugins/x-qmake.py [12:37] and edit x-qmake.py to your liking (changing the cmake calls for qmake ones) [12:37] sergiusens: imho, strip feels like a weird name for that step. I understand why-- you are taking away stuff from staging, but you are also adding meta. 2 cents [12:38] and in snapcraft.yaml specify 'plugin: qmake' [12:38] project dir? [12:38] popey, your project dir == where snapcraft.yaml is [12:39] ah [12:41] sergiusens: I think this is quite handy. I would be even more so if there was an example that used each that you then tersely explained [12:46] jdstrand, thanks for the tip; I think we can add individual topics for each of the keywords [12:47] sergiusens: you could go that way, which would be handy, or(/and?) add a 'Putting it all together' section that has a larger example and how they all relate to each other, the timing of things, etc [12:49] sounds good [12:49] sergiusens: the nodejs plugin seems to assume the thing I want is in npm.. what if it's something that's on github? the nodejs plugin doesn't support source: ? [12:49] popey, it does support source === inaddy_ is now known as inaddy [12:49] "no handler to manage source" is what i guet [12:50] popey, https://github.com/ubuntu-core/snapcraft/tree/master/examples/webchat [12:50] *get [12:50] * popey looks [12:50] popey, really? [12:51] ah, your source is in current dir [12:51] I'm trying to get it to grab from github for me, I'll do your way [12:52] popey, you can do it your way too [12:52] wonder why it fails here [12:52] popey, use source and "source-type: git" [12:52] ahhh [12:52] doh [12:52] ta [12:53] or use the git uri instead of https [12:53] building \o/ [12:53] thanks sergiusens [12:53] sorry for the newb questions :) [12:53] \o/ [12:53] this is all a new adventure for me ㋛ [12:53] and dont use any left padding ;) [12:53] popey, all good, if anything feels confusing a bug report is always welcome :-) [12:54] holy freole, it built [12:55] popey, making it work is the hard part ;-) [12:56] popey, node projects use the source dir as the place to land config [12:57] popey, shout irc was sort of sane and had a flag to tell it where to store config [12:58] mvo, where do we stand with the release, it would be really helpful to finally have an all-snaps beta image at some point [12:58] (o5r even alpha) [12:59] olli: fyi, bug #1562989 is fixed. upgrade to ubuntu-core-launcher 1.0.22 and ubuntu-clock-app.clock starts again [12:59] bug 1562989 in ubuntu-core-launcher (Ubuntu) "'aa_change_onexec failed with -1. errmsg: Permission denied'" [Critical,Fix released] https://launchpad.net/bugs/1562989 [13:00] sergiusens: yeah, this is gonna be tricky I imagine. [13:00] jdstrand, most awesome! [13:00] popey, just patches upstream :-) [13:01] kyrofa, btw, did you see my comments, we need to sync [13:11] sigh [13:11] ubuntu@localhost:~$ snap find [13:11] error: cannot list snaps: cannot communicate with server: Get http://localhost/2.0/snaps?sources=store: dial unix /run/snapd.socket: connect: no such file or directory [13:13] aha ... a manual "sudo systemctl start ubuntu-snappy.snapd" fixes it [13:30] Good morning [13:32] kyrofa, hey! [13:33] sergiusens, sorry, family is sick, just got in. You're right, looks like I was still out of date on that branch :P [13:33] sergiusens, fixing now [13:38] good morning kyrofa, sergiusens :) [13:38] didrocks, good afternoon! [13:41] kyrofa, I squashed everything already; look at my comments in the PR though ;-) [13:42] kyrofa, unpacking stage-packages into a different dir than installdir taxes python again [13:42] sergiusens, ah, that explains the issues I'm having rebasing :P [13:43] Alright I haven't caught up on email yet-- going to the PR now [13:48] kyrofa, and no worries, my kid has some sort of a fever as well; I had a sleepless night again; it seems he is toothing [13:48] sergiusens, oh yes, that's a fun stage. The molars are the worst [13:49] kyrofa, for a minute I thought you were talking stage-packages and got all confused :-P [14:10] Apparently I don't get good wifi in that room. sergiusens you're right, the unpackdir isn't going to work. So I'm going to simply make the build cleaning smarter and unpack the debs again. Not ideal, but I think it's the only way to make this work correctly [14:12] kyrofa, yeah, that's what I wanted to sync on; so yeah, all good as I was thinking about double unpack [14:12] sergiusens, easy, I'll get back to you [14:13] I'm going to add a good integration test for this as well, make sure this continues to work === kickinz1|eod is now known as kickinz1 [14:23] kyrofa: answering your ping from yesterday, I see no way of showing that the branch is not merged with master without making it required. [14:24] elopio, alright, thanks for getting back to me! [14:24] kyrofa: if we handle the merge on jenkins, we could do anything we want. But without nice buttons, just comments with the bot back and forth on the PR. [14:24] ogra_, mind looking at Jian LUO's email? [14:28] sergiusens, was there a new one (is my mailserver slow again ?) [14:28] i answered one on wednesday [14:29] ogra_, no did not see any reply from you, there is a new one from an hour or go or so [14:30] https://lists.ubuntu.com/archives/snappy-devel/2016-March/001645.html [14:31] just me whining though ... [14:31] here is the proper answer: https://lists.ubuntu.com/archives/snappy-devel/2016-March/001642.html [14:38] ricmm, mvo i filed bug 1563358 for one of you :) [14:38] bug 1563358 in Snappy "snappy can only handle one bootloader (if grub is installed, uboot is completely ignored)" [Undecided,New] https://launchpad.net/bugs/1563358 [14:39] (there was also the snappy list issue that falls apart if grub is installed on uboot systems, i sadly lost the logs for that one) [14:54] mvo: sergiusens: following your discussion about snapcraft build... Shouldn't we move all the snappy build unittests to snapcraft? [14:55] We can leave the build integration tests in snappy if snapcraft is installed in the os. [14:58] elopio, oh, certainly [14:58] it makes sense [14:58] but what weird build unit tests are there in snappy? [14:58] is there anything worth porting over? [15:00] sergiusens: both have great coverage, so most tests should overlap. But I am not sure, we should compare them. [15:02] elopio, want to take care of that? Not really do the work, just see if we are missing anything and add it to our suite [15:02] err, kyrofa or me can add it to our suite that is [15:03] Yeah, that makes sense [15:10] sergiusens, kyrofa: would it be worthwhile for me to add support for configflags for the make plugin? [15:13] josepht, just to add to the `make` invocation? [15:15] josepht, I would call the entry `make-parameters`; not a fan of the generic configflags name [15:15] josepht, and what kyrofa asked [15:20] Hi, I'm new here :) [15:21] Welcome Iot_developer [15:21] thanks [15:21] i'm developing IOT on BBB [15:22] and we have some problems wiht snappy [15:22] we build our app as a snapp [15:22] but we are not able to get bonescript working [15:23] doesnt that just need a working nodejs setup ? [15:23] snapcraft has a plugin for nodejs iirc [15:24] sergiusens: sure [15:24] we done that [15:25] node is working fine [15:25] sergiusens, is there a way to list the files that a specific snap has installed? [15:25] when we build app with bonescript our service is dead [15:26] ( ie. the equivelent to running dpkg -L )? [15:26] sergiusens, this is a separate bug I'll need to file, but cleaning the build step for python plugins doesn't work since it clears out the installdir which is written to in the pull step. Think it would work to do the pip stuff into another folder that can be copied into installdir on build? [15:26] when we build snap without bonescript module everything is working fine [15:27] fgimenez: can we skip la media hora de la calidad today? [15:27] WOAH ! [15:27] elopio, sure, no problem [15:27] * ogra_ just booted with "cloud-init=disabled" .... thats unbelivable fast !!! [15:30] elopio, i have a couple of prs for you to review, other than that i've been preparing the connection to practitest, it'll be ready tomorrow [15:30] fgimenez: I'll take a look at your profile and review them. [15:31] Iot_developer, theer should be info in the logfiles telling you why that happens [15:31] elopio, thx, i've been also debugging the integration test coverage generation error, something's wrong with the current production server, it works fine in an older one [15:34] ogra_, did you take care of password, ssh and all that mumbo jumbo? [15:34] sergiusens, i did set it after i had a firestboot done [15:35] so cloud-init still did set this up but doesnt run on subsequent boots [15:35] sergiusens, the cloud-init from the weekend completely broke outr boots [15:36] the logfile says that ( is missing, and we don't know what to do [15:36] looks like a syntax error in one of your files then [15:37] that is the problem, beacuse we run that program on ubuntu debian and everything works fine [15:46] rpi 3 installation is just installing the image on a sd card? [15:51] noizer, just dd it to the card, yeah [15:51] there migth still be issues and glitches, thats a very first shot [15:52] ogra_: Thx === shuduo-afk is now known as shuduo [16:07] sergiusens: kyrofa: there is no good way to rebase the branch before merging, because the plugin uses the github API and we only have the equivalent of the green merge button. [16:07] we could do it without the plugin all in bash, but it wouldn't be as nice. Anyway, it's ready if you want to try it. I can unprotect the branch now and you comment "merge this please" when you are happy. [16:08] jdstrand: hey [16:09] jdstrand: I think this is ready for another review https://github.com/ubuntu-core/snappy/pull/744 [16:09] elopio, kyrofa but without rebasing it feels weird [16:09] And it doesn't really chance anything, right? [16:09] change* [16:12] ack. it'll be a little bit [16:16] sergiusens: kyrofa: [16:16] sorry. [16:16] sergiusens: kyrofa: no, we still have to ask the author for a manual rebase. [16:17] and when he rebases, the tests will be triggered. So this will just slow down the merge by re-running the tests again. [16:18] I've asked the plugin author about adding rebase. I'll make a quick job with all manual, to see how it goes. [16:18] elopio, alright so using this can we leave the rebase requirement in place to merge with github but allow merging via jenkins in case there's something we know doesn't need a rebase? [16:18] If we remove the requirement there's no way to know if a rebase is needed without manual work [16:19] kyrofa: that would work only if the github protection is not at the API level, just on the GUI. Which I doubt, but have to try. [16:20] elopio, ahh, I see [16:20] Yeah I'm not sure it's worth it just yet, then [16:22] kyrofa: oh wait, I'm stupid. I can allow admins to ignore the required status checks. [16:23] elopio, ah! And not being up-to-date is a status check? [16:23] kyrofa: done. You can now click a red merge pull request button. [16:24] elopio, I don't see it-- though I'm not actually sure I'm an admin [16:25] kyrofa: right, you are not ^_^ [16:25] But that's exactly the kind of functionality I wanted! Good find :) [16:25] kyrofa: take a look now. [16:25] elopio, peeeerfect! [16:27] so I guess that if I make snappy-m-o admin, the jenkins plugin merge would work. Now I think it's not useful, but good to know. [16:33] elopio, yeah this is what I was hoping for :) . Thank you! [16:33] Following snappy tutorial on ubuntu dev site, but just get "Issues while validating snapcraft.yaml: The 'parts' property does not match the required schema: None is not of type 'object'" when running 'snapcraft stage'. Any idea where I'm going wrong? [16:35] AnInstanceOfMe, mind pasting your snapcraft.yaml on http://pastebin.ubuntu.com/ ? [16:35] AnInstanceOfMe, also, what version of Snapcraft are you using? [16:37] kyrofa: It's version 2.6.1 and I'm running on Ubuntu Mate 16.04 beta. The snapcraft.yaml is just the example on the Ubuntu dev site. [16:38] AnInstanceOfMe, okay, which tutorial then? [16:38] https://developer.ubuntu.com/en/snappy/build-apps/your-first-snap/ [16:40] kyrofa: yes [16:40] sergiusens: make-parameters sounds fine to me :) [16:43] josepht, sure. And I agree, the name "configflags" makes sense for autotools and cmake, but not make. [16:44] AnInstanceOfMe, the tutorial works for me. So please paste your yaml === kickinz1 is now known as kickinz1|eod [17:00] kyrofa: Rebooted the machine and that issue is no more. Sorry for the bother. [17:01] AnInstanceOfMe, not a problem :) [17:03] popey, your system looks really odd [17:03] (snaps not removed on upgrade ... snaps that arent actually published installed etc) === chihchunl is now known as chihchun === ubott2 is now known as ubottu === FourDollars_ is now known as FourDollars === attente_ is now known as attente [17:25] ogra_: do you know if there are known problems with the dragonboard image? I am getting an error trying to boot it: [17:25] https://www.irccloud.com/pastebin/ptzM39TI/ [17:37] ogra_: it's edge === nessita__ is now known as nessita [17:45] elopio, what is this about ERROR: No artifacts found that match the file pattern "adt-run-output/binaries/*.deb". Configuration error? [17:45] elopio, in http://162.213.35.179:8080/job/github-snapcraft-autopkgtest-cloud/296/console [17:45] makes adt tests fail [17:50] sergiusens: let me fix that [17:51] elopio, I think I made a mistake in that process as well :-/ [17:51] elopio, you will see [17:54] sergiusens: I don't see it. [17:55] It's fixed, but I'm running the job to confirm. I forgot to add the -o parameter. [17:56] elopio: will that make my branch pass again? :) [17:57] joc_: yes, that's the same error you got on your last run. [17:57] however... [17:57] we have a new one: [17:57] The following packages have unmet dependencies: [17:57] linux-generic : Depends: linux-image-generic (= 4.4.0.16.17) but it is not going to be installed [17:57] Depends: linux-headers-generic (= 4.4.0.16.17) but 4.4.0.15.16 is to be installed [17:58] :/ [17:58] let me see how to fix that. [17:58] elopio, you don't see it; I'll share it privately [18:02] that error is on the cloud image that autopkgtest uses. Not much I can do for it. [18:02] I suppose it needs to be refreshed, somehow. [18:06] sergiusens, alright I remember the insidious problem with simply unpacking again in build(), but I think I have a rather elegant solution [18:07] elopio, smells like you are enabling proposed [18:08] (thats a typical out-of-sync breakage of a half migrated package) [18:09] (you will see tha every now and then in -propoased, pretty normal) [18:10] sergiusens, I just pushed up a new commit to my branch, which is up-to-date with yours [18:12] kyrofa, \o/ [18:13] sergiusens, agh, wait I broke a few tests. Hold on a sec [18:14] (just log messages) [18:17] ogra_: not me. Maybe the image has proposed enabled. But we are just copying what they do on the distro, so everything should be failing now. [18:17] elopio, well, linux-generic just migrated [18:20] right, just bad timing [18:20] it's running now. [18:21] thats why i'm so critical about using -proposed ... it simply isnt reliable [18:21] you will have failures every now and then [18:28] ogra_: please help me going again through the snappy release process. [18:28] so, we put every day a deb build from the branch into xenial-proposed. [18:28] we generate a ubuntu-core snap using proposed as the source and put it into edge. [18:28] we test, test, test, and when we are happy to get it into stable, we move snappy and all it's dependencies from proposed to the archive. [18:28] then we regenerate the snap without using proposed, and put it into stable. [18:28] sergiusens, NOW it's all good [18:28] is that right or am I missing something important? [18:28] elopio, we generate all kernel and os snaps on cdimage [18:28] elopio, i'm still working on auto-submission to the sotre for these daily builds [18:29] (just got disctracted by researching all the newly introduced cloud-init breakage today) [18:29] ogra_: we can submit the snaps to the store on jenkins. I'm not sure if that would make your life easier. [18:29] elopio, i cant tell yet how tht will look in the store, but i was hoping that we can auto-publish the auto-uploaded snaps to edge [18:30] so you could roll edge images and teste them ... if they are good you can promote the snaps to the stable channel in the store [18:31] elopio, well, can you watch http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/ (for changed MD5SUM file or some such) and pull from there with jenkins ? [18:31] as soon as there are updated snaps showing up ... [18:31] ogra_: yes. We put a listener on that url and any changes will trigger a job. [18:31] that way would indeed work too [18:32] and save me from hacking snap uploading into our 12.04 cdimage server :) [18:32] on the job I can put a snapcraft upload command with the credentials that we are storing in vault behind the vpn. [18:32] perfect [18:32] what we would be missing is the publish command, but vila told me he'll be working on that. [18:32] you will need some name mapping i guess though [18:33] i.e. xenial-preinstalled-core-armhf.raspi2.kernel.snap is in reality canonical-pi2-linux [18:34] that's easy. We make one job per snap, and hardcode the name change. [18:34] and xenial-preinstalled-core-arm64.dragonboard.kernel.snap ... canonical-snapdragon-linux [18:34] you could grab the name from inside the snap ... but i think thats overkill (the true name is in the snap.yaml indeed) [18:35] ogra_: I wonder if snapcraft is not doing that already. [18:35] elopio, for the name of the upload? [18:35] when uploading ? not sure ... it would either need to bind-mount the snap or extract the squashfs [18:36] anyway, I'll get to it tonight, give it a try uploading to my account and give you the code for the job to review. [18:36] i guess thats quite time and space consuming [18:36] elopio, it's parsing the in-tree yaml [18:36] yeah [18:36] there is no tree [18:37] its a binary snap ... the tree is long gone (an didnt exist on a machine that has outside world access) [18:37] ogra_, yeah snapcraft's upload is pretty tied into the build steps (e.g. if the snap doesn't exist it'll try to build it, etc) [18:37] but you can upload an existing snap ? [18:37] kyrofa: but if the snap exists, it will just upload it. I think. [18:38] if not, I can write the code for that. [18:38] (worst case we could loop/bind mount the snap and extract the snap.yaml from it though) [18:38] (assuming jenkins can mount stuff) [18:38] elopio, indeed, but it has to be named correctly (and it still needs the in-tree yaml). If we bind-mounted it and parsed the in-snap yaml, we could add a parameter for uploading any old snap [18:38] elopio, kyrofa here's a reading one in the meantime https://github.com/ubuntu-core/snapcraft/pull/409 [18:39] the naming wouldnt be the prob ... but the version would [18:39] so one way or the other we need to extract the snap.yaml [18:39] to get that info [18:39] the version is not important. The store assigns an increasing revision for each new version. [18:40] the version is part of the name [18:40] so to have the file named correcly you need to know the version that was used in the snap.yaml afaik [18:41] ogra_, unsquashfs -l [18:41] yeah, or loop mounting [18:42] `unsquashfs squashfs-root/meta/snap.yaml` to only get yaml [18:42] well, bottom line is that on jenkins can do anything. I will make a first version with the least ugly thing. [18:43] I think it would be nice for snapcraft upload to take an optional .snap argument. [18:43] and if there's no tree, unsquash. [18:43] yeah, especially since you only need the snap.yaml after all [18:45] elopio, agreed, and if we get the code to get the yaml out of the snap, don't use the in-tree yaml (since it could theoretically change) [18:46] sergiusens, btw, it would b nice if you could name your announcements a bit more careful in the future :) [18:46] "- support for building the os snap (from a directory)." [18:46] * ogra_ waits for all these people that create random busybox rootfses and throw them into the store now [18:47] (and file tons of bugs because snappy doesnt work :P ) [18:50] s/name/phrase/ [18:50] ogra_: so the dragonboard is known to be broken now? [18:50] kyrofa, I created a PR for easier review; added one comment [18:50] plars, mine works ... why do you think that ? [18:51] ogra_, oh; what happened? [18:51] ogra_: won't boot for me - elopio said it was broken for him when he tried it last too [18:51] ogra_: https://www.irccloud.com/pastebin/ptzM39TI/ [18:51] sergiusens, nothing, but "- support for building the os snap (from a directory)." soinds liek we are encouragin these rootstock users to roll their own rootfses [18:52] plars, using the right kernel ? [18:52] canonical-snapdragon-linux is the one you want [18:52] ogra_, oh, we allow that apparently; but it will never make it into the store ;-) [18:52] (we sadly cant delete old packages fromthe store) [18:52] ogra_, ask beuno to do it for you [18:53] ogra_: I'm using core rolling --kernel=canonical-dragon-linux.canonical --gadget=canonical-dragon.canonical --os=ubuntu-core.canonical --developer-mode --channel edge [18:53] plars, yeah, thats the old kernel .. i told elopio last week that he needs to use the new one ;) [18:53] ogra_: ah, ok what's the new magic? :) [18:53] i guess that drowned in a lot of other conversation about the new snaps [18:53] canonical-snapdragon-linux.canonical [18:54] ogra_: I'll give it a try, thanks! [18:54] as kernel [18:54] we have to update zyga's script. [18:54] or yu can just grab the snaps from http://cdimage.ubuntu.com/ubuntu-core/daily-preinstalled/current/ [18:54] (though the naming isnt matching) [18:56] ogra_: is the gadget still canonical-dragon.canonical? [18:56] yeah, that didnt change [18:56] someone uploaded a 4.4 package for canonical-dragon-linux though, i wonder where that comes from [18:56] https://github.com/zyga/devtools/pull/1 [18:57] * ogra_ really hates that we are all using the same account for uploading ... no way to figure out wwho did that upload now [18:58] anyway, off to the TV to watch germany lose vs italy [19:04] kyrofa, replied to all the comments; wrt stage-pkg you said tests were in order? [19:05] or is that not really needed [19:05] ? [19:05] ogra_, I've been complaining about the account issue for a while; but to be fair, we have the same problem with cdimage ;-) [19:06] sergiusens, it's less magical now, I actually don't think the integration test is needed [19:06] sergiusens, well, depends if you use cdimage the right way (for code changes there ar proper trees that keep your name) [19:07] but yeah, it is hard to tell who tiggered an image build [19:07] ogra_, true; so I bet whoever updated the gadget snap in the store did not update the bzr branch? [19:07] sergiusens, which gadget snap ? [19:08] ogra_, the dragonboard one, but now I see you mention a kernel snap ;-) [19:08] (pi2 might by my fault, i'm holding back the branch til ppisati and i found out whats the issue with the console) [19:08] yeah, dragonboard gadget hasnt changed in a while [19:09] i'll do a final upload before 16.04 (with a final checkout of the dragon uboot tree) ... but didnt plan to touch it til then [19:09] yay ... goal [19:09] ogra_: change the credentials, and start sharing the snap. [19:09] yay! [19:10] elopio, and it will then still be a .canonical one ? [19:10] ogra_: that's what I understood. [19:11] oh, neat ! [19:11] * ogra_ will look at that toorrow [19:12] I will give it a try, because now I'm not so sure it's not only for installing. [19:12] sergiusens: kyrofa: do you want to keep that comment by coveralls, or should I disable it? [19:20] elopio, yeah it doesn't add much since we can see it in the checks [19:22] sergiusens, done on the should_step_run refactor [19:28] kyrofa, \o/ [19:29] elopio, kyrofa I don't mind the email telling me everything is good though; but I won't miss it if it is gone either [19:32] sergiusens: i'd like to ask you about some snapcraft behaviour i've noticed recently when testing the plugin i'm trying to land for plainbox [19:33] kyrofa, you inspired me to a small refactor (but different branch) [19:33] sergiusens, hahaha [19:33] sergiusens: i've noticed that if my part has some stage-packages the sys.path in which my manage.py script is run is different [19:35] sergiusens: if there are stage-packages defined sys.path seems to search for modules in parts/part-name/install/.. [19:35] otherwise the sys.path is looking in locations in stage/.. [19:36] sergiusens: whats the reason for this? [19:42] joc_, I'd have to look, maybe kyrofa know right off the bat [19:43] a small snapcraft.yaml would be easier to follow [19:44] ok, will try and come up with something [19:50] joc_, only the python plugins touch the PYTHONPATH [19:51] kyrofa: none of the parts in my yaml are using python plugins [19:52] kyrofa: just this plugin https://github.com/jocave/snapcraft/blob/plainbox-provider-plugin/snapcraft/plugins/plainbox_provider.py [19:53] kyrofa: i have been printing sys.path in manage.py (called in build function) to debug some failures of that script [19:54] it seems to change depending on presence of stage-packages on the part [20:09] hi, could someone explain to me the difference between /usr/bin/snap and /usr/bin/snappy? [20:22] attente: /usr/bin/snap will be the main command in 16.04, /usr/bin/snappy is going away but the move isn't quite complete, they have somewhat different syntax for some things, and snap does most things through the snappy daemon (snapd), while snappy was doing them directly [20:23] pedronis: great, thanks for the clear explanation [20:24] elopio, mind testing this on armhf now https://github.com/ubuntu-core/snapcraft/pull/335 ? [20:25] joc_, kyrofa it changes becase if you add stage-packages that have a hint of python in it, it will be the prefered interpreter [20:26] sergiusens, how? [20:26] the one that ends up in `stage` (or soon in `install` for the part if in the same part) [20:26] kyrofa, say you use this plugin https://github.com/jocave/snapcraft/blob/plainbox-provider-plugin/snapcraft/plugins/plainbox_provider.py [20:27] kyrofa, no stage-packages at all; that plugin will use the system plugin just fine [20:27] kyrofa, now add a stage-package that depends on python3 you end up getting `stage/usr/bin/python3` [20:28] kyrofa, I guess sys.path is dynamically set [20:28] sergiusens, but what part of the code changes... ah [20:28] sergiusens, because I didn't see anything in snapcraft itself that changes sys.path or PYTHONPATH to look in the stage directory [20:29] kyrofa, we change sys.path iirc but to run from source [20:29] sergiusens, indeed [20:30] sergiusens, and to find local plugins. That's it