mborzecki | morning | 05:57 |
---|---|---|
mup | PR snapd#4269 closed: timeutil: new refresh timer parser <Created by bboozzoo> <Closed by bboozzoo> <https://github.com/snapcore/snapd/pull/4269> | 06:06 |
mborzecki | mvo: morning | 06:45 |
mvo | hey mborzecki, good morning! | 06:47 |
mborzecki | mvo: did you have your morning coffee? because I need some help right here https://github.com/snapcore/snapd/pull/4296#discussion_r153116179 | 06:48 |
mup | PR #4296: packaging/arch: pre-create snapd directories when packaging <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/4296> | 06:48 |
mvo | mborzecki: sure, let me have a look. I had my cup of morning tea (Hainan Bai Cha Lu which I can hightly recommend ;) | 06:49 |
mvo | mborzecki: haha, yeah, its confusing because snapd creates dirs on demand so if we don't update the dirs files we don't notice | 06:50 |
mvo | mborzecki: I think you are on the right track, i.e. lets make sure we get it right at least once | 06:50 |
mborzecki | haha | 06:50 |
mborzecki | are any of the directories listed specific for ubuntu package only? | 06:51 |
mborzecki | umm, and /var/snap, it holds SNAP_DATA or SNAP_USER_COMMON? | 06:53 |
mvo | mborzecki: yeah, we want this too | 06:55 |
mvo | mborzecki: the dirs/dirs.go is the best source I think | 06:55 |
mvo | mborzecki: because we use it for mocking in the tests pretty much everything is listed there | 06:55 |
mborzecki | ok, i'll update the list for arch then along with some other fixes | 06:56 |
mvo | mborzecki: sounds good, bonus points for a PR that also updates the other packaging :) | 06:56 |
mborzecki | spread tests actually caught stuff like a missing manpage for snap, some missing dirs in /var/lib/snap | 06:56 |
mvo | mborzecki: nice! | 06:58 |
mvo | mborzecki: thanks again for doing those new arch tests | 06:58 |
mup | PR snapd#4300 opened: packaging/arch: install missing directories, manpages and version info <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4300> | 07:16 |
ogra_ | cjwatson, does LP snap building have a network prob ? https://launchpad.net/~snappy-hwe-team/+snap/wifi-connect-daily (seems there are proxy errors for git.lp.net) | 08:06 |
mborzecki | pushed another set of fixes for spread with Arch, let's see how far we get this time | 08:07 |
mborzecki | pstolowski: morning | 08:11 |
pstolowski | mborzecki, hey! | 08:11 |
zyga-solus | hello | 08:16 |
zyga-solus | mvo: sorry for being late, my daughter is sick and I'm the parent that says at home | 08:16 |
zyga-solus | things are under control now so I'll get to work | 08:16 |
mborzecki | zyga-solus: hey, sorry to hear about your daughter, hope she recovers quickly | 08:22 |
zyga-solus | mborzecki: just some fever | 08:23 |
zyga-solus | mborzecki: she wasn't sick in years so it's an event :) | 08:23 |
zyga-solus | mborzecki: it started (obviously) on Friday after the swimming pool, she's much better now | 08:24 |
mborzecki | i suppose one of the downsices of coming back to polish climate | 08:24 |
zyga-solus | indeed | 08:24 |
zyga-solus | but they'd love to see some snow again | 08:24 |
zyga-solus | so the mood is very good | 08:25 |
mborzecki | i remember i used to like playing in snow when i was a child | 08:25 |
mup | PR snapd#4300 closed: packaging/arch: install missing directories, manpages and version info <Created by bboozzoo> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4300> | 08:26 |
mborzecki | then i grew up and had to commute to work in the morning, in the snow:/ | 08:26 |
zyga-solus | mborzecki: she saw snow when she was maybe 6 or 5 | 08:26 |
zyga-solus | mborzecki: we went to a valley in the pyrenees :) | 08:27 |
mborzecki | hahah | 08:27 |
zyga-solus | she cut her arm on some sharp ice | 08:27 |
zyga-solus | and keeps recalling that whenever we mention winter again :) | 08:28 |
mborzecki | ouch | 08:28 |
mup | PR snapd#4294 closed: Mount with x-gdu.hide option <Created by azzar1> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4294> | 08:28 |
zyga-solus | man, we're rocking at 20 PRs | 08:28 |
zyga-solus | and many more to land soon | 08:28 |
zyga-solus | https://github.com/snapcore/snapd/pull/4281 needs a 2nd review and is green | 08:28 |
mup | PR #4281: snapstate: support for pre-refresh hook <Created by stolowski> <https://github.com/snapcore/snapd/pull/4281> | 08:28 |
* ikey will be sending more once he's alive again.. | 08:28 | |
zyga-solus | ikey: hey, thank you :) | 08:29 |
zyga-solus | your PRs are always welcome :) | 08:29 |
ikey | merci :] | 08:29 |
ikey | gotta work out how to get fedora nvidia happy | 08:29 |
ikey | the new glvnd stuff | 08:29 |
zyga-solus | mvo: I wonder what to do about https://github.com/snapcore/snapd/pull/4140 -- I'll ask jdstrand for a look but it "feels" ready otherwise | 08:30 |
mup | PR #4140: interfaces: add an interface for gnome-online-accounts D-Bus service <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/4140> | 08:30 |
zyga-solus | ikey: I think (fortunately) everyone will use it eventually | 08:30 |
zyga-solus | (much better than dpkg alternatives or other voodoo) | 08:31 |
ikey | yeah we have an open issue in solus for it too | 08:31 |
ikey | we also have to do similar levels of magic filesystem butchery to make GL work | 08:31 |
ikey | i.e. /usr/lib64/libGL.so.1: symbolic link to /usr/lib64/glx-provider/nvidia/libGL.so.384.98 | 08:31 |
ikey | but we live in a post update-alternatives world :p | 08:32 |
ikey | speaking of jdstrand - around today? | 08:32 |
zyga-solus | ikey: I cannot say, let me check | 08:33 |
ikey | merci | 08:33 |
zyga-solus | ikey: he seems to be around today | 08:36 |
ikey | ah cool | 08:36 |
ikey | there is light at the end of the tunnel then ^^ | 08:36 |
zyga-solus | ikey: and it says "choooo chooo" | 08:38 |
ikey | lol yeah | 08:38 |
mvo | zyga-solus: yeah, I think we need a security review but I would love to merge it | 08:39 |
zyga-solus | mvo: indeed, I would like to wait for jdstrand | 08:39 |
mvo | zyga-solus: re late> no worrie | 08:39 |
mvo | s | 08:39 |
* ikey blinks at the external repos forum thread | 08:42 | |
ikey | nitrux reasoning is uh, off, to say the least | 08:42 |
ikey | they're insinuating that snapd-glib{,qt} isnt maintained | 08:43 |
zyga-solus | ikey: which thread is that? | 08:45 |
ikey | https://forum.snapcraft.io/t/external-repositories/1760/144 | 08:46 |
mborzecki | interesting, anyone used nitrux? what's special about this one? | 08:47 |
ikey | it uses not-a-budgie | 08:47 |
ikey | (the desktop looks like a qt/kde budgie) | 08:47 |
ikey | and i think they do hardware stuff? | 08:47 |
mborzecki | interesting | 08:47 |
mborzecki | their page has some issues in ff through :( | 08:48 |
zyga-solus | mvo: do you know what is the status of https://github.com/snapcore/snapd/pull/3998 -- it feels like that's something on our plate now | 09:27 |
mup | PR #3998: snap-confine, snap-seccomp: utilize new seccomp logging features <Created by tyhicks> <https://github.com/snapcore/snapd/pull/3998> | 09:27 |
zyga-solus | mvo: let's talk about that at the standup perhaps? | 09:28 |
zyga-solus | mvo: and on the same vein: https://github.com/snapcore/snapd/pull/4049 -- this is clearly our game but I'd like to know your plans for it | 09:28 |
mup | PR #4049: debian,vendor: import github.com/snapcore/squashfs and use <Blocked> <Created by mvo5> <https://github.com/snapcore/snapd/pull/4049> | 09:28 |
mvo | zyga-solus: iirc one blocker is that the downstreams need an updated seccomp golang | 09:29 |
mvo | zyga-solus: but yeah, we need to talk about it | 09:29 |
mvo | zyga-solus: iirc the code itself (without our libseccomp etc) is fine now, I updated the tests ages ago | 09:29 |
cjwatson | ogra_: Thanks, something does seem to be badly wrong with the snap-proxy. Investigating | 09:30 |
ogra_ | thx | 09:30 |
cjwatson | ogra_: Should be fine now | 09:57 |
cjwatson | (restarted squid) | 09:57 |
ogra_ | cjwatson, thanks a lot | 10:01 |
mup | PR snapd#4301 opened: interfaces: small helpers <Created by stolowski> <https://github.com/snapcore/snapd/pull/4301> | 10:03 |
=== chihchun is now known as chihchun_afk | ||
mup | PR snapd#4302 opened: timeutil, overlod/snapstate: cleanup remaining pieces of timeutil weekday support <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/4302> | 10:04 |
zyga-solus | pstolowski: reviewed | 10:07 |
pstolowski | zyga-solus, that was quick, thanks! will move the test into separate method | 10:08 |
zyga-solus | thanks | 10:08 |
zyga-solus | mborzecki: same, though asked a small uncomfortable question | 10:08 |
=== chihchun_afk is now known as chihchun | ||
pstolowski | zyga-solus, done | 10:16 |
mborzecki | zyga-solus: thanks, and mvo thanks for addressing zyga's comment :) | 10:20 |
mvo | yw | 10:21 |
mborzecki | pstolowski: added some reflect magic in the comments to your PR | 10:54 |
pstolowski | mborzecki, I saw that, thanks! i like that, let's see if anyone opposes it, if not this is going to simplify some of the changes i'm doing right now, actually | 10:59 |
mborzecki | pstolowski: i'm quite sure it works for simple assignable types, haven't checked slices or functions | 11:00 |
zyga-solus | mborzecki: I think we try to avoid reflection in non-test code | 11:03 |
mvo | meh, tests are hitting the timeouts pretty consistently currently :( | 11:05 |
pstolowski | ah, here you go | 11:05 |
mborzecki | zyga-solus: you mean hand written reflection? because json de/encoding does the same (just in more horrid way) | 11:05 |
mvo | mborzecki: 4285 has conflicts (in case you haven't seen that already) | 11:07 |
mborzecki | mvo: thaks, i'll take a look later, hopefully nothing too complicated | 11:09 |
zyga-solus | mborzecki: I mean "import reflect" in general, that was my experience at least | 11:12 |
zyga-solus | mborzecki: but we'll see, I'm don't know :-) | 11:12 |
zyga-solus | mvo: store woes or things we're not re-trying? | 11:12 |
mvo | zyga-solus: not sure | 11:16 |
mvo | mborzecki: yeah, probably small stuff, I also added some comments, a bit drive-by, sorry for that, will do a more systematic one too | 11:16 |
mup | PR snapd#4303 opened: interfaces: use ConnectedPlug/ConnectedSlot types (step 1) <Created by stolowski> <https://github.com/snapcore/snapd/pull/4303> | 11:28 |
pedronis | mvo: hi, I did a final pass on a couple of your open PRs | 11:29 |
pedronis | now lunch | 11:29 |
mvo | pedronis: \o/ thank you | 11:35 |
mvo | pedronis: I check it out | 11:35 |
=== chihchun is now known as chihchun_afk | ||
cachio | mvo, hey, I'll be 5 minutes late for the standup | 11:50 |
mvo | cachio: no problem | 11:50 |
cachio | mvo, tx | 11:50 |
niemeyer | Hellos | 11:50 |
mvo | pstolowski: woah, 4303 looks like you had a lot of work with that one | 11:50 |
niemeyer | Good mondays | 11:50 |
mvo | good morning niemeyer, happy monday! | 11:51 |
pstolowski | mvo, it was a pleasure | 11:51 |
pstolowski | mvo, just kidding ;) | 11:51 |
mvo | pstolowski: rotfl | 11:51 |
mvo | pstolowski: it looks impressive in any case :) | 11:52 |
pstolowski | hey niemeyer! any thoughts on the suggestion from mborzecki here in the comments: https://github.com/snapcore/snapd/pull/4301 ? | 11:56 |
mup | PR #4301: interfaces: small helpers <Created by stolowski> <https://github.com/snapcore/snapd/pull/4301> | 11:56 |
zyga-solus | pstolowski: OMG 4303 is monumental | 12:00 |
pstolowski | zyga-solus, it would be 2x more if I didn't artificially split it (with the hack mentiond in the desc) | 12:01 |
pstolowski | yeah, these kind of changes are pain.. | 12:01 |
niemeyer | pstolowski: Looking | 12:02 |
pstolowski | niemeyer, zyga-solus was saying we don't want to use reflection in the code? | 12:03 |
niemeyer | pstolowski, mborzecki: That's quite nice | 12:04 |
niemeyer | pstolowski: I don't see why.. we're using reflection like this all the time because we use json | 12:04 |
pstolowski | good | 12:04 |
niemeyer | jdstrand: ping | 12:36 |
pedronis | niemeyer: hi, could you look at #4281 it looks sane to me, but I wasn't there when the details of it where discussed | 12:37 |
mup | PR #4281: snapstate: support for pre-refresh hook <Created by stolowski> <https://github.com/snapcore/snapd/pull/4281> | 12:37 |
niemeyer | pedronis: On it | 12:38 |
mup | PR snapd#4302 closed: timeutil, overlod/snapstate: cleanup remaining pieces of timeutil weekday support <Created by bboozzoo> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/4302> | 12:40 |
niemeyer | pedronis, pstolowski: Sent some questions about the details there | 12:46 |
zyga-solus | mborzecki: trivial conflict on 4285 | 12:50 |
niemeyer | zyga-solus: Coming? | 13:02 |
sergiusens | zyga-solus remind me again, when using a non ubuntu kernel on ubuntu, but having confinement enabled, how do I tell snap-confine to behave? http://pastebin.ubuntu.com/26057979/ | 13:02 |
zyga-solus | niemeyer: yes, just 2fa woes | 13:02 |
zyga-solus | sergiusens: I think this is fixed in master now | 13:04 |
sergiusens | mpt hey there, mind reviewing the wording on this PR? https://github.com/snapcore/snapcraft/pull/1634/files | 13:06 |
mup | PR snapcraft#1634: Push metadata to the Store <Created by facundobatista> <https://github.com/snapcore/snapcraft/pull/1634> | 13:06 |
mpt | sure | 13:06 |
sergiusens | mpt thanks! | 13:06 |
sergiusens | mpt if you think of a better "command name" don't hesitate to bring it up :-) | 13:07 |
Facu | mpt, sergiusens, thanks | 13:07 |
sergiusens | zyga-solus to use master, do I just bring it in? As in, is snap-confine going to be executed host side or from "core/base" if I build a package from master and install? | 13:08 |
zyga-solus | sergiusens: you just use edge, hopefully that should be enough | 13:09 |
sergiusens | zyga-solus ah, that's risky business :-P | 13:09 |
sergiusens | zyga-solus might it be in beta or candidate? | 13:09 |
* sergiusens refreshes to edge | 13:10 | |
sergiusens | I hope that going to candidate eventually (to a past revision) won't ruin up all the apparmor or seccomp profiles created | 13:11 |
* lundmar looks around pondering how to speed up his alias request for lxi-tools :) | 13:11 | |
sergiusens | zyga-solus do I need to reboot? | 13:18 |
sergiusens | if the answer is no, the fix does not seem to be in master | 13:18 |
lundmar | Hmm, I've granted build.snapcraft.io access to the repositories in one of my organizations. However, now I need to grant access to other repositories in a different organization but I can't find or reopen the interface for doing that at build.snapcraft.io ? | 13:18 |
lundmar | Oh never mind, I've found it. | 13:19 |
mpt | sergiusens, I think it would take a long time for me to learn enough to have a useful opinion on that PR, so I’ll stay out of it. Sorry. :-) | 13:20 |
sergiusens | mpt how about if I just ask you to look at this https://forum.snapcraft.io/t/mechanisms-for-converging-store-and-snap-metadata/2200 ? | 13:22 |
sergiusens | mpt oh, you already have | 13:22 |
sergiusens | mpt Facu instead of `snapcraft update-metadata` what about `snapcraft push-metadata` which has a more consistent feel to the default `push` or do we want to keep the word "update" in there? | 13:24 |
mpt | sergiusens, that seems reasonable to me | 13:25 |
lundmar | no more update, upload, just push please :) | 13:25 |
Facu | sergiusens, not following you... currenct command is `snapcraft push <snap> --only-metadata` | 13:40 |
Facu | sergiusens, no "update" at all | 13:40 |
sergiusens | mpt Facu sorry my head works in mysterious ways... I don't know where I got my references from; but starting from scratch, does `snapcraft push-metadata` feel more straightforward and understandable than `snapcraft push --only-metadata`? | 13:43 |
mpt | sergiusens, to me, yes | 13:43 |
sergiusens | thanks for the feedback mpt | 13:45 |
Facu | sergiusens, `snapcraft push-metadata <snap> [--force]` ? | 13:47 |
sergiusens | yes | 13:47 |
sergiusens | mvo zyga-solus help, I cannot come back to stable after going to edge it seems http://pastebin.ubuntu.com/26058202/ | 13:50 |
sergiusens | it is stuck there | 13:50 |
mvo | sergiusens: yes, its a known issue, the fix is in an open PR. in the meantime, please run `snap changes` and check the change in "do" start and `snap abort <nr>` it | 13:50 |
mvo | sergiusens: that should unbreak you | 13:51 |
mvo | sergiusens: this https://github.com/snapcore/snapd/pull/4298 is the fix | 13:51 |
mup | PR #4298: many: remove configure-snapd task again and handle internally <Created by mvo5> <https://github.com/snapcore/snapd/pull/4298> | 13:51 |
mvo | sergiusens: once it lands things are good again | 13:51 |
sergiusens | mvo ok, thanks | 13:51 |
sergiusens | so I get to stay on edge until this gets there :-P | 13:52 |
mvo | sergiusens: :) yes | 13:52 |
mvo | sergiusens: hopefully this lands today | 13:52 |
sergiusens | if I become unresponsive everyone should know why ;-) | 13:52 |
sergiusens | great | 13:52 |
mvo | sergiusens: heh | 13:53 |
sergiusens | mvo I kid thought, I have my wifes computer close by ;-) | 13:53 |
sergiusens | zyga-solus bottom line, edge does not have the fix which makes me boot with `apparmor=0` and I am totally confused as why that would be more secure :-/ | 13:54 |
zyga-solus | sergiusens: to the best of my knowledge, yes | 14:02 |
zyga-solus | sergiusens: what are you getting? | 14:02 |
* zyga-solus lunches | 14:05 | |
sergiusens | zyga-solus same message as before and snap-confine going dead | 14:34 |
zyga-solus | sergiusens: hmm, "not confined but should be"? | 14:41 |
lundmar | Question, why is it that some use "description: |" and some simply "description:" ? It seems to make no difference. | 14:41 |
sergiusens | lundmar multiline is easier with `description: |` | 14:42 |
mup | PR snapd#4304 opened: debian: demote gnupg from dependencies to recommends <Created by mvo5> <https://github.com/snapcore/snapd/pull/4304> | 14:42 |
sergiusens | e.g.; for writing paragraphs | 14:42 |
lundmar | sergiusens: But even without | paragraphs seems to work just fine | 14:43 |
sergiusens | zyga-solus yes | 14:43 |
zyga-solus | sergiusens: what does `aa-enabled` say? | 14:43 |
sergiusens | lundmar I'd have to check the yaml spec to get a better answer to this one | 14:43 |
lundmar | sergiusens: fyi - this works fine: https://github.com/lxi/lxi-tools.snapcraft/blob/master/snap/snapcraft.yaml | 14:44 |
sergiusens | zyga-solus exactly what I shared on the first pastebin; I am now running disabled to get work done | 14:44 |
zyga-solus | hmm hmm | 14:44 |
zyga-solus | (that's not good) | 14:44 |
sergiusens | zyga-solus exactly, I am about to "distro patch" that check out of the code base to be able to enable apparmor again | 14:45 |
zyga-solus | sergiusens: how do I run a mailine kernel like you do? | 14:45 |
lundmar | sergiusens: If it is perfectly fine to not use | then I think it should not be encouraged to use it - it simply becomes noise/clutter. | 14:46 |
sergiusens | lundmar can you check the spec and make sure that is the case? It might as well be, but we initially had problems when we didn't | 14:47 |
lundmar | perhaps it has been improved since | 14:47 |
sergiusens | zyga-solus you can use the one the kernel team provides or use https://github.com/jakeday/linux-surface which is what I have | 14:47 |
sergiusens | zyga-solus https://wiki.ubuntu.com/Kernel/MainlineBuilds | 14:49 |
zyga-solus | sergiusens: let me try those and get back to you | 14:49 |
lundmar | the only place I can find a doc reference to | is https://docs.snapcraft.io/build-snaps/your-first-snap | 14:51 |
lundmar | However, it seems to work just fine without so I guess recent snapd supports not using the odd | | 14:52 |
lundmar | *snapcraft | 14:52 |
=== cachio is now known as cachio_LUNCH | ||
=== cachio_LUNCH is now known as cachio_lunch | ||
sergiusens | kyrofa are you up and about? How was the weekend? | 15:21 |
mup | PR snapd#4305 opened: snapd.dirs: add var/lib/snapd/lib/gl32 <Created by mvo5> <https://github.com/snapcore/snapd/pull/4305> | 15:27 |
kyrofa | sergiusens, I am, good morning | 15:28 |
sergiusens | kyrofa good afternoon then :-P | 15:28 |
kyrofa | Yeah, good weekend. The rest of the hardware for my series arrived, so I took some of my intro footage before I needed to poke holes in the box | 15:29 |
kyrofa | You? | 15:30 |
pstolowski | niemeyer, the question you raised on 4281 wrt running pre-refresh hook if snap is not active is an interesting problem. the short answer is no, I should prevent this, because it won't work. but the question is what's the right thing to do. the fact that we will not execute this hook on refresh just because the user has disabled the snap seems a but questionable | 15:34 |
pedronis | pstolowski: let me check something | 15:39 |
pedronis | pstolowski: we don't refresh inactive snaps atm (we said it the past that we should reconsider that decision, but that's the current status) | 15:41 |
pstolowski | pedronis, hmm how is it the case? we do have logic around isActive in doInstall (update)? or do we cut this off somewhere else? | 15:42 |
pedronis | pstolowski: look at Update and refreshCandidates | 15:42 |
pstolowski | pedronis, aha! | 15:43 |
pedronis | // FIXME: snaps that are not active are skipped for now | 15:43 |
pedronis | // until we know what we want to do | 15:43 |
pedronis | if !snapst.Active { | 15:43 |
pstolowski | pedronis, thanks! | 15:43 |
pstolowski | that answers it | 15:43 |
niemeyer | pstolowski: Yeah, I don't quite understand the question, probably based on pedronis' feedback | 15:45 |
niemeyer | pstolowski: Inactive snaps are equivalent to not being there at all in many senses | 15:45 |
niemeyer | pstolowski: We definitely don't want logic running on them | 15:45 |
pedronis | yea, I think the current decision is probably right in retrospect, and will be even saner with epoch support | 15:46 |
pstolowski | niemeyer, yes. but the bottom line (as far as I understand this) is the logic wouldn't be fired anyway in this case. i'm adding isActive check anyway | 15:47 |
niemeyer | pstolowski: I don't understand the point.. the check there which was omitted is meant to check for exactly this, right? | 15:48 |
pedronis | pstolowski: notice that that check about Active in doInstall is probably just a historical spelling of IsInstalled I think | 15:50 |
pedronis | it would also support refreshing an inactive snap (which we don't do though) | 15:51 |
pstolowski | okay, not doing anything about that then. the problem of running after stop-services is fixed now. the post-refresh hook already runs before start-snap-services, so nothing to fix there | 15:55 |
pstolowski | niemeyer, ^ | 15:55 |
niemeyer | pstolowski: Sounds good, let me know when it's ready for another round please | 15:56 |
sergiusens | kyrofa did you catch my comment on the `init` PR? | 15:58 |
pstolowski | niemeyer, it is now | 16:00 |
kyrofa | sergiusens, init? Are you talking about the tuple one? | 16:00 |
=== cachio_lunch is now known as cachio} | ||
=== cachio} is now known as cachio | ||
sergiusens | kyrofa yeah | 16:01 |
kyrofa | sergiusens, I did, and you're right, considering that's on our roadmap anyway implementing the SNAPCRAFT_ARCH_TRIPLET seems the proper fix. However, do we want to add gcc as a required build-package for everything? | 16:04 |
kyrofa | We could go the other way and use the map we already have | 16:05 |
kyrofa | sergiusens, note that I'm working on the macaroon at the moment. Would you like me to give this priority? | 16:07 |
sergiusens | kyrofa yeah, use the map; macaroon stuff can go first too | 16:08 |
kyrofa | You got it | 16:08 |
lundmar | I assume it is still the correct procedure to request aliases in the snapcraft forum or has procedure changed? (alias vs declarations?) | 16:16 |
kyrofa | lundmar, indeed, that's correct | 16:19 |
lundmar | kyrofa: ok, so I just have to be patient :) | 16:24 |
lundmar | fyi - I've put an alias request in the "store" forum channel. | 16:24 |
kyrofa | lundmar, can you provide a link here? | 16:32 |
kyrofa | lundmar, oh, found it | 16:32 |
lundmar | ok thanks | 16:32 |
lundmar | the lxi-tools one | 16:33 |
kyrofa | lundmar, note that there's a waiting period for comments (a week I think) | 16:35 |
kyrofa | There was a document about the process, but I think the forum swallowed it | 16:35 |
kyrofa | A topic, rather | 16:35 |
lundmar | oh. Wau thats quite some time :/ | 16:37 |
lundmar | Wouldn't it be easier for everyone if you guys only have to address and vote to solve alias conflicts instead of voting all alias requests? | 16:38 |
sergiusens | kyrofa a final ack on snapcraft#1759 would be nice :-) | 16:43 |
mup | PR snapcraft#1759: many: ensure classic confined binaries use the correct interpreter <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1759> | 16:43 |
kyrofa | Ah, the docs were updated, nice | 16:43 |
kyrofa | sergiusens, yep, excellent | 16:45 |
kyrofa | sergiusens, I suppose I need to make a forum proposal if I actually want to write a command to save the macaroon, huh? | 16:45 |
kyrofa | lundmar, yes, agreed, we just don't quite have the infrastructure for that in place just yet | 16:46 |
sergiusens | kyrofa a forum post would be ideal, yes | 16:47 |
kyrofa | Okay I've got this mostly done, that's the last step. Let me write it up | 16:48 |
mup | Issue snapcraft#1662 closed: patchelf with ld-linux <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1662> | 16:48 |
mup | PR snapcraft#1759 closed: many: ensure classic confined binaries use the correct interpreter <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1759> | 16:48 |
sergiusens | kyrofa great | 16:50 |
sergiusens | kyrofa, btw it is just me and you this week | 16:50 |
kyrofa | sergiusens, oh good to know | 16:50 |
kyrofa | I knew elopio was out | 16:50 |
* sergiusens starts getting ready for physiotherapy | 16:50 | |
jdstrand | zyga-solus: still slogging through holiday backlog. PR 4100 added to list | 16:56 |
mup | PR #4100: add ssh-keys, ssh-public-keys, gpg-keys and gpg-public keys interfaces <Created by jdstrand> <https://github.com/snapcore/snapd/pull/4100> | 16:56 |
jdstrand | zyga-solus: err, it was always on the list. I mean it is on my list for this week, assuming it doesn't get preempted | 16:57 |
jdstrand | zyga-solus: pr 4140 is also on the list. that requires some investigating from me | 17:01 |
mup | PR #4140: interfaces: add an interface for gnome-online-accounts D-Bus service <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/4140> | 17:01 |
jdstrand | niemeyer: hey, pong | 17:02 |
niemeyer | jdstrand: Heya | 17:03 |
niemeyer | jdstrand: Have you seen the follow ups on ikey's thread re. the base image? | 17:03 |
niemeyer | Erm | 17:03 |
niemeyer | base snap | 17:03 |
jdstrand | niemeyer: I saw them in my inbox but put them to the side until I could review them more carefully. I'm about to go back to them (various pings/meetings/etc this morning) | 17:04 |
niemeyer | jdstrand: Ack, just wanted to make sure it was back on your upcoming list, thanks! | 17:05 |
jdstrand | yep | 17:05 |
jdstrand | np | 17:05 |
jdstrand | niemeyer: and sorry I missed the hongout last week, was on holiday and missed the emails/etc | 17:07 |
niemeyer | jdstrand: np, and sorry for pinging while you were on holiday, it was not intended to take you out of them :) | 17:07 |
lundmar | kyrofa: I've put a forum post regarding the alias vote suggestion: https://forum.snapcraft.io/t/suggestion-only-vote-to-resolve-alias-conflicts/2966 | 17:07 |
niemeyer | pstolowski, pedronis: Shouldn't the pre-refresh hook also be gated by isActive? | 17:13 |
pedronis | niemeyer: I think we talked past each other, yes to be correct if we allow refreshing inactive snaps, but we don't do that atm. we have a similar check already in doInstall, we probably need to decide one way or another at some point | 17:14 |
pedronis | I think we want to keep things as they are (no refreshes for inactive snaps) and then probably checks in doInstall would need to be different | 17:15 |
pedronis | but I suppose for this PR the most consistent thing is to add an isActive guard | 17:15 |
pstolowski | indeed, i wanted it for clarity but afaiu it's not going to be effective atm, since refresh will not be performed | 17:15 |
niemeyer | pstolowski, pedronis: The logic there just tastes wrong in either of those cases | 17:16 |
niemeyer | We *are* checking if the snap is active before performing certain things | 17:17 |
niemeyer | So we need to make up our minds: do we assume that never happens, and really fail upfront if that does happen, or we continue to be mindful of the fact it might not be active | 17:17 |
niemeyer | What makes no sense to me unless I'm missing something, is to pretend it can happen, and code the logic incorrectly for that situation | 17:18 |
pedronis | I think we should fail upfront (the more things can happen when refreshing a snap the less it makes sense to support for refreshing inactive ones) | 17:18 |
pedronis | niemeyer: I think the current code is just a result of history, we never committed one way or another so far | 17:19 |
niemeyer | pedronis: That's fine.. I just don't want to have logic in place that is clearly wrong and we do know it's wrong | 17:20 |
niemeyer | pedronis: I would like to eventually support that use case, so one can install something without having it enabled right off | 17:20 |
niemeyer | pedronis: But there's no pressure to do that now | 17:20 |
pedronis | that's a bit different though | 17:21 |
pedronis | I mean the check I would add wouldn't involve that case directly | 17:21 |
niemeyer | pedronis: Actually, it does sound a bit awkward to *not* support it | 17:22 |
pedronis | snapst.IsInstalled && !snapst.Active => error | 17:22 |
niemeyer | pedronis: Just considering the case: there's something wrong with the current version, we disable it so it stops creating havoc | 17:23 |
niemeyer | pedronis: We want to enable it, but update it first | 17:23 |
niemeyer | pedronis: That's exactly that situation, I think | 17:23 |
niemeyer | pedronis: Unfortunately, that means the pre-hook could not run, which might be a real issue | 17:24 |
pedronis | we need custom logic | 17:24 |
pedronis | consider that pre-refresh could explode | 17:24 |
niemeyer | pedronis: So +1 on simply forbidding for now | 17:24 |
niemeyer | pstolowski: Are you with us? | 17:24 |
pstolowski | niemeyer, yes. so that's the kind of doubts I had with my original question way above, although phrased in a different way. | 17:25 |
pedronis | let me check quickly if I'm off and lots of tests explode | 17:25 |
pedronis | if we do that | 17:25 |
pedronis | which probably means it needs to be its own PR | 17:25 |
niemeyer | pstolowski: Sure, we're exploring and discussing.. | 17:25 |
niemeyer | pstolowski: and we reached an agreement.. do you understand it/agree? | 17:26 |
pstolowski | niemeyer, you want to support refresh on disabled snap, but not run the pre-refresh hook if snap is not active, is that it? | 17:29 |
pedronis | pstolowski: no, for now we want to forbid it | 17:30 |
niemeyer | pstolowski: No.. we want to forbid the situation upfront, and remove traces of that logic | 17:30 |
niemeyer | pstolowski: The code in the PR is still bogus if the situation happens, and while we can fix it to make non-bogus, we don't currently do that, and we have no tests making sure that will continue to work | 17:31 |
niemeyer | or even that it works at all | 17:31 |
niemeyer | pstolowski: So we either fix it for real, or we stop pretending, basically | 17:32 |
pedronis | I did the change locally here | 17:32 |
pedronis | test seems still happy | 17:32 |
niemeyer | That's awesome, so let's just kill it for now | 17:32 |
niemeyer | Explicitly, and with guards | 17:32 |
pedronis | pstolowski: I can give you a sketch diff in a sec | 17:34 |
pedronis | pstolowski: something like this I suppose: http://pastebin.ubuntu.com/26059429/ (given that we already have guards a level up) | 17:35 |
pstolowski | pedronis, I see | 17:38 |
brunosfer | Hi guys, I'm struggling a bit here. I'm trying to compile a go file to further develop a snap, but go tools require the go compiler and the go compiler requires gcc for ARM (in my case) and in ubuntu snap core I can't find any gcc snap. How do you guys do this? Thanks | 17:39 |
cjwatson | The existing go snap should include everything you need, shouldn't it? | 17:43 |
pedronis | pstolowski: there's some argument to produce a nice error even there, but that's the main change I think | 17:46 |
Facu | sergiusens, mpt, pushed the changes to PR with the paradigm change you requested today: https://github.com/snapcore/snapcraft/pull/1634 | 17:46 |
mup | PR snapcraft#1634: Push metadata to the Store <Created by facundobatista> <https://github.com/snapcore/snapcraft/pull/1634> | 17:46 |
Facu | roadmr, matiasb ^ | 17:46 |
matiasb | great, thx | 17:47 |
niemeyer | I need to step out for a while to run an errand. | 17:48 |
roadmr | Facu: yay thanks | 17:55 |
roadmr | hopefully sergiusens will have a moment to review that :) | 17:56 |
pstolowski | pedronis, okay, added to my PR | 17:57 |
pstolowski | thinking about test now, but i don't see how to provoke it (we cut that case off at higher level) | 17:58 |
pstolowski | pedronis, ok, pushed a simple test, can you take a look? | 18:15 |
lundmar | Is there a public online directory of all the snaps in the global store somewhere? | 18:32 |
pedronis | pstolowski: looks ok | 18:33 |
lundmar | I mean, a browsable/searchable directory. | 18:34 |
lundmar | This is the only online snap searcher/browser I can find: https://uappexplorer.com/snaps | 18:40 |
kyrofa | lundmar, yeah that's it (it's unofficial) | 18:48 |
pstolowski | eod, cu! | 19:00 |
zyga-solus | re | 19:01 |
* zyga-solus finally doesn't have to look after kids, straps for an late-night coding session | 19:01 | |
* ikey sends broken update to zyga-solus's machine | 19:05 | |
ikey | >_> | 19:05 |
ikey | <_< | 19:05 |
zyga-solus | ikey: btw, did you hear that tubmleweed added "snapshots" | 19:09 |
zyga-solus | so that you can update and keep a given snapshot | 19:09 |
zyga-solus | and rollback | 19:09 |
ikey | oh cute | 19:09 |
ikey | btrfs ? | 19:09 |
zyga-solus | I didn't read more, they mentioned "copying all the packages" | 19:09 |
ikey | ._. | 19:09 |
zyga-solus | OMG HI_TEH | 19:10 |
ikey | oh btw i wrote that hashmap in the end :p | 19:10 |
zyga-solus | ikey: nice! :) | 19:10 |
zyga-solus | ikey: I'll show you some of my stuff once it brews to usability | 19:10 |
ikey | look forward to it :] | 19:11 |
ikey | my current (early) map https://github.com/ikeydoherty/libuf/blob/master/src/map.c | 19:11 |
ikey | needs iter apis but it'll do the job for now | 19:11 |
sergiusens | Facu roadmr matiasb approved with a minor comment if you don't mind addressing | 19:11 |
mup | PR snapd#4305 closed: snapd.dirs: add var/lib/snapd/lib/gl32 <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4305> | 19:16 |
zyga-solus | jdstrand: can you please look at 4306, it's the #include vs include bug | 19:21 |
mup | PR snapd#4306 opened: cmd/snap-confine: use #include instead of bare include <Created by zyga> <https://github.com/snapcore/snapd/pull/4306> | 19:22 |
mup | PR snapd#4292 closed: snapstate: store userID in snapstate <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4292> | 19:25 |
ikey | jdstrand, ty for review! | 19:39 |
* ikey whacked the magical edge release thingy | 19:39 | |
sergiusens | kyrofa can you think of a better name than snapcraft#1755 ? the "save them to git part". Also, our first liners are getting too long to have a pleasant view after committing | 20:09 |
mup | PR snapcraft#1755: tests: collect the autopkgtest results and save them in git <Created by elopio> <https://github.com/snapcore/snapcraft/pull/1755> | 20:09 |
mup | PR snapd#4306 closed: cmd/snap-confine: use #include instead of bare include <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/4306> | 20:10 |
mup | PR snapcraft#1742 closed: lxd: always remove tmp_dir after execution <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1742> | 20:16 |
jdstrand | ikey: thanks for the snap :) | 20:27 |
Facu | sergiusens, pushed the change | 20:36 |
sergiusens | Facu thanks, as soon as that is green I will merge; thanks again! | 20:50 |
Facu | sergiusens, thank you | 20:52 |
sergiusens | kyrofa mind reviewing/testing snapcraft#1762 ? | 20:54 |
mup | PR snapcraft#1762: lxd: delete container only if parts is empty <Created by kalikiana> <https://github.com/snapcore/snapcraft/pull/1762> | 20:54 |
kyrofa | Sure thing | 20:55 |
kyrofa | sergiusens, mind taking a look at my forum proposal? | 21:20 |
=== petevg_afk is now known as petevg | ||
jdstrand | roadmr: hi! can you sync r950 of the review tools? | 22:38 |
roadmr | jdstrand: sure! thanks! | 22:40 |
jdstrand | thank you :) | 22:40 |
roadmr | jdstrand: if that addresses https://bugs.launchpad.net/snapstore/+bug/1733699 could you link the bug to the branch please? | 22:45 |
mup | Bug #1733699: invalid snaps that trigger 'runtime-errors' json output are not correctly processed by the store <Snap Store:In Progress by jdstrand> <https://launchpad.net/bugs/1733699> | 22:45 |
jdstrand | roadmr: I already added a reference to that in the comments | 22:51 |
roadmr | thanks :) | 22:51 |
jdstrand | roadmr: it wasn't a branch-- I gave a link to the commit | 22:51 |
roadmr | oh that works well too | 22:51 |
jdstrand | roadmr: https://bugs.launchpad.net/snapstore/+bug/1733699/comments/5 | 22:51 |
mup | Bug #1733699: invalid snaps that trigger 'runtime-errors' json output are not correctly processed by the store <Snap Store:In Progress by jdstrand> <https://launchpad.net/bugs/1733699> | 22:51 |
roadmr | oh I missed that | 22:52 |
* roadmr subs to the bug | 22:52 | |
mup | PR snapcraft#1634 closed: Push metadata to the Store <Created by facundobatista> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1634> | 23:41 |
mup | PR snapcraft#1762 closed: lxd: delete container only if parts is empty <Created by kalikiana> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1762> | 23:41 |
mup | Issue snapcraft#1703 closed: Generate a list of error messages for design <Created by sergiusens> <Closed by sergiusens> <https://github.com/snapcore/snapcraft/issue/1703> | 23:47 |
lundmar | hmm, looks like the avahi-daemon is not accessible for snaps on Ubuntu 17.10 | 23:54 |
lundmar | avahi clients fail to see avahi-daemon when using avahi-observe plug | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!