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

mupPR snapd#6186 opened: interfaces/avahi_observe: Fix typo in comment <Created by Lin-Buo-Ren> <https://github.com/snapcore/snapd/pull/6186>01:51
mborzeckimorning06:05
mupPR snapd#6187 opened: packaging/fedora: use %_sysctldir macro <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6187>07:15
mborzeckimvo: hey, we'll have some trouble with github.com/coreos/go-systemd/activation package, the changed the API of activation.Listeners(bool) to activation.Listeners() and the default is different now07:55
mborzeckimvo: any clue why we didn'g want to have go-systemd unset LISTEN_FDS, LISTEN_PID and LISTEN_FDNAMES ?07:56
mvomborzecki: I don't know, maybe chipaca remembers07:59
mborzeckimvo: hm, from the looks of it, we could drop the activation package, our use case is super simple and could be easily done ourselves without external dep08:01
mborzeckimvo: and fedora has bumped their pacakge version in f29 and rawhide, soe snapd will not build there anymore without a patch08:02
mvomborzecki: right08:04
mborzeckii'll prep a pr to unblock this08:04
mvomborzecki: I'm inclined to just to our own implementation or is there another packaged option out there with a more stable api?08:04
mvomborzecki: thank you08:04
=== pstolowski|afk is now known as pstolowski
pstolowskimornings08:06
mvohey pstolowski - good morning08:06
mborzeckipstolowski: hey08:06
zygaHey08:14
zygaWill start late, Iā€™m stuck in traffic08:15
mvozyga: good morning08:15
zygaHad a late night :/08:15
mvozyga: I have a bit of a conundrum, maybe you have an idea. strace -f snap run test-snapd-tools.echo does not show snap-update-ns in my log, I wonder why08:16
zygaPlease review my PRs if possible08:16
mvozyga: yeah, I noticed some reviews were late. what happend, did you got carried away?08:16
mvozyga: yeah, will do08:16
zygaMvo: is the mount namespace ready? We only call s-u-n once08:17
zygaCombination of factors, I stopped after 3AM08:17
zygaMvo: I merged one branch that had one review and was hanging for days08:18
zygaThe one removing useless unshare08:18
zygaYou asked it08:18
zygaAcknowledged it08:18
mvozyga: I remember this one, iirc I reviewed it08:18
zygaStill in traffic08:18
zygaYep08:19
mvozyga: no worries08:19
zygaJust wanted to make sure you know08:19
mborzeckimvo: maybe it's because s-u-n goes through fexecve, you can actually see clone() and with -k you see which s-c function is calling it but not much more08:27
mvomborzecki: yeah, its slightly annoying, I though internally this all goes through execve into the kernel but apparently not :/08:28
mvomborzecki: aha, apparently I can get execveat08:32
* mvo reviews first08:33
* mvo must resist temptation08:33
mborzeckimvo: hmm looking at glibc, there's a path for execvat and a separate one for that calls execve("/proc/self/fd/<num>",..) where num is the fd08:34
mvozyga: 6170 and 6181 were the critical ones?08:34
mvomborzecki: interessting08:35
mvomborzecki: what I see (just from experimenting) here on 18.10 is execveat08:35
mvomborzecki: but maybe it depends on kernel or something?08:35
mborzeckimvo: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/fexecve.c;h=3560b711ca2c6d1a61330d91099a3fc2201c583e;hb=HEAD08:35
mborzeckimvo: yes, kernel and glibc08:35
mvomborzecki: nice, thnak you08:45
mborzeckifedora is the only distro where deps aren't bundled, right?08:45
mvomborzecki: debian too08:46
mborzeckiah08:46
zygamvo: in 10 min08:46
mborzeckimvo: ok, so buster is a problem too then08:48
mvomborzecki: the systemd stuff?08:51
mvomborzecki: well, breaking api is not nice08:51
mvobad people08:51
mborzeckimvo: yes, buster has v17 version which has the API change08:51
mborzeckimvo: coreos, move fast, break things, get bought :)08:51
mupPR snapd#6188 opened: daemon, vendor: bump github.com/coreos/go-systemd/activation, handle API changes <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6188>09:13
zygamvo: sorry, now installed and ready for work09:17
zygamvo: let me read the backlog now09:17
zygamvo: so https://github.com/snapcore/snapd/pull/6170 is the snapd side part of features09:17
mupPR #6170: overlord,tests: expose enabled features to /var/lib/snapd/features <Per-user mount ns  šŸŽ> <Created by zyga> <https://github.com/snapcore/snapd/pull/6170>09:17
zygaI think it's not controversial09:18
Chipacaš”Šš”¬š”¬š”” š”š”¬š”Æš”«š”¦š”«š”¤09:18
zygait's the design gustavo wanted09:18
zygaholly smokes09:18
zyganow you must tell me, dir sir Chipaca, how that works09:18
Chipacaš¬š§ššš© š¢š§š¬š­ššš„š„ š®š§š¢šŸšØš§š­šžš«09:18
mborzeckiwow09:18
Chipacašššš‘ššŽ šš›ššŽššœšš šš’ššœ ššŽššŠššœšš¢09:18
zygaChipaca: but technically09:19
zygaare those just unicode glyphs that have a specific look?09:19
Chipacayes09:19
Chipacaš“‰š’½ā„Æš“‡ā„Æ ā„Æš“‹ā„Æš“ƒ š’¾š“ˆ ā„“š“ƒā„Æ š“š’¾š“€ā„Æ š“‰š’½š’¾š“ˆ09:20
zygamvo: https://github.com/snapcore/snapd/pull/6181 is the second part of that for Go programs09:20
zygaI wasn't sure where to put it09:20
mupPR #6181: features: add feature test methods <Per-user mount ns  šŸŽ> <Performance šŸš€> <Created by zyga> <https://github.com/snapcore/snapd/pull/6181>09:20
zygaAs in, which package09:20
Chipacazyga: in gucharmap, search for 'fraktur' to get to the majority of them09:21
zygaahhh09:21
zygafraktur, I love it09:21
zygathank you :)09:21
Chipacausage: unifonter [-h] [-i INPUT] [-o OUTPUT]09:21
Chipaca                 [-k {b,bc,bf,bi,c,d,f,i,m,s,sb,sbi,si,w}]09:21
Chipaca                 [text [text ...]]09:21
Chipacaunifonter: error: argument -k: invalid choice: 'k' (choose from 'b', 'bc', 'bf', 'bi', 'c', 'd', 'f', 'i', 'm', 's', 'sb', 'sbi', 'si', 'w')09:21
Chipacaaugh09:21
zygamvo: after writing the features/ PR I wanted to combine the two so that there's a canonical definition of features09:21
Chipaca(š”±š”„š”¦š”° š”¦š”° š”£š”Æš”žš”Øš”±š”²š”Æ)09:21
zygaso that coreconfig references the same names, I will do that as a follow-up09:21
Chipaca(š–™š–š–Žš–˜ š–Žš–˜ *š–‡š–”š–‘š–‰* š–‹š–—š–†š–š–™š–šš–—)09:22
* Chipaca stops having fun and has coffee instead09:22
mvozyga: ok, I just finished the first going to the second now09:23
zygathank you, looking09:23
zygamvo: I will kindly ask you to do more reviews after that - I really want to land this thing09:23
zygamborzecki: can you do a quick check on https://github.com/snapcore/snapd/pull/618209:26
mupPR #6182: Revert "cmd/snap-confine: don't allow mapping lib{uuid,blkid}" <āš  Critical> <Created by zyga> <https://github.com/snapcore/snapd/pull/6182>09:26
zygathis may fix the TW testing PR09:26
mupPR snapd#6187 closed: packaging/fedora: use %_sysctldir macro <Created by bboozzoo> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6187>09:27
zygado we need CLA for a typo?09:28
zygaI guess not09:28
zygaI'm looking at https://github.com/snapcore/snapd/pull/618609:28
mupPR #6186: interfaces/avahi_observe: Fix typo in comment <Simple šŸ˜ƒ> <Created by Lin-Buo-Ren> <https://github.com/snapcore/snapd/pull/6186>09:28
mupPR snapd#6182 closed: Revert "cmd/snap-confine: don't allow mapping lib{uuid,blkid}" <āš  Critical> <Created by zyga> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/6182>09:29
zygamvo: replied to https://github.com/snapcore/snapd/pull/617009:35
zygalet me know if the suggested comment is ok09:35
mupPR #6170: overlord,tests: expose enabled features to /var/lib/snapd/features <Per-user mount ns  šŸŽ> <Created by zyga> <https://github.com/snapcore/snapd/pull/6170>09:35
zygaI will update it quickly :)09:36
mvozyga: ok, I am at the other one right now09:38
zygamvo: if you still have a moment for reviews then please look at https://github.com/snapcore/snapd/pull/6147 next09:38
mupPR #6147: cmd/snap-confine: use snap-discard-ns ns to discard stale namespaces <Per-user mount ns  šŸŽ> <Created by zyga> <https://github.com/snapcore/snapd/pull/6147>09:38
zygaI will work on the feedback09:38
mvozyga: thanks, replied and added feedback for 618109:42
zygathanks!09:42
mvozyga: thanks for your patience09:42
mborzeckizyga: left some comments in #6170, sorry for the delay, had it opened in a tab a while now, buried among a bunch of other tabs09:43
mupPR #6170: overlord,tests: expose enabled features to /var/lib/snapd/features <Per-user mount ns  šŸŽ> <Created by zyga> <https://github.com/snapcore/snapd/pull/6170>09:43
mborzeckiwish ff had a way to label/mark tabs, like TODO and so on09:43
zygamvo: about the two feature PRs09:44
zygashall I merge them together09:44
zygaor do you want to see a 3rd PR on top09:44
zygamvo: I just saw your comment in the PR, I will do a follow up09:47
vidal72[m]is core snap needed when all installed snaps use core 18?09:47
zygaso quick pass over the simple feedback and then merge the two and continue09:47
zygavidal72[m]: no but some bugs in stable mean that yes09:47
zygavidal72[m]: in master this is (I believe) all fixed now09:47
vidal72[m]zyga: is there a way to remove core snap?09:49
zyganot at present09:49
vidal72[m]:(09:49
mvohttps://github.com/snapcore/core/pull/99 <- needs a review from someone from the snapd team09:51
mupPR core#99: snapcraft: add fc-cache-{6,7} <Created by mvo5> <https://github.com/snapcore/core/pull/99>09:51
zygamvo: I had a look last night09:56
zygabut after midnight I didn't want to comment09:56
zygavidal72[m]: is there an issue with that?09:56
zygavidal72[m]: eventually the core snap will be phased out09:57
zygavidal72[m]: snapd will install and remove required base snaps automatically09:57
zygamvo: updated https://github.com/snapcore/snapd/pull/6181 - I think it's good to do now09:58
mupPR #6181: features: add feature test methods <Per-user mount ns  šŸŽ> <Performance šŸš€> <Created by zyga> <https://github.com/snapcore/snapd/pull/6181>09:58
zygamvo: if this lands I can merge it into the other PR (snapd side) and remove the duplication there09:58
zygawhy is the core configuration package called configcore and not coreconfig?10:00
mvozyga: iirc gustavo liked the name better10:04
mvozyga: re 6181> please push the followup once its ready I'm keen to see it playing together and I would love to also land it together10:06
zygasure10:06
zygauh10:07
zygapedronis: replied to your comment on 618110:08
zygapedronis: please let me know if you want to discuss this10:08
Chipacamvo: wrt core#99, how's the insecure access thing going to be addressed?10:10
mupPR core#99: snapcraft: add fc-cache-{6,7} <Created by mvo5> <https://github.com/snapcore/core/pull/99>10:10
mvoChipaca: I thought I pushed the fix for this, let me double check10:10
zygapedronis: so, can you help me understand please10:10
mvoChipaca: uh, silly me10:11
Chipaca:-)10:11
mvoChipaca: now the fix is pushed *cough*10:11
zygapedronis: shall I merge 6170 into 618110:11
* Chipaca sends mvo a 4x-strength green tea10:11
mvoChipaca: actually - silly git and silly me to equal parts10:11
zygapedronis: and have configcore use the features in one PR10:11
zygapedronis: is that what you want?10:11
mvoChipaca: heh, great! I need it, didn't sleep well10:11
Chipacasame10:11
ChipacaI tweaked my back yesterday again :-(10:12
mvoChipaca: :(10:12
Chipacamvo: is armhf security also on ports?10:13
mvoChipaca: I am pretty sure it is, let me double check10:13
Chipacak10:13
mvoChipaca: http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/main/binary-armhf/10:14
Chipaca\o/10:14
* zyga is unsure what to do about features now10:15
zygaeh10:15
mvozyga: just make a combined PR with 6170, 6181 and the followup that uses features in configcore10:16
zygamvo: and the package?10:16
mvozyga: I think that the easiest way forward, then we can see the bigger picture10:16
zygapedronis didn't want to add a new package but didn't respond to how to structure it10:16
mvozyga: not sure, maybe it could be a sub-package of something?10:16
zygalike?10:17
mvozyga: heh, you ask hard questions :)10:17
mvozyga: let me look and think10:17
mvozyga: I am not sure maybe a sub package of configstate ? otoh it has nothing to do with overlord. but then it fits the oconfig schema. its a bit of an import otoh :/ "overlord/configstate/features"10:19
zygamvo: then we need to import that from snap-update-ns10:20
zygamvo: I didn't want to do that10:20
mvozyga: fair enough, but maybe we can move forward and do the other bits (using feature in corecfg etc) and address this package name/locaiton as the last step?10:21
mvozyga: (assuming samuele is ok with this but I guess he will be)10:21
zygamvo: yes, I'm working on that now10:21
mvozyga: great, thank you10:21
zygawell, adding test that maciej requested firts10:21
mvozyga: +110:24
mupPR snapd#6188 closed: daemon, vendor: bump github.com/coreos/go-systemd/activation, handle API changes <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/6188>10:26
mborzeckimvo: left some comments under #6185, really like it10:26
mupPR #6185: snap: add new `snap run --perf` call <Performance šŸš€> <Created by mvo5> <https://github.com/snapcore/snapd/pull/6185>10:26
mvomborzecki: thanks, I'm working on tests now10:29
mvomborzecki: more10:29
mupPR snapcraft#2415 opened: tools: pull in imporved cla_check.py from snapd <Created by chipaca> <https://github.com/snapcore/snapcraft/pull/2415>10:32
Chipaca'imporved'10:32
ChipacašŸ¤¦10:33
* Chipaca leaves it10:33
zygamvo: I addressed all comments in https://github.com/snapcore/snapd/pull/617010:47
mupPR #6170: overlord,tests: expose enabled features to /var/lib/snapd/features <Per-user mount ns  šŸŽ> <Created by zyga> <https://github.com/snapcore/snapd/pull/6170>10:47
zygamvo: shall I close https://github.com/snapcore/snapd/pull/6181 now and merge it into 6170?10:47
mupPR #6181: features: add feature test methods <Per-user mount ns  šŸŽ> <Performance šŸš€> <Created by zyga> <https://github.com/snapcore/snapd/pull/6181>10:47
mupPR snapd#6171 closed: tests: add SPREAD_JOB to the description of systemd_create_and_start_unit <Created by mvo5> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/6171>10:51
zygamvo: ?10:52
mvozyga: sorry, looking10:56
zygathanks10:56
mvozyga: how about just creating a new branch that combines 6181 and 6170 and build on top of that?10:59
mvozyga: we can have a HO if you feel this is all a bit unclear11:00
zygano, that's fine11:00
zygalet me make one11:00
zygaand the two branches can be closed,11:00
mvozyga: yeah or just keep them for reference as they have useful comments and we close once the final one is in - but no strong preferences, if you just refer to them in the new PR thats fine as well of curse11:01
mvocourse11:01
mupPR snapd#6170 closed: overlord,tests: expose enabled features to /var/lib/snapd/features <Per-user mount ns  šŸŽ> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/6170>11:02
mupPR snapd#6181 closed: features: add feature test methods <Per-user mount ns  šŸŽ> <Performance šŸš€> <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/6181>11:02
zygauh :)11:02
zygatoo late11:02
mupPR snapd#6189 opened: daemon, vendor: bump github.com/coreos/go-systemd/activation, handle API changes (2.36) <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6189>11:07
Chipacazyga: when you want a break from easy things, #6034 is ready for another look :-p11:07
mupPR #6034: many: save media info when installing, show it when listing <Created by chipaca> <https://github.com/snapcore/snapd/pull/6034>11:07
zygaChipaca: I'll do that after the combination PR11:07
Chipacazyga: :-) ok. No rush anyway, but didn't know if you'd seen that I'd pushed it.11:08
mupPR snapd#6190 opened: overlord/configstate,features: expose features to snapd tools <Created by zyga> <https://github.com/snapcore/snapd/pull/6190>11:14
zygamvo: https://github.com/snapcore/snapd/pull/619011:15
zygathis is the combination without the duplication11:15
mupPR #6190: overlord/configstate,features: expose features to snapd tools <Created by zyga> <https://github.com/snapcore/snapd/pull/6190>11:15
pstolowskimvo: i've proposed a fix for kr/pretty https://github.com/kr/pretty/pull/58 , but the list of PRs there from the period of 2014-2017 is not encouraging :/11:15
mupPR kr/pretty#58: Fix infinite recursion when diffing structs with cycles <Created by stolowski> <https://github.com/kr/pretty/pull/58>11:15
zygaChipaca: looking now11:18
zygaI re-read my comments to remind myself about that work11:18
mvopstolowski: thank you! we can always use a fork if we have to (but it would suck)11:21
pstolowskimvo: yeah, i'm not sure the fix is 100% correct, the stuff is a bit tricky. for sure it fixes the case i hit in our tests, but i wonder if there are edge cases11:22
pstolowskimvo: so feedback from the author would be good11:22
zygaChipaca: reviewed11:30
Chipacazyga: thanks11:32
zygamvo: about the features branch, all of the new code is here https://github.com/snapcore/snapd/pull/6190/commits/dddc6d68ee0f492a45b48e61431fa6d9f55e66b311:34
mupPR #6190: overlord/configstate,features: expose features to snapd tools <Created by zyga> <https://github.com/snapcore/snapd/pull/6190>11:34
mupPR snapd#6186 closed: interfaces/avahi_observe: Fix typo in comment <Simple šŸ˜ƒ> <Created by Lin-Buo-Ren> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6186>11:39
zygamborzecki: ping about https://github.com/snapcore/snapd/pull/611111:45
mupPR #6111: packaging/opensuse: move most logic to snapd.mk <Created by zyga> <https://github.com/snapcore/snapd/pull/6111>11:45
zygamvo: I don't know if this is the case for sure but perhaps 6110 is failing for the same general reason fedora29 does11:46
zygamvo: we never addressed that issue in the end11:46
zygamborzecki: I ran ubuntu-core-16-64:tests/regression/lp-1803542 alone and it obviously passed12:02
zygaI hate our test suite12:02
zygait's a constant source of misery12:02
zygaeh12:03
mupPR snapcraft#2414 closed: yaml_utils: allow unicode while encoding <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2414>12:05
mupPR snapd#6179 closed: snap: epoch lists must contain no duplicate entries <Created by chipaca> <Merged by zyga> <https://github.com/snapcore/snapd/pull/6179>12:05
zygamvo: snapd update in suse shows some errors12:08
zygasyntax error in /var/lib/snapd/desktop/applications/test-snapd-policy-app-consumer_test-desktop.desktop, line 112:08
zygathe destkop file has no [Foo] section12:08
zygais that something we mangle or is that a broken test def? (the snap is from the test suite)12:08
mvozyga: no [Foo] section or no [Desktop] section?12:10
zygano [Desktop] section12:11
zygaI will check if the original file has one12:11
mvohm, the test snap has one12:11
mvoso that is odd12:11
zygayes12:11
zygait has one12:11
zygasomething is borken12:11
mvo:(12:13
zygamborzecki: https://github.com/snapcore/snapd/pull/6147#discussion_r23569628312:13
zygawhat did you mean there?12:13
mupPR #6147: cmd/snap-confine: use snap-discard-ns ns to discard stale namespaces <Per-user mount ns  šŸŽ> <Created by zyga> <https://github.com/snapcore/snapd/pull/6147>12:13
mupPR snapcraft#2416 opened: yaml_utils: allow unicode while encoding (#2414) <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2416>12:14
mborzeckizyga: whether it'd be possible to roll sc_setup_mount_profiles and that call into something generic that runs s-u-n12:15
mborzeckizyga: or s-d-n12:15
mborzeckiin that case12:15
zygaone bigger function?12:16
zygaI'm sorry, I don't follow12:16
mborzeckizyga: yeah, like run_this_helper_for_snap(fd, snap_name, aa)12:18
=== cpaelzer__ is now known as cpaelzer
zygayeah perhaps12:19
zygathe fork / exec /wait part could be shared12:19
mborzeckimhm12:19
zygathe arg handling could stay in each dedicated function12:19
mborzeckiidk, soemthing to think about12:20
mborzeckialthough that doesn't strictly follow the rule of 3s :)12:20
zyga3s?12:22
mborzeckizyga: https://erikbern.com/2017/08/29/the-software-engineering-rule-of-3.html12:23
mborzeckizyga: fwiw there's even a wikipedia page https://en.wikipedia.org/wiki/Rule_of_three_(computer_programming) :)12:24
zygaah, cool12:26
zygasee :)12:27
pedroniszyga: mvo: to be clear my point was more that it needs to do more, be more the one source of truth/authorative place to merit a top level package, and also that having two authorative places about the different bits of the same things is confusing12:27
mborzeckiselinux makes my head hurt :/12:28
zygapedronis: the top-level package was just a quick idea since it has to be imported from snap-update-ns and I didn't want to drag all of configcore with it. I'm open to suggestions on where to place it12:30
zygapedronis: the duplication aspect is addressed now12:30
zygapedronis: though we don't have one element yet, the default if absent value (what does it mean for that value to be unset)12:30
zygabut this problem is only specific to snapd internals12:31
zygathe outside-of-snapd API is unambiguous12:31
niemeyerHello there12:32
zygahey!12:32
niemeyerFOlks, we need to rollback or improve that change of "snap info" that is highlighting a channel12:32
zygais it breaking parsing of the input?12:32
niemeyerI would suggest just rolling it back for the time being12:32
niemeyerAt least until we can discuss in more detail the design aspects involved12:33
niemeyerzyga: Not for me, at least, but it's very misleading12:33
niemeyerHere is an example from my terminal just now:12:33
niemeyerchannels:12:33
niemeyer  stable:    2.79b            (20) 129MB classic <12:33
niemeyer  candidate: ā†‘12:33
niemeyer  beta:      ā†‘12:33
niemeyer  edge:      2.80-f021536babb (19) 106MB classic12:33
niemeyerinstalled:   2.80-f021536babb (19) 106MB classic12:33
niemeyerThat "stable" line stands out from everything else in the output, for no good reason12:34
niemeyerThis is not even my installed version12:34
zygammm, I see - I didn't notice that before12:34
niemeyerWe have the fields tracking, installed, and channel map.. each with different meaning12:35
pedronisI don't know what that landed, I don't remember that changed being discussed, or reviewing it12:37
pedronisChipaca: ^ is that something you did? or somebody else? when did it land?12:38
pstolowskirelated to this: https://bugs.launchpad.net/snapd/+bug/179584012:38
zyga40e299154324315957d31eb89823c5267c0d9e8512:38
mupBug #1795840: `snap info` highlights the wrong version as installed when `snap try`ing <snapd:New> <https://launchpad.net/bugs/1795840>12:38
zygahttps://github.com/snapcore/snapd/commit/40e299154324315957d31eb89823c5267c0d9e8512:38
Chipacapedronis: that's something I did yes12:39
Chipacait highlights the current channel12:39
pedronisChipaca: mvo: it's 2.36 ?12:39
pedronisChipaca: current as in tracking?12:40
Chipacayes12:41
pedronisbut not always ?12:41
pedronisniemeyer said is highlighting not his installed version?12:41
pedronisor is that because of a switch?12:41
pedronisanyway is not very self explanatory12:41
Chipacathere was a request (somewhere) about highlighting current channel and current revision  differently when they differend, i think12:42
niemeyerRight, it highlights the channel map, although this version is not the current one12:42
Chipacaeither a switch, or an update not run12:42
pedroniswe are trying to pack too much stuff there12:42
pedronisit's cute12:42
pedronisbut not sure learnable12:42
Chipacaif you're on core edge, 'snap info core' is the most likely to show a difference between highlighted and current revision12:43
niemeyerWhich doesn't make much sense in that case it seems.. the "arrowing" and highlighting makes it standout more than anything else, even though that channel map entry is not current12:43
pedronisChipaca: so it's trying to pack snap refresh --list information into snap info?12:44
Chipacano12:44
pedronisbut doesn't really tell?12:44
Chipacawhat12:44
Chipacano12:44
pedronisthen I'm very confused12:45
pedronisthat's not good :)12:45
Chipacait just highlights the channel you are tracking12:45
Chipacathat's it12:45
pedroniswich bit ?12:45
pedronisthe bold and the <12:45
niemeyerChipaca: No, it highlights the content of the channel that you are tracking12:45
pedronisthey point at the same thing? or not?12:45
Chipacabold and < are always the same right now yes12:45
zyganiemeyer: ah, so perhaps we could highlight the channel name alone12:45
Chipacaniemeyer: what12:45
niemeyerChipaca: Strawman: how about dropping that arrow and making the highlighting on the channel *name* only12:45
zygaha12:45
niemeyerzyga: ! :)12:45
* zyga is happy to get something aligned for a change12:46
pedronisniemeyer: Chipaca: yes, that would seem better, it's still a bit unclear how understanble it is12:46
Chipacawhat's the "content of the channel that you are tracking" that isn't "the channel you are tracking"?12:46
niemeyerChipaca: and then maybe also highlight the *value* of "installed"12:46
pedronismaybe12:47
pedronisI start to think we need to step back12:47
niemeyerChipaca: I'm tracking stable, my version is not the one on stable..12:47
pedronisand pack less in there :)12:47
zyganame: foo \n installed: v123 from stable but tracking edge12:47
niemeyerChipaca: The channel map shows the version that is in stable, not the one I have12:47
niemeyerChipaca: Just confusing12:47
* Chipaca was happy for a month12:47
niemeyer:)12:47
Chipacaniemeyer: just because you haven't refreshed lately, that does not change the channel map12:49
pedronisChipaca: well we are all confused what it means, that's the reality12:50
pedronisthat shows maybe we shouldn't do it12:50
zygawhile on second though I agree it is confusing I must also say I like how it looks like12:50
zygathe output is long so visual cues like that help to find things12:50
zygawe just need to make it precise12:51
Chipacamaybe change the < to <- tracking12:51
Chipaca?12:51
zygašŸ›¤12:51
Chipacazyga: that's undistinguishable from a šŸ’© at least on xenial terminals12:51
Chipacawell, maybe not šŸ’© -- they got that one nice and distinctive12:52
zygamvo: http://smackerelofopinion.blogspot.com/2018/11/high-level-tracing-with-bpftrace.html12:53
zygamvo: I wanted to read this because, hey, tracing12:53
zygamaybe useful for snaps12:53
zygalook at what it says :D12:53
pstolowskimvo: i'm going to do some bug triaging, hope i'm not getting into your way again (anyone else doing this?)12:54
Chipacazyga: :-D12:55
Chipacazyga: well, that is cking's blog12:55
mborzeckioff to pick up the kids13:03
pstolowskizyga: do you know if that exec call error reached any conclusion - https://bugs.launchpad.net/snapd/+bug/1705988 ? i think you were investigating this error at some point but maybe i'm wrong13:25
mupBug #1705988: snap install --classic juju fails <canonical-is> <juju:Incomplete> <snapd:New> <snapd (Ubuntu):New> <https://launchpad.net/bugs/1705988>13:25
zygapstolowski: no13:26
zygapstolowski: I mean, no conclusion13:26
pstolowskizyga: k thanks13:29
pstolowskipedronis: related to the snap info, there is also an old enhancement request from Mark https://bugs.launchpad.net/snapd/+bug/175828813:29
mupBug #1758288: 'snap info' should show date of release into channel <snapd:New> <https://launchpad.net/bugs/1758288>13:29
zygaI see store errors in tests13:33
zygatimeouts13:33
zygabreak / walk before the call13:34
mvozyga: thanks for the ebpf pointer, this looks pretty cool13:40
mvopstolowski: no bug triage right now on my side, go wild, and thank you!13:41
mupPR snapd#6191 opened: cmd/snap: fix missing newline in "snap keys" error message <Simple šŸ˜ƒ> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6191>13:44
mvopstolowski: bug triage already successful :)13:45
pstolowski:)13:45
mupPR core#99 closed: snapcraft: add fc-cache-{6,7} <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/core/pull/99>13:47
mupPR snapd#6192 opened: overlord/snapstate: on refresh, check new rev can read current <Created by chipaca> <https://github.com/snapcore/snapd/pull/6192>13:51
Chipacazyga: links to logs for the store timeouts?13:52
zygaEr, gonsky13:56
* cachio lunch13:57
zygaha14:00
zygareproduced14:00
zygasomething buggy in test cleanup14:00
zygamvo: hangous still buggy14:02
zygaI clicked join14:02
zygasee my camera14:02
zygaand nothing else happens14:02
zygatrying to join from regular account14:05
zygasame14:05
zygaeh14:05
zygamvo: restarted browser, logged out14:08
zygano change14:08
zygahow do I join from the phone?14:09
niemeyerChipaca: Re. "niemeyer: just because you haven't refreshed lately, that does not change the channel map".. exactly.. the point is that the *channel map* is now highlighting a *version* and other details like "classic", etc, and it's very unclear why. It certainly doesn't feel like the reason why is "because you are tracking that channel and will eventually get that version, probably".14:13
mupPR snapd#6178 closed: snap,snap-exec: add SNAP_DEBUG_START_TIME environment <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/6178>14:17
zygapstolowski: oh, that missing newline14:18
zygait was in the TW branch14:18
zygaforgot to push it separately14:18
zygathanks for doing that!14:18
mupPR snapd#6193 opened: spread: drop Fedora 27, add Fedora 29 <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/6193>14:25
sergiusensniemeyer: hi there, I would appreciate your opinion on https://forum.snapcraft.io/t/title-length-in-snapcraft-yaml-snap-yaml/8625 given that it seems we have no well defined length for the "title" field.14:25
sergiusensI think the Gnome Software screenshots there could be used as a guideline on what we want that value to be14:26
niemeyersergiusens: Will discuss here and provide some feedback there, thanks for the pointer14:27
sergiusensthanks!14:28
zygahttps://github.com/snapcore/snapd/pull/6190 is green :)14:38
mupPR #6190: overlord/configstate,features: expose features to snapd tools <Created by zyga> <https://github.com/snapcore/snapd/pull/6190>14:38
zygapstolowski: found a bug :)14:38
zyga942 127 0:3 mnt:[4026532154] /run/snapd/ns/failing-config-hooks.mnt rw - nsfs nsfs rw14:38
zygaI bet that when the config hook fails14:39
zygawe don't cleanup after the snap :)14:39
zygaI'll look at fixing that14:39
pstolowskizyga: great, this is with relation to what?14:40
Son_Gokuzyga, https://forum.snapcraft.io/t/issue-with-repackaged-core-and-testing/8394/914:42
Son_Gokuniemeyer, mborzecki, mvo: golang is moving back to Fedora EPEL14:42
zygapstolowski: the bug I just mentioned in the call14:43
zygaSon_Goku: hey14:43
zygaSon_Goku: do you have a sec for a call?14:43
zygaSon_Goku: not urgent, just want to explain what that issue is about14:43
Son_Gokusure14:43
pstolowskizyga: ah, that one about finding leftovers14:43
Son_GokuI do now14:43
mborzeckiSon_Goku: do you know if there's any immediate action needed for 7.6?14:44
Son_Gokuniemeyer, mborzecki, mvo: https://pagure.io/releng/issue/791914:44
Son_Gokumborzecki, not yet14:44
zygaSon_Goku: https://meet.google.com/exu-zttk-ynz?authuser=014:44
pstolowskizyga: can you ack https://github.com/snapcore/snapd/pull/6191 ?14:47
mupPR #6191: cmd/snap: fix missing newline in "snap keys" error message <Simple šŸ˜ƒ> <Created by stolowski> <https://github.com/snapcore/snapd/pull/6191>14:47
niemeyerSon_Goku: Nice!14:49
niemeyersergiusens: Responded14:49
ChipacaFTR: diff-highlight rocks14:59
zygapstolowski: looking15:11
pstolowskizyga: go +2, thanks15:11
pstolowski*got15:11
pedroniszyga: I asked some question in the features PR15:26
pedronisquestions15:26
pedronisI am a bit confused15:26
pedronisabout things that are not experimental anymore15:27
pedronisand how the various bits should work for them15:27
pedronisthey don't seem consistent atm15:27
* cachio lunch15:44
roadmrif a snap uses a tar.gz as its source, and I want it to build via build.snapcraft.io, can I create a github repo with just the snap/snapcraft.yaml file whose source: points to the tar.gz upstream?15:48
Chipacaroadmr: aren't most of them that?15:51
Chipacabah15:51
Chipacachange 'tar.gz' to 'github repo' and it's the majority of snapcrafters, afaik15:51
Chipacaroadmr: e.g. https://github.com/snapcrafters/offlineimap15:51
Chipaca(first one i clicked on)15:51
roadmrChipaca: but that's the thing - I don't want to change 'tar.gz' to 'github repo'15:52
roadmrI specifically want to use the tar.gz because that lets me use the make plugin; the github repo requires some auto* evil I don't have time to wrestle right now15:52
zygapedronis: thanks, I'll look15:52
zygapedronis: we kept the experimental prefix for layouts for example15:53
zygapedronis: but open to suggestions15:53
Chipacaroadmr: AIUI source: <url to tar.gz> should work (maybe needs source-type:)15:54
Chipacaroadmr: source-type: tar15:54
roadmrChipaca: right; that looks like it'll work. I can fiddle with things from here :) thanks15:54
Chipacaroadmr: https://github.com/snapcrafters/postman does that15:55
roadmrthanks for tracking down an example, Chipaca !15:55
Chipacanp15:55
mupPR snapd#6194 opened: snap: make description maximum in runes, not bytes <Created by chipaca> <https://github.com/snapcore/snapd/pull/6194>15:59
zygaNetwork issues16:00
pedroniszyga: I think the code doesn't behave correctly where things that were experimental but now default to on16:01
zygaMvo, pedronis Iā€™m trying to answer from my laptop16:01
zygaI agree, I will fix that16:01
pedroniszyga: maybe we should have a quick HO today or tomorrow on thhis16:01
Chipacagiggle16:02
pedroniszyga: it seems we need files that mean negative for those, or we need run that Ensure were early in snapd, but we can't assume snapd will run before snaps16:03
niemeyerChipaca: That reflects very well the state of my brain right now :)16:03
zygare16:06
zygareconnected16:06
zygapedronis: gladly16:08
zygapedronis: hopefully my network will behave16:09
zygaI have plenty of data left, just fiddled with the modem box16:09
pedroniszyga: we can chat now16:10
zygaHO or here on IRC?16:11
zygamaybe meet, ho didn't work for me16:11
pedronismeet is ok, but let me see if I can find a room for me here16:11
pedroniszyga: I found a room (hopefully)16:13
Saviqcachio: do you have 1910 images available for spread yet?16:18
mupPR snapd#6195 opened: snapstate: update fontconfig caches on install <Created by mvo5> <https://github.com/snapcore/snapd/pull/6195>16:29
mvopedronis: ^- is probaly something you want to look at, its very simplistic right now, your input would be welcome what direction to take16:30
mvopedronis: but no rush16:30
pedronismvo: thx, I'll try to look at it today or tomorrow16:32
mupPR snapd#6196 opened: Validate title <Created by chipaca> <https://github.com/snapcore/snapd/pull/6196>16:33
Chipacasergiusens: ^ title validation as per forum topic16:35
Chipacafwiw, fyi, tanstaaomb, etc16:36
sergiusensšŸ‘16:36
sergiusensadding tests here as well16:36
zygaHeading home16:39
mupPR snapcraft#2415 closed: tools: pull in imporved cla_check.py from snapd <Created by chipaca> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2415>16:42
sergiusensChipaca: https://github.com/snapcore/snapcraft/pull/241216:42
mupPR snapcraft#2412: schema: add support for title <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2412>16:42
mupPR snapd#6197 opened: tests/lib: sync cla check back from snapcraft <Created by chipaca> <https://github.com/snapcore/snapd/pull/6197>16:43
mupPR snapd#6198 opened: Revert "cmd/snap, tests/main/snap-info: highlight the current channel" <Created by chipaca> <https://github.com/snapcore/snapd/pull/6198>16:50
mupPR snapd#6199 opened: Revert "cmd/snap, tests/main/snap-info: highlight the current channel" (2.36) <Created by chipaca> <https://github.com/snapcore/snapd/pull/6199>16:53
Chipacamvo: is that's what needed for 2.36 ^?16:57
mupPR snapd#6191 closed: cmd/snap: fix missing newline in "snap keys" error message <Simple šŸ˜ƒ> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/6191>17:31
zygare17:47
zygaarrived home17:47
mvoChipaca: I think so17:50
zygahey mvo17:52
zygahow's stuff?17:52
mvozyga: good, good - how are you?17:53
zygamvo: how's the experiment17:53
mvozyga: the fc-cache work? a super simple version is up for review17:55
zygaoh17:57
zygalooking17:57
zygajust unpacking17:57
zygafound it17:58
zygamvo: is that all?18:09
zygafeels like a file is missing18:09
zygaah, link.go18:09
mvozyga: well, its the most simple approach I could think of18:10
mvozyga: and that means something ;)18:10
zygareview sent18:10
mvota18:15
zygaZzzz20:42
=== pstolowski is now known as pstolowski|afk
mwhudsonhow do snapd tests test refresh?20:44
mwhudsondo you have a fake store or something?20:44
mwhudsons/tests/integration tests/20:44
cachiomwhudson, hi, there are many tests for refreshes20:46
cachiosome of them use the fake store20:47
cachioothers no20:47
cachiowe test core refresh and snaps refreshes20:47
cachiomwhudson, what do you need?20:47
mwhudsoncachio: well i'm just wondering how you arrange for snap refresh to do something20:48
mwhudsoncachio: as that requires the store to have a new revision of a snap20:48
mwhudsonin my understanding anyway20:48
cachiomwhudson, for that we use the fake store20:48
mwhudson(context here is that i am working on a subiquity feature to offer an upgrade to a new version)20:48
mwhudsoncachio: is the fake store something i could run locally?20:48
cachiomwhudson, yes20:49
mwhudsoncachio: is it documented? :)20:49
cachiothere are some tests on snapd which show that20:49
mwhudsonor at least, can you tell me where to find it20:49
mwhudsonis it in the snapd tree?20:49
cachiotests/main/refresh/task.yaml20:50
cachioin the snapd project20:50
mwhudsonok20:50
mwhudsoni can start from there thanks :)20:50
cachiobasically it sets up a fake store which is configured with the snaps to refresh20:50
cachiomwhudson, perhaps you should see first the refresh-all test20:51
cachiotests/main/refresh-all/task.yaml20:51
cachioit is much simpler20:52
mwhudsonis fakestore in test-snapd-tools ?20:53
mupPR snapcraft#2416 closed: yaml_utils: allow unicode while encoding (#2414) <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2416>20:54
mwhudsonah no20:54
cachiono20:54
mwhudsonits in the snapd tree i see20:55
mwhudsonoops gotta run for a call20:55
cachiotest-snapd-tools is the snap to refresh20:55
mwhudsoncachio: thanks for the pointers so far20:55
cachiomwhudson, np21:04
cachioyaw21:04
mupPR snapd#6200 opened: tests: fix for tests test-*-cgroup <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/6200>21:20

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