=== jero is now known as Guest66483 === Raboo_ is now known as Raboo [05:10] morning [05:25] Hey hey [05:25] Janek just got on the bus to school [05:26] His “first” rainy morning [06:10] bedna: hello [06:10] bedna: it may be possible to add support for snaps that don't use services [06:11] bedna: but I think services would be extremely difficult to support, in general [06:23] FYI seems like apparmor userspace will land in community arch repo, it's in community-testing atm [06:24] mborzecki: question about https://github.com/snapcore/snapd/pull/5378/files [06:24] PR #5378: dirs: improve identification of Arch Linux like systems [06:24] does arch set ID_LIKE=archlinux [06:24] zyga: yes [06:24] ah, ok [06:25] antergos was off on this [06:25] don't remember what manjaro does [06:25] or maybe we had explicit check for manjaro? [06:27] I don't know either [06:27] I wonder if anyone wants to review https://github.com/snapcore/snapd/pull/5802 [06:27] PR #5802: cmd/snap-update-ns: introduce trespassing state tracking [06:28] zyga: i did already :) [06:28] I know :) [06:28] thank you :) [06:28] mvo if off today [06:29] ooh right [06:29] maybe john/pawel [06:29] idk about pedronis, whether he's off too [06:29] I think chipaca should review it as we need to discuss how to merge it to osutils [06:29] I actually could get a day off too [06:29] to prepare for the trip, [06:29] ok [06:29] I need to buy a SSD [06:29] to fit into the bracket mvo is packing [06:29] ... [06:30] I will remind mvo just in case [06:34] i think i'll take a day or 2 swap days afer the trip to make up for the half-weekends, it's the only time you can actually do anything takign more than 1h [06:34] yeah [06:34] and there's a sports event at school on tue which i'll miss :/ [06:59] PR snapd#5830 opened: packaging/arch: sync packaging with AUR [06:59] zyga ^^ [07:00] thanks [07:02] hm we seem to have explicit checks for arch, manjaro and antergos https://github.com/snapcore/snapd/blob/master/dirs/dirs.go#L200 [07:02] indeed [07:02] that's why I asked [07:02] because that code uses DistroLike [07:02] and the condition changed [07:03] zyga: but DistroLike looks at ID as well [07:03] mhm [07:03] iirc it's ID == this || in list of ID_LIKE [07:04] correct [07:04] yup, it's if ReleaseInfo.ID == distro || strutil.ListContains(ReleaseInfo.IDLike, distro) [07:04] arch works for us either way, and so does the rest [07:05] eli's PR has landed, so antergos in should end up with ID_LIKE=arch too [07:06] zyga: I managed to get some spread tests for user mode systemd daemons that works on all but three distros under spread [07:07] jamesh: hey, that's great! [07:07] which three are problematic? [07:07] zyga: it turns out "systemctl start user@$UID.service" does the trick provided you've got a new enough systemd [07:07] to get the user instance running [07:08] heh nice [07:08] jamesh: and then systemctl --user for that user works? [07:08] mborzecki: yes, provided you run it with the correct UID and have XDG_RUNTIME_DIR set [07:09] nice [07:09] (the latter so it can find the user insrtance socket) [07:09] mhm === pstolowski|afk is now known as pstolowski [07:09] morning [07:10] good morning [07:10] all set for the trip? [07:11] * zyga afk for a sec [07:12] pstolowski: hey hey [07:40] Mount snap "test-snapd-control-consumer" (2) ([start var-lib-snapd-snap-test\x2dsnapd\x2dcontrol\x2dconsumer-2.mount] failed with exit status 1: Job for var-lib-snapd-snap-test\x2dsnapd\x2dcontrol\x2dconsumer-2.mount failed [07:40] again in the spread tests, grr [07:41] heh [07:41] maybe we could do some brainstorming about that while at the sprint [07:41] i wish we had a short sprint focused on stabilization of the tests [07:52] I think we should land https://github.com/snapcore/snapd/pull/5807 [07:52] PR #5807: interfaces: extra argument for static attrs in NewConnectedPlug/NewConnectedSlot [07:54] yeah, good idea, touches many files, easy to get into conflicts with other code [08:18] PR snapd#5830 closed: packaging/arch: sync packaging with AUR [08:52] I see, thre is some test(s) in cmd/snap tests that leaves behind ~/snap/snapname for real [08:52] zyga, mborzecki can you take a look at this trivial https://github.com/snapcore/snapd/pull/5829? [08:52] PR #5829: tests: use lxd's waitready instead of polling lxd socket [08:52] looking [08:53] zyga: thanks, will fix the newline [08:53] now [08:59] pstolowski: do you know if wait_ready is in lxd stable too? [09:05] mborzecki: i've just installed lxd on my 18.04, it's still a deb version and it has it if that means anything? [09:05] * zyga tries to recall how to use quilt [09:06] I have a patch for qt for the statx issue [09:06] but man,... packaging [09:06] pstolowski: thanks, just curious, in case we use lxd from stable in some test and need it [09:11] zyga: whoa, qt easier to patch than the rest of it? [09:11] mborzecki: ah, i misunderstood your questions; you meant channels [09:11] mborzecki: let me check [09:11] Chipaca: yes [09:11] Chipaca: though we're progressing on the "rest of it" aspect [09:11] zyga: whoa [09:12] zyga: is this going to work for thresh, though? I thought they were using qt from a ppa [09:12] nope [09:12] but it's a low hanging fruit [09:12] one of your five-a-day! [09:13] mborzecki: yes, lxd from stable channel supports waitready [09:14] pstolowski: thx [09:17] :) [09:24] How do you "unrelease" a snap ? We have a snap whose "beta" channel have a very old version and we currently don't want to expose a new revision to the users in the beta channel. How do we remove that ? [09:24] close the channel [09:25] zyga: super, I was looking for `snapcraft unrelease`, didn't know there was a `close` command. [09:26] hm snapstate tests should be run with -count=10 and some random sleep between ootb [09:26] So now we need parallel installs because our crossbar snap has two variants (cpy3 vs pypy) and would be cool to have both installed at the same time, instead of having different snap names. [09:26] mborzecki: because raciness? [09:26] om26er: it's coming :) [09:26] zyga: or some crazy map iteration thing [09:27] hmmm [09:27] building qt on one core out of 8 [09:27] :/ [09:27] well [09:27] at less I'll get my debdiff [09:28] zyga: parallel builds explicitly disabled or you forgot a switch? [09:28] I don't know [09:28] it's not default [09:28] so maybe there's some switch [09:28] but meh :/ [09:28] crappy defaults [09:31] mborzecki: ha [09:32] I was -j16 [09:32] but I need more ram [09:32] c++ [09:32] * zyga adds more ram to the VM [09:32] hahaha [09:33] noo i shouldn't have touched these newlines, now travis hates me again [09:33] the build process crashes because apparently 4GB is insufficient [09:33] zyga: can't you do that in systemd-nspawned chroot? [09:33] (for compiling, let alone linking) [09:33] mborzecki: the whole OS is a vm [09:33] I'm not running natively [09:33] aah you're on mac [09:33] yeah [09:34] ok, while this builds I can hack on a laptop [09:38] * Chipaca looks at what he's wrought so far, and goes for more coffee [09:45] * Chipaca pushes a PR before the coffee [09:45] PR snapd#5831 opened: client, cmd/snap: on !linux, exit when the client tries to Do something [09:45] ^^ if you could give it a look as my next pr would build on it ^^ [09:55] sure [09:55] * zyga figured out a way to update seccomp filters on the fly [09:57] Chipaca: done [09:59] zyga: getting some good feedback from pedronis also [09:59] thank you [10:09] PR snapd#5807 closed: interfaces: extra argument for static attrs in NewConnectedPlug/NewConnectedSlot [10:10] PR snapd#5762 closed: ifacestate: don't initialize udev monitor until we have a system snap [10:25] zyga: pstolowski: (pedronis): I changed the approach in that simple PR; it's a lot nicer now [10:25] Chipaca: k, looking [10:27] Chipaca: ah, runtime check, that's much nicer indeed [10:29] +1 once again [10:29] pstolowski: thanks! [10:32] https://mobile.twitter.com/Caged/status/1039937162769096704 [10:40] lol, so true [10:40] if you have a struct { client *client.Client }, that just holds the client and nothing else, what would you call it? clientHolder? [10:40] yeOldeClientBag? [10:40] clientHolder sounds like something that'd have a clientHold method [10:41] Chipaca: store [10:41] Chipaca: ;) [10:41] or guard [10:41] it just holds the client [10:41] clientContainer [10:42] Chipaca: maybe if you tell us why you want that [10:42] is it a proxy? [10:42] client future? [10:42] zyga: a mixin [10:42] to be embedded in any cmdFoo that needs a client [10:42] ClientIncluded5PercentOffBuyNow [10:42] * zyga stops being silly [10:42] * Chipaca throws plushies at zyga [10:43] clientWrapper [10:43] i like clientContainer best, so far [10:43] type interface Clienter { Client() *Client } [10:44] Chipaca: 5% interest rate if you make any profit of it [10:44] pstolowski: ok [10:45] Chipaca: how about just clientMixin? [10:47] zyga: that might be clearer overall [10:47] and cheaper also [10:49] #5829 anyone? trivial and needs 2nd review [10:50] PR #5829: tests: use lxd's waitready instead of polling lxd socket [10:55] me [10:56] +1 [10:56] thx [10:56] PR snapd#5829 closed: tests: use lxd's waitready instead of polling lxd socket [11:00] Chipaca: do you think you will have time to look at the trespassing fix PR [11:00] zyga: I don't think I'll have time today unless it's urgent [11:01] zyga: which is the pr? [11:01] one sec [11:01] https://github.com/snapcore/snapd/pull/5802 [11:01] PR #5802: cmd/snap-update-ns: introduce trespassing state tracking [11:03] * zyga -> coffee [11:17] PR snapd#5826 closed: tests: refactor for nested suite and tests fixed [11:17] Chipaca: #5831 can old, or are you still tinkering with it? [11:17] PR #5831: client, cmd/snap: on !linux, exit when the client tries to Do something [11:19] green already? [11:19] greyback: purple now :-) [11:19] PR snapd#5831 closed: client, cmd/snap: on !linux, exit when the client tries to Do something [11:20] wow, the day of landings today [11:20] * Chipaca -> lunch and such [11:28] pstolowski: before a day of takeoffs :) [11:29] indeed ;) [11:42] PR snapd#5832 opened: [RFC] overlord/{snapstate,assertstate}: parallel instances and refresh validation [11:43] pedronis: ^^ i was totally unfamiliar with this area, hopefully didn't do anything stupid there [11:46] PR snapcraft#2218 closed: yaml: replace yaml.safe_load() with CSafeLoader [11:50] off to pick up the kids === pstolowski is now known as pstolowski|lunch [12:01] PR snapcraft#2271 closed: reporting: fail gracefully on submit errors [12:03] PR snapd#5833 opened: asserts,interfaces/policy: add support for on-store/on-brand/on-model plug/slut rule constraints [12:04] PR snapcraft#2270 closed: catkin, rosdep: stop using FileNotFoundErrors === cjwatson_ is now known as cjwatson [12:38] re [12:39] opesuse mirrors returning empty responses again :/ === pstolowski|lunch is now known as pstolowski [12:52] mborzecki, this is why I use the openSUSE metalink instead of the redirector URL [12:52] unfortunately, I'm not sure how well zypper supports the metalink (I use dnf with openSUSE nowadays...) [12:53] I think we're just complaining when distribution archive is not working [12:53] regardless of why [12:53] the redirector is kind of dumb [12:53] and because it only passes one URL, the package manager can't fall back to another mirror easily [12:54] whereas when using the metalink, it can actually do that [12:54] I think I recently saw some commits go into libzypp about metadata download handling, which makes me think it might have been broken before :/ [12:54] hm [12:55] hopefully it'll be fixed soon [12:55] and then we'll complain again in a month or so :) [12:55] haha [12:55] didn't know dnf was supported in opensuse [12:55] DNF is available in openSUSE since Leap 15.0 [12:56] nice [12:56] Son_Goku: btw. do you remember that other package manager in fedora that happnend sort of between yum and dnf time wise, iirc it was written in c [12:56] mborzecki: I saw your RFC PR, not sure I will get to it today [12:57] pedronis: no worries, we can do it next week [12:57] mborzecki: you're talking about zif [12:57] mborzecki: https://github.com/hughsie/zif [12:57] Son_Goku: ah zif right, is it dead? [12:57] it became hawkey, which is now libdnf [12:57] oh it is [12:58] microdnf is another lightweight C implementation of DNF: https://github.com/rpm-software-management/microdnf [13:02] mborzecki, VMware wrote their own C implementation of DNF called "tdnf" for VMware Photon, but it's kind of broken :( [13:02] mborzecki: standup [13:38] pstolowski: did you land your changes to NewConnectedPlug/Slot ? [13:39] PR snapd#5834 opened: cmd/snap: commands no longer build their own client [13:39] ^^ very long :-( but repetitive :-) pure refactor PR I'll be basing snap warnings on [13:40] pedronis: yes [13:41] ok, makes sense, I need to fix my PR [13:43] man, that's really long [13:58] PR snapcraft#2273 opened: build providers: use the best CPU configuration === jdstrand_ is now known as jdstrand [14:52] PR snapcraft#2274 opened: snap: use a newer PyYAML and drop patches [14:55] PR snapcraft#2272 closed: meta: friendlier message for incorrect app command === pstolowski is now known as pstolowski|afk [17:39] Trevinho, you around? [17:41] PR snapcraft#2275 opened: build providers: use the provider if exported [17:42] kenvandine, Trevinho finally figured out how to reliably trigger that odd "firefox windows show up under slack icon" issue [17:42] kenvandine, Trevinho close Firefox. Open slack snap. Click a link in slack, which fires up Firefox. Notice Firefox now shows up under the slack icon, not Firefox [17:42] oh [17:43] Might be xdg-open-related [17:48] If firefox was already running before clicking the link in slack, it works as expected [17:49] kyrofa, maybe something leaking in the env? [18:13] jdstrand, could you please ack the dbus slot for gnome-calendar so I can get the strict snap into the edge channel? [19:06] kenvandine: I thought I did that before. I'll take a look [19:06] jdstrand, that was gnome-contacts :) [19:06] getting them both confined this week [19:06] jdstrand, and i just requested auto-connect for gnome-calendar as well === phoenix_firebrd is now known as murthy [19:40] kenvandine: done. it's going through automated review now [19:41] jdstrand, thanks! === murthy is now known as phoenix_firebrd_ === phoenix_firebrd_ is now known as murthy