/srv/irclogs.ubuntu.com/2016/04/05/#snappy.txt

mhall119sergiusens: blame Linus :)00:47
sergiusensmhall119, I can ask Dirk; I have some minor contributions to subsurface ;-)00:49
sergiusensif anything they will save bandwidth ;-)00:50
mhall119sergiusens: I may trouble you for help in the near future then :)00:53
mhall119well, I almost certainly will trouble you for help, but it *may* be about subsurface00:53
mhall119[ 83%] Linking CXX shared library libssrfmarblewidget.so00:55
mhall119[ 83%] Built target ssrfmarblewidget00:55
mhall119Makefile:160: recipe for target 'all' failed00:55
mhall119make: *** [all] Error 200:55
mhall119Command '['/bin/sh', '/tmp/tmpiqorb2d5', 'make', '-j4']' returned non-00:55
mhall119zero exit status 200:55
mhall119darn, I thought I was getting close00:55
=== shuduo_ is now known as shuduo
thomas25Hi08:25
thomas25Last weeek end I was attending a conference in Lyon about snappy (given by didrocks) and I have a question I did not think about.08:28
thomas25You are using squashfs to store the "snaps" but it is a read only fs, however you are also ablo to rollback the data.08:29
thomas25So how do you store the data in the snaps ?08:30
didrocksthomas25: hey! we don't store the data themselves in snaps, only the executables code+assets08:31
didrocksthomas25: the data are just traditional file in a writable subdirectory08:31
didrocksand we have a "current" pointer to know to which folder to point at08:32
thomas25So you juste copy the data when you update the snaps ?08:32
thomas25It means that a developer which package an app need to give all the data files present in its snap ?08:34
didrocksthomas25: hardlinks (just need to recheck this though)08:34
didrocksthomas25: no, this is the data that the snap is writing, not the assets08:34
didrocksthe assets is part of the code, and normally, not changed by the app08:34
didrocksso this is part of the .snap file08:35
didrocks(as they live on a traditional system in /usr/share for instance)08:35
thomas25okay08:35
thomas25Thanks for your quick answer and for the great conf last week end.08:37
didrocksthomas25: with pleasure! Do not hesitate to come by if you have any other questions :)08:38
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
shuduohello, may i know if snap store still accept new snap for 15.04?11:37
zygashuduo: I think it should but I haven't checked11:41
zygashuduo: give it a try?11:42
shuduozyga: i submitted a snap built on 15.04 then be rejected by review tool. i guess only new version snapcraft will warn me. the fail msg is "Unexpected output from click-review."11:47
zygaI don't know what's the cause of that11:47
shuduozyga: I see different set of snaps on store from 1504 snappy system and 1604. so if someone want to submit his/her app to both he/she should build twice and submit twice. right?11:50
shuduoas 16 is under developent but i need show something with 1504, so i have to submit my app to store for 1504. even the store still accept it, i have to build it by 2.x snapcraft to make sure no warning and will not be rejected by store.11:53
zygashuduo: I believe so11:54
zygashuduo: snapcraft 2.x only works for 16.0411:54
zygashuduo: for 15.04 you have to use snapcraft 1.x11:54
shuduozyga: yes, i understood it.11:54
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
sergiusensdholbach, hey, anything we can do about https://bugs.launchpad.net/snapcraft/+bug/1558296 ?12:02
ubottuLaunchpad bug 1558296 in Ubuntu Developer Portal "snappy build-apps broken link to devel ref page" [Medium,Confirmed]12:02
dholbachsergiusens, I thought anyone of you would add their opinion to it?12:02
sergiusensdholbach, is it generated from one of our MD files?12:03
sergiusenskyrofa, is this still valid https://bugs.launchpad.net/snapcraft/+bug/1532515 ?12:04
ubottuLaunchpad bug 1532515 in Snapcraft trunk "Copy plugin doesn't copy symlinks" [Low,In progress]12:04
kyrofasergiusens, yes. I finally closed the PR as the discussion wasn't progressing12:04
kyrofasergiusens, I think we have a good solution for it though. Just need to do it12:05
kyrofasergiusens, oh wait12:05
dholbachsergiusens, https://github.com/ubuntu-core/snapcraft/blob/master/docs/intro.md12:06
kyrofasergiusens, that may have been solved my the most recent copy plugin change12:07
kyrofasergiusens, let me test real quick12:07
sergiusenskyrofa, yeah, that's why I ask; maybe a PR with a test is enough ;-)12:08
sergiusensdholbach, ic, thanks12:08
kyrofasergiusens, yeah I haven't had my coffee yet12:09
didrockshey kyrofa, sergiusens :)12:11
sergiusenshey12:11
didrockshum, seems files: is still required? wasn't my argument good enough yesterday?12:12
didrocks(well, that can be enhanced later on, but I think there is a good use of having a consistent behavior by making it optional)12:13
jdstrandzyga: hi! did you say that the udev branch landed or it is ready to landed? I ask because, well, I wanted to take a look but I also wanted to make sure of a couple of things, like the former oem assign (from oem.go) was preserved and that the lenient apparmor rules were conditionally applied only when hardware is assigned12:21
sergiusensdidrocks, I convince kyrofa to go the other way12:21
zygajdstrand: it has landed12:21
zygajdstrand: if you want to change it, go ahead12:21
zygajdstrand: note that hw-assign is gone (as soon as we land install with --developer-mode)12:22
zygajdstrand: so many things get simplified12:22
zygajdstrand: I'm working on install support and auto connect12:22
zygajdstrand: I'll ask you to review a small/boring branch that adds auto-connect flag to some interfaces12:23
jdstrandzyga: well... I don't think I'm the right person to implement oem assign (ie, where the gadget snap does assignments for things that match stuff like idVendor, etc, and the udev interface is going to need to add an apparmor snippet12:23
zygajdstrand: I also created https://github.com/ubuntu-core/snappy/pull/785/files12:23
zygajdstrand: oem assign -> post 16.0412:23
zygajdstrand: current oem assign is gone12:23
zygajdstrand: kernel/gadget snap is specced for post 16.0412:23
jdstrandzyga: oem assign is going to be needed for GA though, no?12:23
zygajdstrand: yes12:24
zygajdstrand: but perhaps as a different thing12:24
jdstrandok, that's fine12:24
zygajdstrand: I suspect it will be a way for the gadget snap to pre-connect stuff12:24
jdstrandzyga: but hardware assignment still won't work with what you landed unless you already realized you had to add general apparmor rules when applying udev rules12:24
zygajdstrand: hw assign is removed too12:25
zygajdstrand: the replacement is developer mode and working on a new interface12:25
jdstrandwhatever its called doesn't matter12:25
zygait's not abou the name, we remove the functionality entirely12:25
jdstrandthe point I'm making is that what is using the udev backend won't work12:26
zygaso anything that used to be related to hw-assign is gone12:26
jdstrandbecause apparmor will continue to block it12:26
zygaah, I see12:26
zygaI think we can ignore that and solve it with the first udev-using interface12:26
zygajdstrand: this week will be filled with more removals12:27
didrockssergiusens: mind if we discuss that during our standup?12:30
didrockssergiusens: I really think this just makes it verbose for no good reason (but again, we can change it later on, as it would be backward compatible anyway)12:30
jdstrandzyga: ok, so it sounds like anything resemblinb hw-assign is gone forever, therefore you would never have a udev interface without a corresponding apparmor snippet. that makes sense (though it is very limiting while interfaces are being bootstrapped)12:31
didrockssergiusens: or beforehand otherwise :)12:31
zygayes12:31
zygajdstrand: yes, I think that's exactly true12:31
zygajdstrand: hence the change will happen with --developer mode12:31
zygajdstrand: I think for that we should let the launcher not create a device cgroup12:31
jdstrandzyga: I don't understand what you mean by ghat12:31
zygajdstrand: so "everything is allowed"12:31
jdstrandyeah, sure, that's fine12:32
zygajdstrand: ah, sorry, yes this limits usability while interfaces are being boostrapped but our idea is to use developer mode as a replacement12:32
zygajdstrand: so that in developer mode you can really access anything you like12:32
zygajdstrand: and steer towards creating proper interfaces12:32
jdstrandcause cgroups don't log denials (it is just a DAC issue) and there is no complain mode12:32
zygajdstrand: yes, that's true12:33
zygajdstrand: I think it will be better than nothing still12:33
jdstrandwhat I'm saying is no cgroups in developer mode is just fine12:33
zygajdstrand: and note that hw-assign can come back12:33
zygajdstrand: as an interface12:33
zygajdstrand: likely after 16.04 when hooks are back12:33
zygajdstrand: (or some simple state can be kept)12:33
jdstrandwell, hw-assign in some future interation of gadget assign for GA I suspect is going to have some interplay with the apparmor issue I just mentioned12:34
zygajdstrand: (I'd like to createa dir-assign interface that lets users create slices of $HOME for specific needs)12:34
jdstrands/of gadget/or gadget/12:34
zygajdstrand: (and hand those out to apps)12:34
zygajdstrand: hw-assign is _gone_ even for GA12:34
jdstrandI understand that12:34
zygajdstrand: for GA we'll work with interfaces and setting up auto-connections12:34
jdstrandyou said "and note that hw-assign can come back"12:34
zygajdstrand: so whatever issues are ahead will be solved in an uniform way, not specific to hw-assign replacement12:35
zygajdstrand: I meant that the functionality can come back as a simple interface12:35
jdstrandI knew what you meant12:35
zygajdstrand: and as you said we can then marry apparmor and udev12:35
zygajdstrand: sorry, I'm confusing today :-)12:35
zygajdstrand: I think we are good for 16.04 and we have a plan for a plan for GA12:36
jdstrandI'm saying that simple udev matching as happens with current oem assign that is presumably going to be a part of GA gadget assign will have to deal with the apparmor issue I mentioned. whatever some future hw-assign looks like could also depending on how it is implemented12:36
jdstrandanyway, this was meant to call out the issue that udev alone won't work12:37
jdstrandnot be an argument or prolonged discussion :)12:37
zygajdstrand: sorry I understand what you mean now12:37
zygajdstrand: I think I've seen a variant of this while working on a i2c interface locally12:37
jdstrandyeah12:37
zygajdstrand: where I also used two subsystems to get it to work (udev and apparmor)12:37
jdstrandcause things go hooping around in /sys/devices after they get the device in /dev12:38
zygajdstrand: I think over time our snippet-based approach might evolve to make some things like that easier12:38
jdstrandhopping*12:38
zygabut that's something post 16.0412:38
sergiusensdidrocks, sure, the only reason I said no to it was because it made things harder to explain to people; did I mention I hate the copy plugin? :-)12:39
jdstrandso *if* hw-assign and oem-assign are gone, then is no issue (other than them being gone and not replced yet)12:39
* sergiusens goes out to run some errands12:39
jdstrandzyga: as for dir-assign-- yes, we totally need that for sdoc12:39
didrockssergiusens: heh, yeah, you do :) however, with the current behavior and no filtering, depending on when you run snapcraft (after a first build or other parts are pulled), we may end up with other results12:39
zygajdstrand: what is sdoc?12:39
didrockssergiusens: anyway, yeah, if we change that later on, this will be backward compatible, so good :)12:40
jdstrandzyga: at one point we said there would be a home-hidden interface that you'd set a property on (or whatever the term is) the interface to specify the directory. is that now a general purpose dir-assign?12:42
zygajdstrand: there was no bigger discussion on that that I'm aware of; dir-assign is just something I was thinking about as a cool and useful interface12:43
zygajdstrand: as a way to let a snap consume HOME and produce slices of home as separate interfaces12:43
zygajdstrand: and as a nice way to introduce more features (hook-based plugs/slots)12:44
zygajdstrand: it has many parallels to device discovery but is easier to work with (not hardware)12:44
jdstrandok, well as we decided last week, the security team would like to see branches to interfaces and changes to security policy whenever they are proposed12:45
zygajdstrand: noted and understood12:45
jdstrandzyga: I look forward to the connecting stuff landing-- I'll let you work on it now12:46
ogra_mvo_, you didnt merge all-snaps along the way to support the new adb in u-d-f `12:47
ogra_?12:47
mvo_ogra_: no, support for bulding core images is temporarly removed until the final format of kernel and gadget snap is decided upon. plus the model-assertions work is pending12:48
ogra_you are aware that we need to SRU even livecd-rootfs after release day to have the changes for the snaps we build ?12:49
* ogra_ would really like to have some kind of working state before release12:49
ogra_or do you expect it to be "all-done" before ?12:50
shuduois there a workable example snap consuming docker just like old version owncloud snap?12:56
ogra_hrm13:00
ogra_ubuntu@localhost:~$ snap find13:00
ogra_error: cannot list snaps: cannot communicate with server: Get http://localhost/v2/snaps?sources=store: dial unix /run/snapd.socket: connect: no such file or directory13:00
ogra_(yesterdays ubuntu-core snap ... that used to work before)13:00
ogra_seems like snapd isnt coming up on boot anymore13:06
ogra_works after "systemctl start ubuntu-snappy.snapd"13:08
ogra_mvo_, did you upload a new ubuntu-core to the store today ?13:18
ogra_(seems whoever did that forgot armhf)13:19
=== chihchunl is now known as chihchun
=== robert-ma_ is now known as robert-ma
=== xnox_ is now known as xnox
=== not_phunyguy is now known as phunyguy
=== cprov_ is now known as cprov
=== clemensv_ is now known as clemensv
=== inaddy_ is now known as inaddy
shuduokyrofa: hello, do you know if there is a workable example snap consuming docker just like old version owncloud snap? I notice you are author of new owncloud snap but seems it does not consume docker.13:25
kyrofashuduo, not that I know of. Indeed, the new ownCloud is native13:25
ogra_yeah, that would just be a massive waste of resources :)13:25
ogra_but i would assume docker still works the same ... so grabbing the old owncloud from 15.04 might be enough to find the docker bits you need in it13:26
shuduokyrofa, ogra_ i have a customer use a close-source legacy software which run well with classic ubuntu 14.04. so seems only docker is solution to move to snappy.13:27
shuduoogra_: old owncloud is designed to be built by "snappy build".13:27
ogra_i'm bnot talking about the snappy side :)13:27
kyrofaogra_, I actually imagine docker is broken due to interfaces13:27
ogra_might be13:28
=== mjl_ is now known as mjl
ogra_but i assume the scripts you will need to set up the container and all that should still be the same13:28
kyrofashuduo, what makes you say that docker is the only solution? Just because it's closed-source?13:29
ogra_so starting with an unconfined snap that consumes docker should work ... and then you slowly port over to interfaces once they are 100% done13:29
shuduokyrofa: yes, i think so. or maybe lxd works too13:29
kyrofashuduo, depending on how it works in the confined environment there's nothing stopping you from still snapping it13:30
shuduokyrofa: so i can use snapcraft to copy exist legacy binary with rootfs in place then run a script to run docker with a rootfs?13:32
kyrofashuduo, you can use snapcraft to copy the binaries into a snap and potentially run _without_ docker13:32
rajenHi, I am not able to build a snap due to download error. http://pastebin.ubuntu.com/15629597/ Any clue what is going on?13:33
ogra_unless there are hardcoded versioned dependencies :)13:33
shuduokyrofa: yes, if it has no dependencies. :)13:33
ogra_rajen, what is build_snap.sh ?13:34
kyrofashuduo, you can pull in .debs and whatnot and LD_LIBRARY_PATH will be setup for you-- not gonna work you think?13:34
rajenit is our wrapper around "snapcraft snap"13:34
kyrofashuduo, I just think you'll run into some pain using docker in 16.04 right now is all. And I haven't heard anything that makes what you're discussing sound like it really needs it13:35
ogra_sergiusens, ^^ do we use the hosts package lists ?13:35
ogra_(looks like an "apt update" is missing there13:35
ogra_)13:35
shuduokyrofa: it's a single prebuilt binary executive. not a deb.13:35
kyrofashuduo, I mean for its dependencies13:35
kyrofarajen, just gotta run again13:36
kyrofarajen, it's a temporary archive error13:36
rajenI have been running it for the past 30min13:36
sergiusensogra_, not yet13:36
ogra_where does it get the "us." from ?13:36
kyrofaogra_, geo location on the ip13:37
ogra_inside snapcraft ?13:37
kyrofaogra_, yep13:37
ogra_wow .. any way to override that ?13:37
kyrofaogra_, no, but we have a bug for it13:37
ogra_heh13:37
rajen"/etc/apt/sources.list" also has it as us...13:38
kyrofaogra_, actually because of people hitting exactly that problem-- archive errors that don't go away for a while13:38
rajenBy the way even "apt update" fails.13:38
kyrofarajen, which makes sense if they're using the same archive13:38
ogra_kyrofa, yeah, i never use the german mirror on my dev machines (only on the stable ones)13:38
ogra_simply because it is always a few hours behind13:39
kyrofaYeah13:39
rajenSo..do you want me to wait for few hours till all the archives are synced across geo's?13:39
ogra_well, the hash sum mistmatch is happening if the publisher re-creates the sums on the server ... that usually takes only a few minutes13:40
sergiusensogra_, kyrofa 2.8 will use your hosts sources by default13:40
cjwatsonkyrofa,ogra_: proper fix for that should roll out today-ish13:46
ogra_yay13:46
beunoogra_, you are are  #3 of the devs with most uploaded apps in the store (phone & snappy)14:01
beunocongrats!14:01
ogra_oh, who are #1 and 2 ?14:02
* ogra_ guesses popey is one of them :)14:02
ogra_beuno, and thanks :)14:03
beunoogra_, if I tell you, I'd have to kill you.14:05
ogra_lol14:05
=== shuduo is now known as shuduo-afk
dduffeykyrofa, mvo_  so found the problem I was having building an image with ubuntu-device-flash, I was running it under a 16.04 lxc container and it didn't like that for some reason ... I ran it under a 16.04 KVM and the tool created an image14:30
kyrofadduffey, ah, yeah I've run into that as well14:30
dduffeykyrofa, ubuntu-device-flash was updated today in ~mvo, so you'll need to update the md514:30
kyrofadduffey, no idea why that happens14:31
kyrofadduffey, ah, zyga ^^ for your ubuntu-image script14:31
zygahmm14:31
zygadduffey: can you open a pull request please?14:31
dduffeymaybe lxc doesn't support kpartx / loopback devices and that is why it fails to run there?14:31
=== bregma_ is now known as bregma
zygamvo_: is the updated version the one without core support?14:32
dduffeyzyga, not a dev ... just play one on TV :/14:32
mvo_zyga: yes14:32
zygamvo_: ah, I see, thanks14:32
zygadduffey: so I guess for now we should not update14:32
zygadduffey: as that would entirely stop ubuntu-device-flash from working with snappy14:33
mvo_zyga: so the package in the archive removed support. however the version on people.c.c still has it14:33
zygamvo_: ah,14:33
zygamvo_: has that one (on p.c.c) been updated as well?14:33
zygamvo_: should I update ubuntu-image to use it?14:34
mvo_zyga: yes, some minutes ago, I'm doing some final testing14:34
mvo_zyga: yeah, I do some final testing now, but we need a new one because snappy is no longer compatible with the previous one (the removal of the developer from all paths)14:34
=== dpm is now known as dpm-afk
oparozHello, what's the path to the installed snaps from classic?14:53
=== zyga_ is now known as zyga
zygaoparoz: /snaps15:00
ogra_schnaps !15:01
oparozzyga: It doesn't exist15:01
oparozzyga: ls: cannot access '/snaps': No such file or directory15:01
ogra_yeah, i think there is an lxc container on classice where /snaps is15:02
oparozogra_: Maybe it's a bug that /snaps isn't mounted, but is there a way to manually mount it in classic?15:03
oparozogra_: Like mounting /dev/loopXX15:03
* ogra_ hanst dont anything with snappy on classic yet ... no idea, sorry15:04
ogra_*done15:04
=== kickinz1|eod is now known as kickinz1
sergiusensmvo_, or Chipaca` mind looking at bug #1566363 ? It looks unrelated to snapcraft but I'm not sure how this is possible at all15:06
ubottubug 1566363 in Snapcraft "snapcraft deb touches snap-package systemd files" [Undecided,New] https://launchpad.net/bugs/156636315:06
sergiusensdholbach, maybe you can explain this? ^15:08
dholbachwow, no idea15:08
elopiofgimenez: let's skip the meeting today. I wasn't productive yesterday, I'm running today :)15:14
fgimenezelopio, ok np, i've been revamping the snappy-jenkins' data-container branch, so much that now it doesn't even uses data containers :D15:15
elopio:D:D:D15:16
mvo_sergiusens: this looks like chad has etckeeper running?15:16
fgimenezelopio, this volume https://github.com/ubuntu-core/jenkins-ubuntu/blob/master/Dockerfile#L16 is enough for the purposes of the branch, it was there all the time15:16
mvo_sergiusens: it gets called automatically when apt runs dpkg via a apt/dpkg integration hook15:16
mvo_sergiusens: DPkg::Post-Invoke or Pre-Invoke15:17
fgimenezelopio, anyway i've taken the opportunity to write the backup/restore scripts and the needed code to allow the configuration from the image to overwrite the files from the instance15:18
fgimenezelopio, with this in place we only need the secrets branch, i hope that we'll redeploy tomorrow15:18
fgimenezelopio, today i'll try to finish the practitest requirements, with the previous changes it won't take too long15:20
elopiofgimenez: +1. sounds great.15:21
sergiusensmvo_, thanks15:22
didrockssergiusens: waow, the bot is more advanced that I was expecting! (j/k)15:26
morphis_sergiusens: was there a reason why snapcraft run was removed?15:38
sergiusensmorphis_, because `snappy try` was supposed to happen15:40
morphis_sergiusens: which didn't?15:41
ogra_morphis_, as usual :P15:44
ogra_but it will :)15:44
morphis_ogra_, sergiusens: I see :-)15:44
morphis_ogra_: as usual :-)15:44
ogra_:)15:44
qenghosergiusens: sorry about that bug report.16:01
sergiusensno worries16:02
rajenHi folks, I observed in latest ubuntu-core image that psuedo terminal behavior has changed. Inside our snap app we do an open /dev/ptmx and it in turn creates a /dev/pts/0  But in the latest image,  I don't see the /dev/pts/0 file. Any clue what has changed in recent times.16:14
=== kickinz1 is now known as kickinz1|eod
zygarajen: AFAIR that's been changed in ubuntu-core-launcher16:33
zygarajen: more security, I don't know16:33
zygarajen: ask jdstrand16:33
rajenokay will check with jdstrand16:34
=== dpm-afk is now known as dpm
nessitaelopio, hi! you around?17:39
oparozIs there a plugin which allows downloading a list of files from various sources? I don't want to have to create a part for each file17:42
elopionessita: hello!17:45
nessitaelopio, hi! I was chasing you for getting a green light on the latest changes we did for summary/description metadata field in the package index17:47
elopionessita: let me finish a couple of tasks, and I'll try uploads to staging. ~30 mins.17:48
nessitaelopio, great, thank you!17:48
zygaoparoz: can you just download a tarball?17:54
zygaoparoz: or stick those files into a git repo?17:54
oparozzyga: Not really, it's apps coming from various locations and I don't want to have to start maintaining a repo just to aggregate those apps17:56
zygaoparoz: when you say apps, what do you mean exactly?17:56
oparozzyga: It looks like I need to write a go or pything plugin to do that, but I'm wondering if there isn't a use case here17:56
oparozzyga: I'm talking about apps published here per example: https://apps.owncloud.com/17:56
jdstrandI talked to rajen in privmsg but will respond here for others17:56
jdstrandthis is a result of old-security/security-template going away and not being able to set confined17:57
jdstrandunconfined*17:57
zygaoparoz: how would those apps be consumed by users? as a part of an owncloud snap or as separate snaps?17:57
jdstrandso the default policy is being applied, which currently doesn't allow /dev/ptmx17:57
zygajdstrand: thanks for doing this17:58
jdstrandonce all the interfaces stuff lands, I have some tweaks to policy that are queued up17:58
jdstrandone is allowing /dev/ptmx by default now that we have a devpts newinstance and it is safe to do so17:58
zygajdstrand: you can make modifications to the security right now, interfaces/ is stable for 16 IMHO17:58
zygajdstrand: (except for more interfaces and misc changes to repo.go)17:59
jdstrandzyga: it isn't enforcing yet is it or did that land today?17:59
oparozzyga: As part of the ownCloud snap. The ownCloud git tree comes with a default set, but I'd like to extend that set by downloading some apps from the app store when building the snap instead of writting a script which will download everything at install time17:59
zygajdstrand: it's not live yet, no, I'm still trying to get to a patchset that will be accepted17:59
zygajdstrand: plus mvo's branch hasn't landed so I'm also waiting for that17:59
zygaoparoz: hmm17:59
zygaoparoz: I'd do a custom plugin for now17:59
zygaoparoz: to see that it works18:00
oparozzyga: That must affect other web apps which come with an app store as well18:00
jdstrandok. well I have a number of things I'm working on, but thanks for the heads up on me being unblocked to land stuff like that18:00
zygaoparoz: when you have more experience with how it looks like we can think about what the next step is18:00
oparozzyga: Well, I know what it looks like since that's how it's done in the official VM already. I'm just trying to translate that into the Snappy world, but was surprised to see that source wasn't an array18:02
oparozzyga: It's simply, download, unzip and let the install script move these to the correct location at install time18:02
zygaoparoz: I'd be surprised if it was18:02
zygaoparoz: in any case, I'd suggest starting with a plugin18:03
zygaoparoz: and a bunch of parts18:03
oparozzyga, maybe a simple makefile will do18:05
zygaoparoz: good luck18:06
oparoz:)18:07
elopionessita: is staging alright? I'm getting "Remote end closed connection without response" when I run the upload test.18:27
elopionessita: nevermind, I uploaded it fine now.18:30
nessitaelopio, ack! this particular test is about getting the right metadata from the package index18:34
nessitaelopio, so would that be covered by your tests?18:37
elopionessita: not on the previous one. I'm trying now to install the snap I uploaded, but snappy is not cooperating.18:38
nessitaelopio, any error I can help with?18:40
elopionessita: yes, I'm pasting it...18:40
elopionessita: https://paste.ubuntu.com/15636132/18:41
elopioI see basic.snappy-test in the index. Do you know of something I might be missing?18:42
nessitalooking18:45
nessitaelopio, so the snap is there and I can download it, see https://search.apps.staging.ubuntu.com/api/v1/package/basic.snappy-test18:47
nessitaelopio, is available only on amd64, is that the arch you are using?18:47
elopionessita: yes, I can do that too. And yes, amd64.18:48
nessitaelopio, there seems to be something in the snap code that can not completes the operation. Have any more information?18:49
nessitaelopio, also, the main thing I needed QAd is that there is a new summary field, and the description field no longer has the summary (ex tagline) prepended18:49
elopionessita: I'm looking at the code. https://github.com/ubuntu-core/snappy/blob/master/store/snap_remote_repo.go#L26118:49
elopionessita: I can see that on https://search.apps.staging.ubuntu.com/api/v1/package/basic.snappy-test18:50
elopioeverything looks good on the cpi side. I can't install, but that might not be your fault.18:51
nessitaelopio, right, if you try again, does it work?18:51
* sergiusens is happy to know that the snapcraft side of the work is at least on track18:51
elopionessita: nop. I can install hello-world using staging, so that makes me a little uneasy.18:52
elopiostill, as so many things are in flux and will be changing soon, I don't worry too much about this. A deploy of this summary field to production seems a step forward.18:53
elopioum, hello-world is not in the staging index, so it's likely not using this env var.18:56
nessitaelopio, oh, so is trying to use prod?18:57
elopionessita: ah, got it. It's just my fault, I was passing the env var on the wrong side of sudo. I installed it.19:00
nessitaoh, great news!19:00
elopionessita: so the install works. I have no way to show the summary because snap find is not working atm, but if anything is wrong there it should be fixed on the snappy side.19:01
elopionessita: so go for it, let me reply to the list.19:01
nessitaelopio, excellent, thank you19:01
elopiosergiusens: is the summary going to be added to snapcraft.yaml ?19:02
elopiooh, no, it's there already.19:02
nessitaelopio, is there already!19:02
nessitaelopio, and the store is parsing and using it19:03
elopionessita: I had to manually fill it when I hit publish.19:03
nessitaelopio, yeah, we are deploying that :-)19:03
elopionessita: on staging.19:03
nessitaelopio, was this a new package, or new version for existing package?19:04
elopionessita: a new version for an existing package.19:04
nessitaelopio, right, for this I followed the existing code, where new uploads do not change existing metadata for a package19:05
elopionessita: ok, I don't know what to expect there. Now that I'm here, let me do a new upload to confirm it fills the summary.19:06
nessitaelopio, a new package you meant, right?19:06
nessitanew upload, in the store terminology, is a new version for an existing package19:06
elopionessita: yes, that's what I meant, new package.19:07
nessitagreat :-)19:08
elopionessita: +1.19:11
nessitaelopio, thanks!19:12
elopiothanks to you.19:19
sergiusenselopio, it already is, isn't it?19:26
code1o6sergiusens, do you know Manik Taneja? he is reviewing my snappy app for permissions. Do you know his nic IRC?19:27
code1o6sergiusens, *nick19:28
JamieBennett code1o6 its manik19:30
jdstrandtyhicks: fyi, lp:~jdstrand/ubuntu-core-launcher/fix-udev-for-160419:32
jdstrandtyhicks: I'm moving to preparing the MP for seccomp arg filtering next19:33
tyhicksjdstrand: I saw that but I think it is going to be hard for me to get to it today - what kind of timelines are you needing for that review?19:33
jdstrandit doesn't have to be today19:33
sergiusenscode1o6, what JamieBennett said19:33
code1o6JamieBennett, sergiusens thanks19:33
jdstrandtyhicks: but trying to get these launcher changes done and into release so I can work on developer mode19:33
tyhicksok19:34
ogra_code1o6: i think he is traveling today19:35
JamieBennettogra_, yeah, he is19:35
code1o6ogra_, thanks19:37
code1o6ogra_, JamieBennett , do you what timezone he is in?19:37
JamieBennettcode1o6, Pacific19:39
JamieBennett*usually*19:39
JamieBennettno idea where he is travelling to atm19:39
elopiosergiusens: yes, it's just not updated when a previous version of the package exists.20:00
* elopio <- lunch20:23
qenghoI admire mksquashfs for being able to use 387.7% of my CPUs.20:45

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