/srv/irclogs.ubuntu.com/2018/11/02/#snappy.txt

mupBug #1801201 opened: Installed snap icons missing if using pixmap <Snappy:New> <https://launchpad.net/bugs/1801201>00:14
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
pstolowskimorning08:05
sil2100Morning o/08:43
sil2100Are zyga or mvo around today?08:43
pstolowskihey sil2100!09:05
pstolowskisil2100: no, he has a day off09:06
pstolowskisil2100: zyga thats is; don't remember about mvo, but probably off as well09:07
pstolowskimorning Chipaca!09:08
sil2100:<09:09
Chipacapstolowski: morning!09:09
Chipacapstolowski: thank you for the review!09:11
Chipacapstolowski: if you still have room for more, #6074 would be nice09:12
mupPR #6074: strutil: make VersionCompare faster <Created by chipaca> <https://github.com/snapcore/snapd/pull/6074>09:12
Chipacapstolowski: yesterday I was wondering if you'd be taking today off as well09:12
pstolowskiChipaca: added a few comments to your "survive missing..." PR; i need 2nd cup of coffee though, so if i suggested something silly, it's because of not enough coffee09:12
Chipacapstolowski: :-)09:13
Chipacapstolowski: I'll think about the  !(err == nil && exists && isDir)  vs  err != nil || !exists || !isDir09:13
Chipacapstolowski: it used to be the second way, fwiw09:14
Chipacai changed it because i thought it was clearer09:14
Chipacaso maybe i was wrong =)09:14
Chipacai'll try splitting it out and see what it looks like09:15
pstolowskiChipaca: thanks.09:18
pstolowskiChipaca: will look at this other PR.09:18
* zyga is off09:20
zyga(just having wifi)09:20
pstolowski+ pacman -Rnsc --noconfirm xdg-utils09:21
pstolowskierror: target not found: xdg-utils09:21
pstolowskihmm09:21
pstolowskiChipaca: +1 for version check optimization, with tiny suggestions10:20
Chipacapstolowski: ok10:20
Chipacapstolowski: ok to do them in a followup?10:20
pstolowskiChipaca: sure10:20
pstolowskiChipaca: although you'll probably not get second +1 today :}10:21
Chipacapstolowski: didn't it already have one?10:21
pstolowskiChipaca: that one has10:21
pstolowskiChipaca: but followup won't10:21
Chipacapstolowski: ah, you mean for the followup10:21
Chipacapstolowski: but the followup is happening anyway :)10:22
pstolowskiah, ok10:22
Chipacapstolowski: (it's the rewrite of #6065 using the new version compare)10:22
mupPR #6065: cmd, strutil: make coreSupportsReExec faster <Created by chipaca> <https://github.com/snapcore/snapd/pull/6065>10:22
Chipacaah, actually that one already has a +1 :-D10:22
Chipacabut, yeah, it's a rewrite so i'd be cheating if i used that10:23
Chipacahmmmmmmmmm10:23
Chipacamm10:23
Chipacam10:23
Chipacapstolowski: https://pastebin.ubuntu.com/p/gb9TR4268y/10:26
Chipacapstolowski: strings.Trim* is unideal10:26
pstolowskijeeez10:26
pstolowskiok, leave it as is ;)10:27
pstolowskiChipaca: uh, i presume your earlier PR fixes the occasional error i see on travis today:10:28
pstolowski- Save data of snap "test-snapd-tools" in snapshot set #1 (cannot create archive: tar: common: Cannot stat: No such file or directory (and 1 more))10:28
pstolowskiand everything below collapses10:29
Chipacapstolowski: yes10:29
pstolowskiand we won't land it today :(10:29
Chipacapstolowski: I'll push your suggestions in a bit, and then I'll land it once green10:30
Chipacait's tripping up tests too much10:30
Chipacawe can always revert if it was Wrong10:30
Chipacapstolowski: btw if instead of TrimLeft I use TrimLeftFunc, it's only 10% slower and doesn't use any more memory10:31
Chipacathe problem seems to be TrimLeft, which makes a cutset object10:31
Chipacacuset function object thing10:31
pstolowskiack. i expected it would be slightly slower as it supports substring match.. but that's beyond my wildest expectations10:33
pstolowskithanks for checking. good to know10:34
pstolowskiChipaca: thanks for the changes #6086, i find these conditions much more readable now (but again, it might be personal preference)10:49
mupPR #6086: overlord/snapshotstate/backend: survive missing directories <Created by chipaca> <https://github.com/snapcore/snapd/pull/6086>10:49
Chipacapstolowski: yep, i get it10:49
pstolowskiChipaca: restartin #6086, travis failed with "null"11:08
mupPR #6086: overlord/snapshotstate/backend: survive missing directories <Created by chipaca> <https://github.com/snapcore/snapd/pull/6086>11:08
mupPR core#38 closed: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>11:15
mupPR core#83 closed: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>11:15
mupPR core#98 closed: Add force_turbo rpi option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/98>11:15
mupPR core#38 opened: Add another pi-config option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/38>11:16
mupPR core#83 opened: move most of the ubuntu-core config deb into the snap snap build <Created by mvo5> <https://github.com/snapcore/core/pull/83>11:16
mupPR core#98 opened: Add force_turbo rpi option <Created by sergey-borovkov> <https://github.com/snapcore/core/pull/98>11:16
mupPR snapd#6087 opened: tests: core 18 does not support classic confinement <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6087>11:29
ogracjwatson, jut FYI i think your theory about the proxy token timeout and my 2h kernel build was wrong, a 3h build finished fine yeterday (same snapcraft.yaml) https://launchpad.net/~build.snapcraft.io/+snap/0e2b1c47138b20d1431cf32b24b68bb3-xenial/+build/36771011:44
cjwatsonogra: It's probably marginal and just happened to reach the relevant pull stage before the two-hour cutoff11:45
cjwatsonogra: I've checked and the proxy auth token does indeed time out after two hours, as I remembered11:45
cjwatsonogra: In fact, there are enough timestamps in that log that you can see it11:46
ograwell, the last part in that snapcraft.yaml is a single external module build, i doubt that takes 1.5h11:46
cjwatson 1 Nov 23:27:40 ntpdate[1830]: adjust time server 10.211.37.1 offset -0.010249 sec11:46
cjwatson[02/Nov/2018:01:23:03 +0000] "CONNECT github.com:443 HTTP/1.1" 200 161369 "-" "git/2.7.4"11:46
cjwatsonjust under two hours difference11:46
ograhmm, weird11:47
cjwatsonogra: the slow bit might be actually packing up the snap maybe?  not sure11:47
cjwatsonthere's not much else at that point that could be slow11:47
ograyeah and that bit has no timetamps11:48
cjwatsonIndeed, unfortunately11:49
ackkhi, does anyone know how to make nginx run inside a snap? if I specify "user root" it tries to initgroups() and fails11:58
cjwatsonackk: lp:snapstore-snap (Canonical-private) has some very hacky stuff to make that work12:04
ackkcjwatson, are you using nginx from the deb or building your own?12:04
cjwatsonBasically shoving in https://paste.ubuntu.com/p/GK6GtfDbzh/ to stub it12:04
cjwatsonackk: we use stage-packages: nginx-light12:05
cjwatsonand use that12:05
ackkcjwatson, I see12:06
cjwatsonIt's not pretty, but it works.  See https://forum.snapcraft.io/t/seccomp-filtering-for-setgroups/2109/712:06
ackkcjwatson, thanks12:07
cjwatsonnp12:07
mupPR snapd#6077 closed: overlord/ifacestate: use map[string]*connState when passing conns around <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6077>12:17
pstolowskiChipaca: cachio are we skipping the standup?12:54
ChipacaI wouldn't mind, nothing new since yesterday I don't think12:54
cachiopstolowski, no idea12:57
pstolowskicachio: it's up to us, there is no one else today12:57
cachiopstolowski, let's skip it in that case12:58
cachiopstolowski, I am working fixing tests now12:59
Chipacapstolowski: I thought degville was also with us today13:00
degvilleChipaca: pstolowski: yep, I'm here.13:01
degville(there)13:01
pstolowskiChipaca: ah, you may be right, sorry!13:01
Chipacadegville: let's skip it unless you have more news for us than can fit on irc =)13:01
degvillethat's fine :)13:01
mupPR snapd#6086 closed: overlord/snapshotstate/backend: survive missing directories <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/6086>14:07
mupPR snapd#6088 opened: tests: add debug output for degraded test <Simple 😃> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6088>14:10
mupPR snapd#6074 closed: strutil: make VersionCompare faster <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/6074>14:12
* cachio afk14:31
=== alan_g is now known as alan_g_
mupPR snapd#6088 closed: tests: add debug output for degraded test <Simple 😃> <Created by sergiocazzolato> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6088>15:12
diddledanso, someone who shall remain nameless managed to figure out how to get GTK2 and GTK3 to both work from the same snap15:42
diddledanhint, it involves removing GTK_PATH ;-p15:43
* diddledan pings kenvandine about that one15:44
diddledanI'm just off out, but I'll write it up later15:44
kenvandinehey diddledan15:45
diddledanello :-)15:45
diddledanthe customised desktop-gtk part (patch coming in a second message) https://www.irccloud.com/pastebin/d2kIJ3Va/15:47
diddledanthe patch referenced in the part https://www.irccloud.com/pastebin/nuqbPhB8/15:47
diddledanadd this environment somewhere that it takes hold - could just as easily be added to the patch https://www.irccloud.com/pastebin/VgcQ5ALO/15:48
diddledanobviously the patch is only a patch for my use case where I'm reusing the desktop-helpers as source but to add to the desktop-helpers it can be added directly to the gtk script rather than maintained as a separate patch15:50
diddledananywho, that's all I got, I need to jet now. bbiab15:51
kenvandinediddledan: cool15:51
mupPR snapd#6087 closed: tests: core 18 does not support classic confinement <Simple 😃> <Created by sergiocazzolato> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/6087>16:21
Chipacacachio: ^16:22
cachioChipaca, good16:22
cachiothanks16:22
diddledanis something wrong with build.snapcraft.io? https://usercontent.irccloud-cdn.com/file/3vIFFkBZ/image.png16:50
popeyrefresh? turn of ad blocker?16:55
diddledanno ad blocker, though I am using firefox which might be blocking stuff through it's "don't track me" features16:58
popeyi just logged in and it worked here16:59
diddledanaha. it's https everywhere extension16:59
popeythat stuff is all js locally16:59
popeyahhhh16:59
diddledanso something is being forced to https that isn't responding...16:59
diddledanor not. it's working now even after re-enabling https-everywhere17:00
diddledanperhaps a stodgy cache then17:00
kyrofadiddledan, do you have privacy badger as well?17:06
diddledanno, I haven't got that currently17:06
=== pstolowski is now known as pstolowski|afk
mupPR snapd#6062 closed: tests,store,daemon: ensure proxy settings are honored in auth/userinfo too <Created by mvo5> <https://github.com/snapcore/snapd/pull/6062>17:30
mupPR snapd#6089 opened: tests: install dependencies during prepare <Simple 😃> <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6089>17:44
mupPR snapcraft#2359 closed: [WIP] extensions: add glib <Created by kyrofa> <Closed by kyrofa> <https://github.com/snapcore/snapcraft/pull/2359>18:14
mupPR snapcraft#2388 opened: project: early snapcraft.yaml validation <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2388>18:38
kyrofaOf course, the first time I actually try layouts I need to create new entries in / :P22:20

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