[01:52] <sarnold> is discord supposed to be doing this? https://pastebin.com/fcxZ3aQc
[02:36] <mup> PR snapcraft#2739 opened: tests: fix mypy error with test_errors.py <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/2739>
[05:18] <mup> PR snapd#7555 opened: tests: add a test demonstrating that snaps can't access the session agent socket <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/7555>
[05:22] <mborzecki> morning
[07:05] <pstolowski> mornings
[07:08] <marcustomlinson> pstolowski: hi :)
[07:11] <mborzecki> pstolowski: marcustomlinson: hey guys
[07:11] <marcustomlinson> mborzecki: hey
[07:59] <mborzecki> we don't have any code that uses the new seedwriter pedronis is working on, or do we?
[08:15] <pokk> Chipaca: sorry for afk:ing last night. No my problem have no relation with joedborg. I'm just trying to get a rsync backup from A to B where B is a ubuntu core raspberry pi
[08:15] <pokk> Chipaca: is there a specific reason why you say it's a terribly bad idea?
[08:15] <Chipaca> pokk: I thought you were trying to make an rsync copy of a core device
[08:15] <pokk> oh no :)
[08:16] <Chipaca> pokk: phew
[08:16] <Chipaca> pokk: as long as the place you're rsync'ing *to* isn't readonly, that should work fine
[08:16] <pokk> no, I'd agree that would be a rather bad idea.
[08:16] <Chipaca> pokk: so, i guess, where are you rsync'ing to?
[08:16] <pokk> I've not played around with Core befor but it seemed like a good fit. A low maintanance secure dist. Very little that would need to be tweaked
[08:17] <pokk>  /media/data, a mounted usb disk
[08:17] <Chipaca> pokk: ohhh, and you installed rsync from a snap?
[08:18] <Chipaca> of coruse :)
[08:18] <pokk> yes
[08:18] <Chipaca> pokk: there's an extra manual step, indeed because of confinement
[08:18] <pokk> there's a provided apparmor profile, /var/lib/snapd/apparmor/profiles/snap.rsync.rsync
[08:18] <pokk> but I've not been able to figure out what it should look like. I'm new to apparmor
[08:18] <Chipaca> actually, we might need to ask the rsync snap's author to tweak the snap
[08:19] <Chipaca> pokk: nah, the snappy way would be to do 'snap connect rsync:removable-media'
[08:19] <Chipaca> but
[08:19] <Chipaca> that snap is missing the interface
[08:19] <pokk> oh, I figured I should just have to add something like /media/data/* rw, to the profile. But no game
[08:19] <Chipaca> well, that's what the connect boils down to (and a bit more but essentially that)
[08:19] <Chipaca> but the snap needs to declare it as something ok to do
[08:20] <pokk> oh, so it's not enought to add it to apparmor?
[08:20] <Chipaca> pokk: if it can wait a bit, we'll get the snap author to tweak it
[08:20] <pokk> I'm not really in any hurry
[08:20] <Chipaca> pokk: easiest then to wait until cachio wakes up, he'll be here in ~3 hours, maybe 4
[08:20] <pokk> I was thinking of having it run as a remote backup solution. But atm I'm just playing around with it
[08:21] <Chipaca> 👍
[08:21] <pokk> lol, yeah if the waiting time for more discussions is 3 hours I'd barely call that waiting :D
[08:21] <pokk> I'm used to days between messages at times. So far I'm really loving this distro tho
[08:22] <pokk> it's like the perfect mix between coreos and ubuntu
[08:23] <Chipaca> do let us know of any bumps
[08:24] <Chipaca> wait, is cachio actually away today
[08:25] <Chipaca> ah no, just mvo and ijohnson
[08:28] <pokk> The setup process was definitly interesting. I'd have prefered a more cloud-config centered way of setting things up, but that's really just personal oppionons
[08:29] <Chipaca> mwhudson: ^
[08:29] <pokk> I've also found it some what hard to google thing, not sure of what to prefix the searches with. When searching "Ubuntu core" 90% of the hits are just ubuntu
[08:31] <pokk> I've really not had time to read all the docs either so some googles could have probably been avoided
[08:31] <Chipaca> pokk: yeah, we've not made that bit easy. Adding 'snappy' in there sometimes helps. Otherwise, forum.snapcraft.io can be easier to find stuff in than google, strangely
[08:34] <Chipaca> pedronis: 👋
[08:34] <pedronis> mborzecki: hi, tried to answer some questions in your reviews. Seedwriter is a reorg of image.go, is not trying to add much new functionality.
[08:34] <Chipaca> pedronis: https://forum.snapcraft.io/t/snap-refresh-over-metered-connections/5001/49?u=chipaca
[08:34] <pokk> Chipaca: I take it you're a contributor in some way?
[08:34] <Chipaca> pokk: yeah
[08:35] <pedronis> Chipaca: sometimes? yes, now? unlikely
[08:35] <Chipaca> pedronis: k
[08:35] <pokk> cool :) it's always nice with friendly developers on irc
[08:36] <Chipaca> pedronis: i'll try to remember to badger about this periodically then
[08:36] <Chipaca> pokk: why thank you
[08:36] <Chipaca> we can also get ornery sometimes
[08:36] <pedronis> Chipaca: if I remember the issue was that we cannot trust NM
[08:36] <zyga> Hey
[08:36] <pedronis> anyway I have no bandwidth to think about this right now
[08:37] <zyga> I have a complicated morning. I will make up for it in the evening but I cannot work yet
[08:37] <Chipaca> pedronis: understandable
[08:37] <Chipaca> zyga: how much birthday cake did you eat
[08:37]  * Chipaca imagines zyga in a coma
[08:37] <pokk> zyga: coffee always helps :)
[08:37] <Chipaca> *food* coma
[08:38] <Chipaca> zyga: take care, thank you for letting us know
[08:38] <pokk> Chipaca:oh, one more thing. It's reallly minor but you didn't get to pick a timezone when installing. I'm sure it's been discussed and decided on not being included. But it's a think I tend to forget
[08:38] <pokk> resulting in having the wrong time on the system for days/weeks/months...
[08:39] <zyga> Chipaca: Lucy has a small bite :-)
[08:39] <Chipaca> pokk: ah the fight between minimalist and quick setup, and all the options
[08:39] <pokk> yepp
[08:39] <Chipaca> mwhudson: do you know if there are plans for prompting for the timezone (or any other extra stuff) ?
[08:40] <pokk> Why I sort of like a cloud-config file. I can decide on how minimalist I want it on my own
[08:40] <pokk> as for most other things I tend to remember doing them once installed. But for some reason I forget about timezones
[08:46] <mborzecki> pedronis:  https://github.com/snapcore/snapd/pull/7529 is the next one?
[08:46] <mup> PR #7529: seed/seedwriter: cleanups and small left over todos <Created by pedronis> <https://github.com/snapcore/snapd/pull/7529>
[08:46] <pedronis> mborzecki: yes
[08:47] <mborzecki> pedronis: i'll land #7469 or do you want to push anything more there?
[08:47] <mup> PR #7469: seed/seedwriter,snap/naming: support classic models  <Created by pedronis> <https://github.com/snapcore/snapd/pull/7469>
[08:47] <pedronis> mborzecki: I'll land it
[08:48] <mborzecki> pedronis: ok
[08:49] <mup> PR snapd#7469 closed: seed/seedwriter,snap/naming: support classic models  <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7469>
[08:50] <pedronis> mborzecki: do you want me to rebase 7529 before looking at it?
[08:51] <mborzecki> pedronis: yeah, can you merge master there?
[08:51] <mborzecki> gh should really be smart enough do to it when generating diffs and there's no conflicts
[08:54] <pedronis> mborzecki: done, it's smallish in itself
[08:54] <mborzecki> pedronis: thanks
[08:54] <pedronis> a bit of kitchen sink of various things though
[09:01] <pedronis> Chipaca: +1 for #7445
[09:01] <mup> PR #7445: overlord/snapstate/policy, etc: introduce policy, move canRemove to it <Created by chipaca> <https://github.com/snapcore/snapd/pull/7445>
[09:01] <Chipaca> woop
[09:02] <Chipaca> pstolowski: when you find a moment, could you take a look at ^ 7445? it's a bit big but not complicated
[09:03] <pstolowski> Chipaca: yes
[09:14] <mup> PR snapd#7553 closed: cmd/snap: update 'snap find' help because it's no longer narrow <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/7553>
[09:14]  * Chipaca is helping
[09:28] <mborzecki> pstolowski: regarding https://github.com/snapcore/snapd/pull/7443#discussion_r330408988 how about `weekdayInMonth()`?
[09:28] <mup> PR #7443: timeutil: fix schedules with ambiguous nth weekday spans <Bug> <Needs Samuele review> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7443>
[09:30] <pstolowski> mborzecki: perhaps weekday*s*InMonth() - it gives number of days right?
[09:31] <mborzecki> pstolowski: yeah, sgtm
[09:31] <pstolowski> weekdayInMoth sounds like it would return time.Time
[09:39] <mborzecki> pstolowski: hehe, adding tests with time.Time{}
[09:39] <mborzecki> actually according to go 0001-01-01 is monday :P
[09:39] <pstolowski> mborzecki: is it a problem actually?
[09:40] <mborzecki> pstolowski: no, but i'm adding the test to make sure that future changes don't break it
[09:40] <pstolowski> mborzecki: sounds great
[09:47] <mborzecki> pstolowski: equalWeekdaysInMonth or matchingWeekdaysInMonth
[09:47] <mborzecki> how about this?
[09:49] <pstolowski> mborzecki: is this wrt weekday*s*InMonth still?
[09:49] <mborzecki> pstolowski: yeah, still on my mind
[09:50] <pstolowski> mborzecki: I like matchingWeekdaysInMonth
[09:50] <Chipaca> yeesh, family drama brewing
[09:50]  * Chipaca goes for a coffee
[09:52] <pokk> My blood is probably more coffee than anything atm :|
[10:13] <mup> PR snapd#7529 closed: seed/seedwriter: cleanups and small left over todos <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/7529>
[10:15] <pedronis> pstolowski: mborzecki: in case #7451 is ready for review now
[10:15] <mup> PR #7451: sandbox/cgroup: introduce cgroup wrappers package <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/7451>
[10:18] <pstolowski> pedronis: ack
[10:22] <mborzecki> pstolowski: i've updated #7443
[10:22] <mborzecki> also it needs a 2nd review
[10:22] <mup> PR #7443: timeutil: fix schedules with ambiguous nth weekday spans <Bug> <Needs Samuele review> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7443>
[10:24] <pstolowski> mborzecki: thanks
[10:31] <mup> PR snapcraft#2739 closed: tests: fix mypy error with test_errors.py <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2739>
[10:32] <mborzecki> school run, back in a bit
[10:50] <abeato> hm, it looks like we cannot have base core18 in classic?
[10:50] <abeato> error: cannot assemble assertion model: cannot specify a base with a classic model
[10:50] <abeato> pedronis, do you know that? ^^
[10:51] <abeato> I get on snapd initialization:
[10:51] <abeato> Oct 04 10:45:01 numancia snapd[1047]: stateengine.go:108: state ensure error: devicemgr: cannot use gadget snap because its base "core18" is different from model base ""
[10:58] <pokk> Chipaca: so would one dare pinging cachio now?
[10:58] <Chipaca> cachio: 👋
[10:59] <Chipaca> cachio: could you add home and removable-media to the rsync snap?
[11:01] <cachio> Chipaca, sure
[11:01] <pokk> I'd offer you a strawberry and banana small pancake as a thank you, but I'm guessing they'd not be so nice after an airplane trip
[11:01] <cachio> Chipaca, you mean to the save/restore snapd state ritght?
[11:02] <Chipaca> cachio: no, it's because pokk is wanting to rsync some things to /media/<something>/
[11:02] <Chipaca> cachio: and the rsync snap doesn't have the right interfaces
[11:02] <Chipaca> cachio: and you're the rsync snap publisher :)
[11:02] <cachio> Chipaca, ah
[11:03] <cachio> sure
[11:06] <mborzecki> re
[11:15] <cachio> pokk the snap is being built, I'll ping you in few minutes when it is published
[11:15] <pokk> out of curiousity. Where's the code for something like rsync? Is it all on github? If so my foo seems to be missing it
[11:15] <pokk> cachio: wow, that's some quick working!
[11:15] <cachio> pokk, it was a small change
[11:19] <mborzecki> cachio: Refreshing store authorization failed for test-snapd-rsync hmm
[11:20] <cachio> mborzecki, didn't update the test-snapd-rsync :)
[11:20] <cachio> it is the same
[11:20] <mborzecki> cachio: ah, i read some of the backlog, but not all :P
[11:20] <cachio> just updates the rsync
[11:20] <cachio> and it is not published yet
[11:21] <cachio> mborzecki, but if you have a log please share it so I can take a look
[11:21] <mborzecki> cachio: got this by email just few minutes ago
[11:22] <mborzecki> cachio: https://launchpad.net/~snappy-dev/+snap/test-snapd-rsync/+build/693784 store upload failed
[11:22] <mborzecki> btw. does anyone click the retry button when it happens?
[11:24] <cachio> mborzecki, you are right
[11:25] <cachio> rsync project created the test-snapd-rsync snap
[11:26] <Chipaca> cachio: mborzecki: I too am being spammed with these test-snapd-rsync emails
[11:26] <Chipaca> no idea what they're about :-)
[11:26] <cachio> but is was correctly built
[11:27] <Chipaca> cachio: the email says: Depending on the error message above, this may indicate a bug.  If so, you
[11:27] <Chipaca> may be able to work around it by reauthorizing Launchpad to upload the
[11:27] <Chipaca> package in question:
[11:27] <Chipaca> cachio:
[11:27] <Chipaca>   https://launchpad.net/~snappy-dev/+snap/test-snapd-rsync/+authorize
[11:27] <Chipaca> ¯\_(ツ)_/¯
[11:27] <Chipaca> cachio: but I don't know how this is connected to the 'rsync' snap :)
[11:28] <mborzecki> Chipaca: test-snapd->>>>>rsync<<<<< xD
[11:28] <mborzecki> only connection i see tbh
[11:29] <Chipaca> cachio: ACKshully, it might be that you created both (they're both in your name), and it looks like the only difference is the snap name itself :-)
[11:29] <Chipaca> cachio: so maybe you just changed the name: entry in the yaml :)
[11:29] <cachio> mborzecki, Chipaca I think the problem is that the owner for the snap package in launchpad is dnappy-developers and in the stop I am
[11:29] <mborzecki> pedronis: can you take a look https://github.com/snapcore/snapd/pull/7543 later on?
[11:29] <mup> PR #7543: release: make forced dev mode look at cgroupv2 support <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/7543>
[11:30] <Chipaca> cachio: wo'a mess
[11:47] <cachio> Chipaca, moving all the test snaps to snappy-dev
[11:47] <Chipaca> cachio: and the plain 'rsync' snap?
[11:47] <cachio> Chipaca, too
[11:48] <cachio> Chipaca, does it make sense for you?
[11:48] <Chipaca> cachio: yeah, probably (either that or straight up Canonical for the rsync one)
[12:01] <pokk> seems like I caused some added trouble here :| sorry about that
[12:07] <Chipaca> pokk: it obviously needed sorting
[12:08] <Chipaca> that snap hadn't been rebuilt in over a year → it almost certainly needed rebuilding at least to pick up new libs
[12:12] <pokk> sure, but also unplaned workd
[12:24] <cachio> pokk, hey, could you try the test-snapd-rsync snap
[12:25] <cachio> pokk, this is the same than the rsync once
[12:25] <cachio> pokk, if it works well then I'll see how to release the rsync once
[12:25] <cachio> one
[12:26] <pokk> just `snap install test-snapd-rsync` then?
[12:27] <cachio> then you need to connect the interface
[12:28] <cachio> pokk, you also can do snap alias test-snapd-rsync.rsync rsync
[12:28] <pokk> right
[12:29] <cachio> so then you will be able to do rsync and it will call the test-snapd-rsync snap
[12:31] <cachio> pokk, did it connect=
[12:31] <cachio> ?
[12:31] <cachio> pokk, sudo snap connect test-snapd-rsync:removable-media
[12:31] <cachio> this should be enough
[12:31] <cachio> then you should be able to use it
[12:31] <pokk> it seeems to work
[12:32] <pokk> I'm running it on an raspberry pie 3 so it's sloooow
[12:33] <cachio> pokk, is it ok for you to use it until we decide what to do with the rsync one?
[12:33] <cachio> today/monday
[12:34] <pokk> cachio: oh for sure. Atm I'm really just trying core out. Trying to get a feel for it. I'd probably reinstall next week anyway and restart from scratch
[12:35] <cachio> pokk, nice, I'll discuss about this today
[12:35] <cachio> thanks
[12:35] <pokk> it's not like I'm paying you for the development atm :) So I can't demand things to be solved in hours. Monday would be weeks/months faster than some problems one encounters at times
[12:35] <pokk> aaaaand, sometimes you'll not get things fixed even when paying looots of money :|
[12:35] <Chipaca> ooh, I could go with that plan
[12:36] <Chipaca> (a) get paid looots of money, (b) do nothing
[12:36] <Chipaca> (c) and (d) are not needed because see (a)
[12:37] <pokk> well I mean, we're getting the service. But not getting things outside of the very small box
[12:37]  * pokk isn't at all grumpy
[12:37] <pokk> oh, and just to be clear. I'm not talking about Ubuntu at all here
[12:38] <pokk> and now my rsync backup works :) Thanks a lot!
[12:40] <Chipaca> pokk: with my canonical-employee hat on, if you ever find yourself in that kind of place with canonical, please do reach out
[12:41] <Chipaca> everybody can mess up and get stuck in that kind of place with a contract, but all it should take is a conversation to dislodge things
[12:44] <pokk> Chipaca: I'm talking about some of the bigger cloud providers :) At times they can be super helpful, at times they'll just refuse to help at all. No matter how many zeroes there's in the bill you're paying each month
[12:45] <mup> PR snapd#7556 opened: image,seed/seedwriter: switch image to use seedwriter.Writer <Created by pedronis> <https://github.com/snapcore/snapd/pull/7556>
[13:01] <Chipaca> pedronis: stdup?
[13:01] <zyga> I cannot join
[13:01] <zyga> Still looking after Lucy
[13:01] <zyga> No work done today
[13:09]  * Chipaca hugs zyga 
[13:09] <Chipaca> zyga: that's ok
[13:10] <Chipaca> zyga: you know what happens when you don't come to the standup
[13:10]  * Chipaca assigns everything to zyga
[13:30] <cachio> mborzecki, https://travis-ci.org/snapcore/snapd/jobs/593470475#L9354
[13:30] <cachio> now happening in i386
[13:32] <mborzecki> cachio: looks like the job took too long, nothing seems to have explicitly failed
[13:37] <cachio> mborzecki, I thing it got stuck as it used to happend in arch
[13:37] <cachio> mborzecki, then the build fails because of this test
[13:39] <mborzecki> cachio: hmm that's possible, we know there's a race, but unless someone picks up the work on the kernel or strace side it's not going to get fixed :(
[13:41] <cachio> mborzecki, makes sense, if I see this again in i386 I'll apply the same solution than arch
[13:52] <Chipaca> popey: are you a round?
[13:54] <roadmr> round like 🔵  ?
[14:28] <mup> PR snapcraft#2740 opened: crystal plugin: add flags to use during shards build <Created by mamantoha> <https://github.com/snapcore/snapcraft/pull/2740>
[14:33] <cachio> zyga, there?
[15:05] <joeubuntu> Snappers (is that a thing? it should be...) I have a snap that uses python's plotly module to create an html page which it opens using the default browser. In my snap when that is called it just hangs. What do I need to do in my yaml to make it work? Thanks for the help!
[15:08] <Chipaca> joeubuntu: https://www.urbandictionary.com/define.php?term=snapper er.
[15:08]  * cachio lunch
[15:09] <Chipaca> joeubuntu: add the 'desktop' interface, so you can run xdg-open
[15:09] <joeubuntu> thanks Chipaca , let me try that!
[15:26] <joeubuntu> Woot! It worked if I installed the package snapd-xdg-open on the host, is there a way to make the snap require that somehow on install or in the yaml ?
[15:40] <Chipaca> joeubuntu: what is the description of snapd-xdg-open?
[15:40] <joeubuntu> Chipaca  This is a transitional dummy package. It can safely be removed.
[15:40] <Chipaca> joeubuntu: thank you.
[15:41] <Chipaca> joeubuntu: you can remove that package, it has nothing in it.
[15:41] <joeubuntu> The browser will not launch without it though.
[15:41] <Chipaca> joeubuntu: try a second time
[15:41] <Chipaca> there's a bug with the auto-launching of the service
[15:41] <Chipaca> where the first time it auto-laucnhes but doesn't open the thing
[15:42] <Chipaca> it's fixed in … master at least
[15:42] <Chipaca> dunno where it is in the release queue
[15:45] <joeubuntu> That is incredibly confusing. It throws the error:" user-open error: Object does not implement the interface ." Which googling leads to snapcraft forum posts about the snapd-xdg-open package needing  to be installed
[15:45] <joeubuntu> But you are right, running it a second time fixes that.
[15:48] <Chipaca> joeubuntu: yeah! it's a stupid bug
[15:48] <Chipaca> joeubuntu: we put the service on the bus before attaching the interfaces to it
[15:49] <Chipaca> joeubuntu: because we are super smart (tm)
[15:49] <Chipaca> anyway it's fixed, but annoying until that's sorted
[15:49] <Chipaca> joeubuntu: the fascinating thing is how long it took for that one to be noticed
[15:49] <Chipaca> people just double-clicked, i guess?
[15:50] <joeubuntu> Chipaca I just click harder if it doesn't work ... that helps, right?
[15:50] <joeubuntu> Thanks for the help!
[15:50] <Chipaca> joeubuntu: totally. That error message _means_ "click harder next time!"
[15:50] <joeubuntu> 😂
[15:53]  * diddledan clicks. quite hard.
[15:55]  * Chipaca buys shares in sellers of replacement clicky things
[15:55] <diddledan> I got a new clicky today!
[15:56] <diddledan> it's not got a wire!
[15:56] <diddledan> this is voodoo...
[16:29] <Chipaca> diddledan: who do?
[16:29] <diddledan> you do!
[16:30] <Chipaca> https://www.youtube.com/watch?v=UunvsU66B4Y
[16:39]  * cwayne is disappointed that YouTube links not for labyrinth
[16:49] <Chipaca> it'd have to be a qr code
[16:55] <mup> PR snapcraft#2697 closed: Neon extension <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2697>
[17:02] <pokk> so far it seems like a raspberry pi 3b+ with ubuntu core on it is a really great setup. The poor thing have been on heavy load for a few hours but it seems to work great
[17:13] <ackk> hi, is there a way to autoconnect interfaces for a snap with "snap try" or when installing with --dangerous?
[17:24] <mup> PR snapd#7445 closed: overlord/snapstate/policy, etc: introduce policy, move canRemove to it <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/7445>
[19:10]  * cachio afk
[19:53] <mup> PR snapcraft#2741 opened: extensions: support using gjs from gnome runtime <Created by galgalesh> <https://github.com/snapcore/snapcraft/pull/2741>
[20:56] <mup> PR snapcraft#2742 opened: cli: use click utilities for login prompts <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2742>