/srv/irclogs.ubuntu.com/2018/05/18/#snappy.txt

eraserpencilWhen i run "snapcraft", it runs on one processor. How do I let it run on multiple processes?02:18
mupPR snapcraft#2140 closed: lp 1768233 workaround for plainbox_provider plugin <Created by jocave> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2140>02:18
mupPR snapcraft#2142 opened: Release changelog for 2.42.1 <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2142>02:40
=== epod is now known as luk3yx
=== chihchun_afk is now known as chihchun
eraserpencilis there a list of accepted architectures snapcraft build?s03:07
=== chihchun is now known as chihchun_afk
eraserpencilWhat are the differences between a snap revision and a snap version?03:56
mborzeckimorning05:02
mupPR snapd#5173 closed: snap: some doc comments fixes and additions <Simple> <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5173>05:52
=== chihchun_afk is now known as chihchun
mborzeckimvo: #5075 is simple an can be landed now, niemeyer requested changes before, but those have been addressed, can you do a review?05:58
mupPR #5075: snap/env: fix env duplication logic <Simple> <Created by didrocks> <https://github.com/snapcore/snapd/pull/5075>05:59
mvomborzecki: yes, will do in a little bit06:15
Lin-Buo-Renhttps://github.com/ubuntu/snapcraft-desktop-helpers/issues/117 I have found the commit that causes the regression06:15
Lin-Buo-Rendunno how to fix though...06:16
gohanHow can I build a snap package that runs executable jar?06:32
Lin-Buo-Rengohan: Packs an Java runtime into it?06:33
gohan@Lin-Buo-Ren how to do it can you please guide us to do that?06:36
gohan@lLin-Buo-Ren if there is any example for that please share us.06:37
Lin-Buo-Rengohan: I don't know any Java snaps as of now06:42
gohan@Lin-Buo-Ren : ok, thanks...06:45
mupPR snapd#5075 closed: snap/env: fix env duplication logic <Simple> <Created by didrocks> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5075>06:45
Lin-Buo-Rengohan: Check out https://forum.snapcraft.io/t/snapcraft-plugin-jdk-java-runtime-app-error/1403/306:45
mborzeckimvo: a bunch of PRs is stuck waiting for re-review after changes were requested06:45
Lin-Buo-Rengohan: Here's an example that claimed working: https://github.com/ogra1/jtiledownloader06:45
mvomborzecki: yeah, I will do a re-run this morning06:46
Lin-Buo-RenI would like to request reviewing two trivial PRs on ubuntu/snapcraft-desktop-helpers: #119, #12106:47
mupPR #119: Do not export dirs.snappyDir <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/119>06:47
mupPR #121: Add built-in capabilities to the daemon <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/121>06:47
mborzeckii can look info fixing #5081 while zyga is on vacation06:47
mupPR #5081: interfaces/apparmor: add chopTree <Created by zyga> <https://github.com/snapcore/snapd/pull/5081>06:47
niemeyerMornings06:47
gohan@Lin-Buo-Ren : ok..06:47
mborzeckiniemeyer: adjusting to new timezone already?06:48
Lin-Buo-Renhttps://github.com/ubuntu/snapcraft-desktop-helpers/pull/119 ; https://github.com/ubuntu/snapcraft-desktop-helpers/pull/12106:48
mupPR ubuntu/snapcraft-desktop-helpers#119: Makefile: Honour CC, CFLAGS <Created by Lin-Buo-Ren> <https://github.com/ubuntu/snapcraft-desktop-helpers/pull/119>06:48
mupPR ubuntu/snapcraft-desktop-helpers#121: Prepend $SNAP/share to XDG_DATA_DIRS <Created by Lin-Buo-Ren> <https://github.com/ubuntu/snapcraft-desktop-helpers/pull/121>06:48
niemeyermborzecki: A bit early for that :-)06:48
niemeyerJust catching up.. yesterday was a bit hard to focus, so gave up and decided to do it early today06:49
zygamborzecki: sure but please check if the expression from Jamie actually works06:53
niemeyerzyga: Heya06:54
zygaI was somewhat surprised on 2nd read06:54
zygaHey06:54
niemeyerzyga: Before I forget, remind me to ask you about the parallel install feature06:54
zygaHolidays are fun but not when kids become ill06:54
zygaAck, will do06:54
newbeeHow to make a snap from a .jar files, and how to make the snapcraft.yaml for that ?..06:55
zyganiemeyer: why are you up so early? Are you in Europe?06:55
niemeyerzyga: No, just shifted today to catch up with reviews a bit06:55
=== pstolowski|afk is now known as pstolowski
pstolowskimorning07:09
mborzeckipstolowski: hey07:10
mborzeckidamn, spilled coffee :/07:12
pstolowskimborzecki: ouch07:35
eraserpencilWhat is the filepath to see where plugs and slots connects. I'm unsure where to point "target" of my content plug interface07:44
Chipacamoin moin07:59
mvohey Chipaca08:02
Chipacamvo: 'sup08:03
mvoChipaca: reviews mostly and a bit of core18 work. I'm also looking for a volunteer who wants to work on the snapd snap :)08:03
mvoChipaca: 'sup on your side?08:03
Chipacamvo: the snapd snap sounds fun :-) but not sure i'll have the space today to learn where it fits in the dance08:04
Chipacamvo: if you're still looking on Monday, hit me up08:04
mvoChipaca: sounds great. monday is a public holiday here but I can still hit you :)08:05
Chipacatoday, physio (unless things are on fire), then into London for lunch, otherwise snapshots (if i get a review) or warnings (if not)08:05
Chipacamvo: tuesday is also good08:05
Chipacamaybe i should take monday off to discourage you from working it08:06
Chipacathat sounds quite nice actually08:06
niemeyerpedronis: you got a review on #4497.. LGTM once that's considered08:09
mupPR #4497: many: make rebooting of core on refresh immediate, refactor logic around it <Created by pedronis> <https://github.com/snapcore/snapd/pull/4497>08:09
niemeyermvo: You have a review request there too ^08:09
niemeyerChipaca: Moin08:09
Chipacaniemeyer: getting used to gmt?08:10
niemeyerChipaca: No, just catching up on reviews.. feeling bad for my lag there08:10
niemeyerStill a couple of months away from the shift08:11
Chipacaniemeyer: don't run yourself into the ground08:12
Chipacaniemeyer: we call 'em sprints, but they're marathons08:12
niemeyerChipaca: Thanks, and yeah.. the more it grows the heavier the burn is to get it down08:13
gohanhow to access extenal jar file in snap?08:13
niemeyergohan: Heya08:13
niemeyergohan: The forum is usually a better place for that sort of question as you'll get more eyes there, and the ability for them to answer on their appropriate time without your question getting lost to the logs08:14
niemeyergohan: The general answer is that the jar needs to ship with the snap08:15
niemeyergohan: But your question probably has more context than this08:15
mupPR snapd#5176 opened: many: add `snap connectivity-check` command <Created by mvo5> <https://github.com/snapcore/snapd/pull/5176>08:28
mvoChipaca: the above PR is a bit of an RFC - if you could have a look and check that the approach makes sense that would be cool, then I can clean it up properly08:29
pedronisniemeyer: thanks08:40
mvo5175 is an easy win08:42
niemeyer#517508:51
mupPR #5175: systemd: mock useFuse() so testsuite passes in container via lxd snap <Simple> <Created by jdstrand> <https://github.com/snapcore/snapd/pull/5175>08:52
mborzeckizyga: https://paste.ubuntu.com/p/THFBWKbZzD/08:52
mupPR snapd#5175 closed: systemd: mock useFuse() so testsuite passes in container via lxd snap <Simple> <Created by jdstrand> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/5175>08:54
niemeyermborzecki: #4504 unblocked09:17
mupPR #4504: snap, wrappers: systemd WatchdogSec support <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4504>09:17
mborzeckiniemeyer: thanks!09:17
niemeyernp09:17
pstolowskiniemeyer: can you take a look if the approach in #4551 is now ok? it was re-worked after your initial review and after I had a discussion with zyga09:24
mupPR #4551: ifacestate: do not auto-connect manually disconnected interfaces <Created by stolowski> <https://github.com/snapcore/snapd/pull/4551>09:24
mupPR snapd#4538 closed: interfaces/builtin: Add new steam-support interface <Created by ikeydoherty> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/4538>09:25
niemeyermvo: #4600 re-reviewed09:35
mupPR #4600: configstate: validate known core.* options <Created by mvo5> <https://github.com/snapcore/snapd/pull/4600>09:35
mvoniemeyer: thank you!09:35
niemeyermvo: np, and thanks! nice feature!09:35
niemeyerpstolowski: Yeah, the tab for that one was even open already :)09:36
pstolowskiniemeyer: that's already a good start :) thanks09:36
pedronismvo: thanks for the review, I'll work through the comments after lunch10:01
mvopedronis: thank you, nice PR, this will make it much more usable10:03
mvo5174 is also probably an easy win10:04
Chipacamvo: i'm looking at #5176 now, but will be offline for a little bit10:06
mupPR #5176: many: add `snap connectivity-check` command <Created by mvo5> <https://github.com/snapcore/snapd/pull/5176>10:06
Chipacattfn10:07
mborzeckileaving #5081 for now, did the change but it feels a bit fishy around edge cases, probably best if zyga takes a look at it10:21
mupPR #5081: interfaces/apparmor: add chopTree <Created by zyga> <https://github.com/snapcore/snapd/pull/5081>10:21
pstolowskizyga: conflicts on #499610:21
mupPR #4996: overlord/ifacestate: store and use revision with security profiles set <Created by zyga> <https://github.com/snapcore/snapd/pull/4996>10:21
niemeyerpstolowski: #4551 reviewed, thanks!10:25
mupPR #4551: ifacestate: do not auto-connect manually disconnected interfaces <Created by stolowski> <https://github.com/snapcore/snapd/pull/4551>10:25
pstolowskiniemeyer: ty!10:26
tatramacohi10:45
tatramacoanyone know how I can configure the apparmor policy for chromium to allow it to talk to u2f security key ?10:46
eraserpencil:q10:46
tatramacoor is there an interface for a u2f key ?10:46
=== chihchun is now known as chihchun_afk
ogra_tatramaco, thats probably better suited as question to the forum (see channel topic)11:05
tatramacoI had already tried there and nada11:07
niemeyertatramaco: Please ping me there and I'll go after it11:07
niemeyerTaking a break now to rest a bit before the standup11:08
cachio_mvo, hey, about the comment you did on the #441611:19
mupPR #4416: tests: performance measurements for basic snapd commands <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/4416>11:19
cachio_with the question this way we avoid mixing stdout with the performance results?11:19
cachio_I don't get what you are proposing11:19
=== pstolowski is now known as pstolowski|lunch
fusion809Hi folks, why is 2.32.9 tagged in the snapd repo but there's no release notes to it and no vendor tarball? I was expecting it to be merely a matter of time, like a few hours a day at most, but it's been two days and there's still no release notes. Did someone just accidentally tag it, or something?11:53
mborzeckimvo: ^^11:56
mborzeckipedronis: can you take a look at #4996 ? i've pushed some changes11:58
mupPR #4996: overlord/ifacestate: store and use revision with security profiles set <Created by zyga> <https://github.com/snapcore/snapd/pull/4996>11:58
mborzeckii'm off to pick up the kids, coming back for the standup12:00
jdstrandmborzecki: hey, is 'daemon-notify' ready for re-review now?12:09
mupPR snapd#4551 closed: ifacestate: do not auto-connect manually disconnected interfaces <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/4551>12:12
mvofusion809: hey, sorry for this. .9 is only autopkgtest fixes which are very ubuntu specific, however I see that this is confusing and will add a page on GH12:40
fusion809mvo: thank you for clarifying.12:41
Chipacare12:44
Chipacajust a quick pop in to let y'awl know I'm going to miss the standup, as I'll be on the underground going back home then12:44
mvofusion809: updated, thanks for letting us know!12:47
Chipacamvo: happy to bikeshed the location, but not bothered by what's there (beyond this command not being debug -- the problem is we've always said debug commands were guaranteed not stable)12:51
Chipacamvo: for ex: i'd say this is slower/more expensive but still system info-ish, so as such we could have a select= on sysinfo do it12:52
mvoChipaca: yeah, that sounds reasonable. sysinfo works for me12:52
mvoChipaca: I won't be in the meeting today but please relay that I want to branch 2.33 early next week (Monday hopefully)12:53
mvoChipaca: we are a bit behind with this one already12:53
Chipacamvo: neither will i12:53
mvoChipaca: aha, ok12:53
mvoniemeyer:  I won't be in the meeting today but please relay that I want to branch 2.33 early next week (Tuesday hopefully, monday is a public holiday here). we are already a little bit behind with 2.3312:54
Chipacapedronis: is there anything we could do to hit the right cdn with something cheap, say a HEAD request, that'd get redirected appropriately?12:55
mvoChipaca: you ask the right questions :)12:56
pedronisChipaca: we could do details on something well known and do HEAD on the download url12:56
=== pstolowski|lunch is now known as pstolowski
Chipacapedronis: yes we could, but i'd be happier if we weren't making the db do extra work for a connectivity check :-)12:56
pedronisthe cdn might vary12:57
pedronisand the download urls are not documented12:57
pedronisin theory if we had a canary snap  with just one revision its download url before redirects would be fixed (until thing change and ignoring the enterprise proxy)12:58
pedronisso not sure how not to ask the store for a download url12:58
pedronisif we care12:59
mborzeckijdstrand: yes12:59
Chipacapedronis: maybe we should chat with our store buddies :-D12:59
* Chipaca disappears into the tubes12:59
niemeyerHeya12:59
niemeyerRunning late but omw13:00
niemeyermvo: Ack, thanks13:18
noise][1pedronis: what was that download URL thing in reference to, or the use-case i mean?13:30
pedronisnoise][1: mvo is implementing a connectivity check for snapd, to see if it can access the main api domain,  but there's a question how to check that download are accessible13:33
pedronisnoise][1: wip PR is here: https://github.com/snapcore/snapd/pull/517613:33
mupPR #5176: many: add `snap connectivity-check` command <Created by mvo5> <https://github.com/snapcore/snapd/pull/5176>13:33
pedroniss/domain/domains/13:33
mborzeckijdstrand: thanks for the review13:34
noise][1pedronis: makes sense, thx13:35
pedronisnoise][1: so we wonder if  we care about having something better that  doing /details on a snap and HEAD on the download url (following redirects)13:41
Chipanautullo ullo13:44
noise][1pedronis: that should be a reasonable start13:44
Chipanautooh, ooh13:45
pedronisyea, think so13:45
Chipanautpedronis: noise][1: are you talking about the connectivity check13:45
noise][1make sure we pass the headers13:45
noise][1in case of cloud images13:45
* Chipanaut on the move, hoping the webchat works better than actual irc on iffy networks13:46
Chipanautnoise][1: a question I have is whether HEAD will always redirect, or if we should do a plain GET and then drop it13:48
Chipanautof course the boss check would be to download and check the hash, but that's taking it a bit far13:48
* Chipanaut is suspicious of the silence in the channel13:49
pedronisChipanaut: yes we were talking about that13:49
noise][1the HEAD should get your the redirect, but best to double check it :)13:51
Chipanautnoise][1: it does today13:51
Chipanautnoise][1: my question is whether we can  rely on it, as CDNs come and go :-)13:51
pedronisthe redirect comes from the API13:52
Chipanautd'oh13:52
pedroniswe control it13:52
Chipanauti'll go get a dunce hat, brb13:52
pedroniswe can add spread test13:53
pedronisand also one in the store itself if needed to keep that working if we start relying on it13:53
Chipanautpedronis: same headers, but narrowing fields would be a'ight, yes?13:53
pedronisChipanaut: yes, but my point is that we need to send headers also for the download, not just the details13:54
Chipanautmvo: mind if I push a commit to #5176 ?13:54
mupPR #5176: many: add `snap connectivity-check` command <Created by mvo5> <https://github.com/snapcore/snapd/pull/5176>13:54
Chipanautpedronis: gotcha13:54
pedronisthe actual relevant headers are consumed at that  point13:54
Chipanautpedronis: hardcoding the download url is tempting13:54
Chipanautbut i'll be brave and resist13:55
pedronisChipanaut: that is not a good idea because of the enterprise proxy13:55
Chipanautpedronis: well, I had reasons for it not being a good idea before :-) but yeah13:56
pedronisthe current code does the right thing wrt that afaict13:56
Lin-Buo-Renhttps://bugs.launchpad.net/snapcraft/+bug/177202713:56
mupBug #1772027: Pull stage of a unspecified part is unexpectedly cleaned by snapcraft <Snapcraft:New> <https://launchpad.net/bugs/1772027>13:56
Chipanautpedronis: wrt headers and HEAD?13:56
pedronisChipanaut: no, I meand wrt to using the right helper to use if the eproxy url if it's set13:57
Chipanautah, k13:57
pedronisChipanaut: also my other comment silly, we can just use the GET details instead of the current endpoint GET13:58
pedronisnot doing the former only if the latter work13:58
Chipanautyeap13:58
Chipanautpedronis: I'm about to go offline again for a bit, but I'll work on this14:00
Chipanaut's fun14:00
pedronisok, thx14:00
pedronis:)14:00
* Chipanaut steals the fun work out from under mvo's feet14:00
jdstrandmborzecki: thanks for sticking with that PR. it was a loooong time coming :)14:08
jdstrandChipanaut: fyi, I responded in the PR regarding classic and signals14:09
threshjdstrand, we can debug the issue here, since it's going to be faster (re: qt/vlc/debian)14:10
threshI think I also reproduced the same behaviour on newest ubuntu though14:10
threshbut we can focus on debian for now14:11
mupPR snapd#4504 closed: snap, wrappers: systemd WatchdogSec support <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/4504>14:12
jdstrandthresh: for the moment I think it makes sense to discuss in the forum since we may handoff14:17
xnoxjdstrand, mvo, https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1771858 does this sound reasonable to you? and will you be able to ship effectively a one line shell script?14:20
mupBug #1771858: /snap/bin not in default PATH for units, snapd should ship system-environment-generators to inject /snap/bin into $PATH <snapd (Ubuntu):New> <systemd (Ubuntu):New> <snapd (Ubuntu Xenial):New> <systemd (Ubuntu Xenial):Confirmed> <snapd (Ubuntu Bionic):New> <systemd (Ubuntu14:20
mupBionic):Won't Fix> <snapd (Ubuntu Cosmic):New> <systemd (Ubuntu Cosmic):Won't Fix> <https://launchpad.net/bugs/1771858>14:20
threshjdstrand, gotcha14:21
jdstrandxnox: I have no objections since it is appended to PATH14:22
jdstrandcc mvo ^14:22
xnoxjdstrand, mvo - btw this is an actual bug for foundations, we can't integrate preseeded snaps on classic in clouds =)14:23
jdstrandthresh: what is the output of 'snap info vlc'14:25
jdstrandthresh: on Ubuntu, what kernel were you using?14:26
threshjdstrand, snap info vlc: https://gist.github.com/thresheek/28e1e1fea148f32648a2022bc8400ee314:29
threshjdstrand, re ubuntu:  my 18.04 does not boot for some reason, but the same happens on 16.04, using 4.13.0-36-generic, `XDG_CURRENT_DESKTOP=KDE snap run vlc -vvv`. snap/snapd 2.32.6.  same vlc (337).14:35
jdstrandthresh: to be clear, that snap info was done on the debian system?14:37
threshjdstrand, correct. coal is my debian machine.14:38
jdstrandthresh: I'm going to try to reproduce this. in your Debian testing machine, what do you install to get a typical KDE environment?14:39
jdstrandthresh: apt-get install ...?14:39
threshugh, tough question14:40
threshon regular 16.04 ubuntu it's enough to reproduce that issue with XDG_CURRENT_DESKTOP=KDE snap run vlc -vvv14:40
jdstrandthresh: I didn't know if there was some meta package there14:41
threshwithout any kde stuff installed afaict14:41
jdstrandthresh: the difference on 16.04 will be strict mode though...14:41
jdstrandI mean, it could be the same underlying issue, just trying to distill this down a bit14:42
threshI mean you don't really need to run under KDE, setting that env var should be enough to tell Qt5 you're on KDE.14:42
jdstrandI understand. but Debian vs Ubuntu will change the system confinement14:43
threshkde-plasma-desktop I guess14:43
jdstrandanyway, I'll figure it out14:43
threshis the name of the package14:43
jdstrandthanks14:43
Chipacapedronis: mvo: should the connectivity check retry?14:57
Chipacaeg should it do client.Get, or httputil.RetryRequest14:57
pedronisChipaca: should probably retry but a bit less agressively, less max time than normal?14:58
Chipacabah, there's two axes: client.Get vs store.doRequest (which could refresh a macaroon etc), and direct vs httputil.RetryRequest14:58
pedronisthe refresh macaroon bit is annoying14:59
pedronisit's less an issue with SnapAction though15:00
pedronisChipaca: I think more than /details we probably want the new not existing action for download15:00
Chipacapedronis: it's more of an issue for details than for snap action?15:00
pedronisChipaca: if the macaroon is expired  /details will 401 on you15:00
pedronisSnapAction will still return a result15:01
pedronisbut tell btw15:01
pedronisso you can ignore the refresh macaroon bit15:01
pedronis(which is a bit odd to do in here)15:01
Chipacapedronis: the problem is the device macaroon, right?15:02
Chipacadevice session?15:02
pedronisyes15:02
Chipacaye15:02
pedronisbasically if we use /details for now15:03
pedroniswe need all the dance15:03
pedronislater we can do what we will do for download/prepare-image15:03
pedronisand cut some of the code15:03
Chipacaah, for the days of yore, when men were men and everything was plaintext15:03
Chipacapedronis: so I'll use retry with a doRequest, and add a TODO to move it to the new thing explaining why15:04
pedronisChipaca: basically later we should be able to use some variant of Store.snapAction (the internal helper that doesn't refresh on itself)15:05
Chipacahmmm15:06
pedronismaybe15:06
pedronisit's trade offs15:06
Chipacawhat's https://dashboard.snapcraft.io/dev/api/15:06
Chipaca?15:06
Chipacain particular, what's that license list15:06
pedronisI don't know15:07
pedronisit doesn't seem ideal to hit though15:08
pedronisChipaca: it's api metadata15:12
pedronisand the license bit seems buggy15:13
Chipacapedronis: yes15:13
pedronisit hits the db (lightly)15:14
pedronischannel and release come from the db afaict15:14
pedronisanyway not completely ideal15:14
pedronisit's cached though afaict15:16
Chipacaeeep16:24
Chipacarabbitholes16:24
=== pstolowski is now known as pstolowski|afk
mvoChipaca: haha, yeah, steal the fun, thats fine. more fun Tuesday when you work on the snapd snap :)16:31
mvoxnox: thanks, I saw the bug I will have a look Tues (Mon is a holiday here)16:32
cachio____    6222116:41
cachio__.16:46
* cachio__ afk16:48
=== cachio__ is now known as cachio
mupPR snapd#5177 opened: interfaces/builtin: allow access to libGLESv* too for opengl interface <Created by morphis> <https://github.com/snapcore/snapd/pull/5177>17:28
mupPR snapd#5178 opened: interfaces/builtin: initial version of the anbox-support interface <Created by morphis> <https://github.com/snapcore/snapd/pull/5178>17:46
om26erpopey: where does vim' snap packaging live ? (is uploaded by snapcrafters)20:07
om26erand the current version apparently does not work20:08
popeyom26er: no idea! dunno who uploaded that23:31
popeyom26er: sergio23:31

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