/srv/irclogs.ubuntu.com/2018/09/06/#snappy.txt

Pharaoh_Atemzyga: https://youtu.be/UOZXERFHsW4?t=58m26s00:16
Pharaoh_Atemhttps://youtu.be/UOZXERFHsW4?t=1h1m32s00:18
Pharaoh_Atemniemeyer: nice mention by mattdm about our snap work in an interview about fedora ^00:19
sergiusensDoctor_Nick: at the very end of it, you can opt-in to have that in the snap00:48
Doctor_Nicksergiusens: ah hah00:49
sergiusensthere's an env var to allow it all the way through00:49
Doctor_Nickso it's not really required for the build?00:49
Doctor_Nickit's not used in staging, priming, etc.?00:50
sergiusensDoctor_Nick: no, we annotate it regardless, on the step it is done on, but it should not affect following steps (unless, there is always an unless, changes in the previous step, force a rerun marking the following ones dirty)00:51
sergiusensDoctor_Nick: also https://snapcraft.io/blog/introducing-developer-notifications-for-snap-security-updates00:51
Doctor_Nickok00:52
Doctor_Nickis there a way to set network restrictions like "only accept connections from localhost" in the snapcraft.yaml or does that have to be done elsewhere?01:22
Doctor_Nickalso, why do snap daemons run as root?01:48
Son_Gokuzyga, snapd 2.35 has been pushed for f27 too03:37
zygaGood morning04:21
zygaThank you Neal04:21
Son_Gokuzyga, we got some nice mentions in mattdm's recent interview on Destination Linux04:31
Son_Gokuyou should watch it ;)04:31
zygaI will, thank you for the tip :-)04:49
mupPR snapd#5774 closed: tests: introduce a helper for installing local snaps with --name <Parallel installs> <Simple> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5774>04:59
mborzeckimorning05:06
zygagood morning (again)05:46
zygaboth kids in school05:46
zygatime to work :)05:46
zygagood morning mvo :)05:47
mvohey zyga05:50
mborzeckizyga: mvo: hey05:50
mvomborzecki: good morning05:50
mupPR snapd#5775 closed: tests: also run unit/gccgo in 18.04 <Created by chipaca> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5775>06:00
mvohm,hm, on arch the interfaces-timerserver-control test is failing for me:https://api.travis-ci.org/v3/job/425119844/log.txt06:38
mborzeckilooking06:42
mborzeckimvo: does it reproduce always? maybe it's some temporary hiccup with ntp?06:44
mvomborzecki: I saw it two times lets see if it happens again06:45
s10gopalcan i install ubuntu core on esp826606:47
s10gopal?06:47
zygahey s10gopal, we haven't heard about anyone attempting that yet06:48
zygas10gopal: you'd have to have a relatively modern linux kernel and supported boot loader06:49
zygas10gopal: in addition you'd have to have golang support, I don't know if esp8266 has an arm core or if it is a separate architecture06:49
zygalet us know what you learn06:50
s10gopalzyga, thanks06:52
mborzeckis10gopal: esp8622 is a microcontroller with wifi, there are smaller OSes you can use there (or just go bare metal) but linux is a no go07:01
mborzeckis10gopal: you can try pi zero or CHIP board which are slightly larger form factor, have wifi and bt and run on linux, i don't know about ubuntu core on these though, maybe needs some research07:02
mvopi zero not yet :/07:05
zygamvo: indeed07:05
mvopstolowski|afk: hey, when you are around, could you quickly check the ifstate part of #5767? it is not used currently but given that there are some PRs in flight maybe it was added to accommodate those?07:07
mupPR #5767: many: remove deadcode <Created by mvo5> <https://github.com/snapcore/snapd/pull/5767>07:07
=== pstolowski|afk is now known as pstolowski
pstolowskimornings07:09
pstolowskimvo: looking07:09
mvopstolowski: thanks and good morning07:10
pedronismvo: hi, I think I removed the need for that funciton when I refactored conflict code and made it more blunt/conservative, but I forgot to remove it07:11
mvopedronis: aha, no worries07:13
mvopedronis: just wanted to double check because of the things in flight. thanks for confirming07:13
pstolowskimvo: +1, it's fine to remove it07:14
mvota07:14
pstolowskiand both pedronis and me claim forgetting to remove it ;)07:15
mvoheh07:15
mupPR snapd#5767 closed: many: remove deadcode <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5767>07:15
pedronis:)07:16
* pedronis is going to do reviewing this morning07:25
zygabrb07:30
zygamore coffee07:30
mborzeckicoffee, brilliant idea07:34
mupPR snapd#5778 opened: snap-update-ns: remove deadcode <Created by mvo5> <https://github.com/snapcore/snapd/pull/5778>07:41
mvozyga: ^- this one is for you, not sure if this is ok or goes to far but tests will tell (or maybe you need it for something else later?)07:42
zygalooking, thank you!07:48
zygamvo: we need all of those07:48
zygathey are used in the trespassing fix PR already07:48
zyga(they were added as a part of -v1 review07:48
zygathe comments are +1 but the removals are not needed07:49
zygamvo: https://github.com/snapcore/snapd/pull/576007:49
mupPR #5760: cmd/snap-update-ns: don't trespass on host filesystem in /etc and other places <Created by zyga> <https://github.com/snapcore/snapd/pull/5760>07:49
mvozyga: aha, cool. I close it then07:49
zygathanks, I'll steal the comments though :)07:49
mvozyga: yeah, iirc they are a commit that can even be cherry picked07:50
zygayeah07:50
zyga91e746fc0d61c8e89b9c4931f3eee39bef6e9ef307:50
zygadoing that now :)07:50
mvozyga: thank you07:50
zygathank You :)07:50
mupPR snapd#5778 closed: snap-update-ns: remove deadcode <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/5778>07:50
zygamvo: is there any dead code in interfaces?07:51
mvozyga: chopTree07:51
zygaaha07:51
mvozyga: thats the only bit07:51
zygathat _may_ become unused07:51
zygait's part of another fix07:51
zygabut I may end up not needing it07:51
zygathanks!07:51
mvozyga: ok, I will leave it alone07:52
zygaI'll remove it if that is the case07:52
mvozyga: deadcode is not super reliable, it does not deal well with import "C" for example so I don't think we can automate it yet07:52
mvozyga: sounds good, thank you07:52
zygamvo: https://github.com/snapcore/snapd/pull/577907:54
mupPR #5779: snap-update-ns: add comments about the "deadcode" in bootstrap.go <Simple> <Created by zyga> <https://github.com/snapcore/snapd/pull/5779>07:54
mupPR snapd#5779 opened: snap-update-ns: add comments about the "deadcode" in bootstrap.go <Simple> <Created by zyga> <https://github.com/snapcore/snapd/pull/5779>07:54
zygaoh, mup is back :)07:55
zygamborzecki: https://github.com/snapcore/snapd/pull/578007:58
mupPR #5780: testutil: allow Fstatfs results to vary over time <Simple> <Created by zyga> <https://github.com/snapcore/snapd/pull/5780>07:58
pedronismborzecki: I spotted one issue with locks in #5758,  I suppose because you went back and forth about where/how much to lock, anyway probably worth going again over the lock changes there07:58
mupPR snapd#5780 opened: testutil: allow Fstatfs results to vary over time <Simple> <Created by zyga> <https://github.com/snapcore/snapd/pull/5780>07:58
mupPR #5758: overlord/snapstate, snap: handle shared snap directories when installing/remove snaps with instance key <Parallel installs> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/5758>07:58
pedronismborzecki: might also show we miss a test07:59
mborzeckipedronis: ack, will do, thanks for the review07:59
mupPR snapd#5781 opened: overlord: add chg.Err() in testUpdateWithAutoconnectRetry <Simple> <Created by mvo5> <https://github.com/snapcore/snapd/pull/5781>08:01
mvo^- super trivial but would be great to get in so that I can figure out why the ppa builds are failing right now (3/6 arches failed with this error) :/08:02
zygasure08:02
mvota08:02
zygamvo: just merge it08:02
mvoyeah, I think I will08:03
mborzeckipedronis: yeah, that lock, damn, don't know how i missed that :/08:03
pedronismborzecki: it's easy to see in the diff, don't think is easy to see if you did changes and then more changes,  to be honest when doing lock changes and changing one mind I would sort of recommend to start from a fresh master08:04
pedronismborzecki: I also suspect that error path is not tested08:05
pedronisI mean even before08:05
mborzeckipedronis: right, it should panic there now that the lock is missing08:06
popeyWell that's odd. popeycore is a suspended laptop. Wonder how he got here.08:09
popeyhuh, looks like my core laptop woke up when the battery was 0%, I guess to do the hybrid suspend, but that failed08:12
Chipacapopey: hybrid suspend shouldn't do that08:19
ograwell, its core08:20
ograwe dont really have much experience with suspending on that setup08:20
Chipacapopey: hybrid suspend is: prepare for hibernation, and just before power off, instead of power off, suspend08:20
popeyi thought hybrid suspend did exactly that. woke from suspend to go to hibernate?08:20
popeyhuh08:20
popeyah okay08:20
zygaChipaca: that's not accurate08:20
Chipacai know08:20
zygaChipaca: nowadays firmware assists08:20
Chipacahandwavy a bit08:20
zygaChipaca: firmware does the suspend to ssd by itself08:20
popeythis is not a new laptop08:20
zygaif it's correctly configured (right partitions etc08:20
Chipacazyga: do we support that already? i thought that was ms-only magic08:21
zygayes08:21
zygafor many many years now08:21
Chipacaah ok08:21
Chipacazyga: i'll have to look this up :-)08:21
zygaChipaca: it just requires sandy bridge+ (ish, I forgot which exactly)08:21
Chipacanot today though08:21
zygaChipaca: bios has to support this and it has to be enabled08:21
Chipacawhy would you have a sandy bridge08:21
zygaChipaca: you need to have an ssd and a correct partition layout08:21
Chipacait's a safety hazard08:21
Chipacasand makes things slippy08:22
zygaChipaca: then after configured time the firmware wakes suspend-to-ram machine and suspends ram to ssd08:22
zygaand shuts off08:22
zygait's _not_ booting the os08:22
zygait's documented ...08:22
zygabut I cannot find the doc now :)08:23
zygaanyway08:23
zygajust wanted to say there are more parts that move now08:23
popeyindeed, anyway, it's not doing that :)08:23
Chipacai'll have to look into it; the process i've seen when i used hybrid was the one i described (a bit more complex)08:23
zygapopey: boot windows and update bios08:23
zygapopey: or use fwupd08:23
popeyhahahah08:23
popeyit's an x61s08:23
popeyfrom the past08:23
zygax61s, well08:23
zygathen it's not that :D08:23
zygaChipaca: I have a desktop that supports that at home, it's pretty neat08:24
zygaChipaca: essentially cuts the power drain while suspended08:24
Chipacazyga: the power drain while suspended is already pretty low08:24
zygaChipaca: well, it's zero then :)08:25
zygaand it fixes any magic hardware that doesn't really suspend correctly08:25
popeywell mine drained to 0 in a few days08:25
zygasee :)08:25
Chipacaright08:25
zygathis is how modern laptops get month+ on suspend08:25
zygaembedded IC probably still operates / LEDs blink08:26
zygabut not sure really08:26
pedronisChipaca: hi, thanks for the extra tests, some Qs in #518708:26
mupPR #5187: overlord: introduce snapshotstate <Created by chipaca> <https://github.com/snapcore/snapd/pull/5187>08:26
Chipacapedronis: the var is leftover debug :-( as is the status in the notice :-((08:27
Chipacapedronis: I'll answer over there08:27
Chipacamvo: did I accidentally trick you into supporting TinyHTTPProxy08:29
mvoChipaca: *cough* the code felt very crufty so I modernized it a wee bit08:30
mvomaybe not crufty but just a bit old iirc, this is from 2006 originally or something08:30
Chipacamvo: :-) that code has heritage :-D08:30
Chipacayeah08:30
mvoChipaca: so yeah, if you see further low hanging fruits, just shout08:31
Chipacamvo: https://github.com/tkmunzwa/Tiny-HTTP-Proxy/blob/master/TinyHTTPProxy.py fwiw08:32
Chipacamvo: that seems to be the most modern direct-line evolution of the one I had lying around08:32
Chipacamvo: the other way this has evolved involves 'pip install', which loses its magic08:33
mvoChipaca: thanks, I will see if there are useful bits08:33
Chipacathe whole point of it, to me, was that it was a single file i could scp places and work around silly firewall rules :-)08:33
mvoChipaca: heh08:33
ChipacaTinyHTTPProxy + ssh port redirection == magic08:33
mvoChipaca: that should still be possible with the version in the tree08:34
mvoChipaca: the last bit I'm considering is the selectors module that zyga  mentioned but I will try to control my ocd to cleanup further I think its already overdone. anyway, back to this failing test during package build08:34
mvothe irony - my latest PR fails in the proxy test which screams - merge the proxy fix :)08:35
mupPR snapd#5781 closed: overlord: add chg.Err() in testUpdateWithAutoconnectRetry <Simple> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/5781>08:36
cjwatsonSaviq,ogra: fix for the npm proxy thing is awaiting deployment (#8 in the IS queue)08:37
mupPR #8: launchpad.net/snappy -> github.com/ubuntu-core/snappy <Created by chipaca> <Merged by elopio> <https://github.com/snapcore/snapd/pull/8>08:37
cjwatsonweird how suddenly a bunch of different people asked me about that on the same day :)08:37
zygamborzecki: can you look at https://github.com/snapcore/snapd/pull/5780 - it's a part of the bigger one you read, needs 2nd ack08:38
mupPR #5780: testutil: allow Fstatfs results to vary over time <Simple> <Created by zyga> <https://github.com/snapcore/snapd/pull/5780>08:38
mupPR snapd#5779 closed: snap-update-ns: add comments about the "deadcode" in bootstrap.go <Simple> <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/5779>08:39
mupPR snapd#5780 closed: testutil: allow Fstatfs results to vary over time <Simple> <Created by zyga> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/5780>08:43
mupPR snapd#5782 opened: ifacestate: helpers for generating slot names for hotplug <Hotplug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/5782>08:43
Son_Gokuwtf08:43
Son_Gokuwhy did PR8 trigger a notification?08:43
ogracjwatson, heh ... i blame Saviq though :)08:45
pedronisChipaca: btw, there other question is basically do we leave around tar files etc when we undo? the test doesn't seem to check08:45
Chipacapedronis: I've added the check, and was about to reply "yes", but I think something is missing08:46
Saviqcjwatson: ack, thanks!08:46
Chipacapedronis: I might need to add a save cleanup08:47
Chipacapedronis: to catch it08:47
pedronisChipaca: possibly yes, and remove stuff if Error08:48
Chipacapedronis: wondering how to set things up so that one tar fails long after the other tars succeeded08:48
Chipacafor the test of that08:48
pedronisChipaca: remember we have mock command ?08:48
Chipacai might do it with a shallower test, ie one that mocks backend08:49
Chipacapedronis: yeah, that'd be the other approach, integration-y08:49
pedronisanyway as you prefer08:49
zygaChipaca: is there something like filepath.Ext but for the non-extension part?09:01
Chipacazyga: no; if ext := filepath.Ext(path); ext != path { path = strings.TrimSuffix(path, ext) }09:03
Chipacazyga: or, grab filepath.Ext and reverse what it returns09:03
Chipacaor dont09:04
Chipaca¯\_(ツ)_/¯09:04
Chipacazyga: (ext'll always be != path unless path is "" fwiw)09:04
zygathanks, I was hoping there's something baked09:06
zygaI like the TrimSuffix idea09:06
mvomborzecki: I am reading 5770 right now, curious about the attack scenario. will the store do anything with the hashed instance name or is that just stored there?09:07
mborzeckimvo: afaict it's for metrics only09:09
mvomborzecki: we probably also want to hash if we generate error reports thinking about it09:09
mvomborzecki: ok09:09
Chipacapedronis: I was wrong :-) we don't need a cleanup; undo does everything we need already09:09
Chipacapedronis: it's as if i'd thought of this at some point, even :-) just not tested it09:09
Chipacahaving to relearn my own code here09:09
Chipacathat's how long it's been09:10
mborzeckimvo: erorr reports contain a lsit of installed snaps?09:10
Chipacapedronis: anyway now we'll have a test for it09:10
mwhudsonzyga: random thought, maybe we should grab an hour one evening in brussels or something and work on snapd in debian09:10
zygamwhudson: very much so09:10
mwhudsoni just can't seem to work up the motivation to do it on my own09:10
mvomborzecki: no but if a specific instance fails to install or refresh we might leak the name I have not checked the code just a idle thought09:11
mborzeckimvo: ok, will take a look, addign to my todo list09:11
mvota09:12
pedronisChipaca: :) thanks09:16
mvopstolowski: does https://paste.ubuntu.com/p/Jjc3JFDWnT/ ring any bells? it seems to be a race and we hit it ~50% of the time when bulding the edge snap currently09:22
mvopstolowski: e.g. https://launchpad.net/~snappy-dev/+archive/ubuntu/edge/+sourcepub/9385143/+listing-archive-extra09:23
pstolowskimvo: looking09:23
mvothanks09:23
pstolowskimvo: no, i haven't seen it before; looks like a race indeed, investigating09:25
seb128hey there09:42
seb128how do I tell snapd to not do any auto refrsh today?09:42
seb128$ snap refresh --time09:43
mvoseb128: you can use "sudo snap set core refresh.hold=2018-09-07T17:00:00Z"09:46
mvoseb128: then snap refresh --time should tell you that the refresh is on hold09:47
mborzeckipedronis: pushed fixes, added a test where UndoSetupSnap fails, also that All() was indeed useless, the variant with Get("snaps"..) is same line count and lighter :)09:48
pedronismborzecki: I added some comments to the other ones09:52
pedronismvo: do you have anything in your pile that needs my review ?09:53
seb128bah, mobile connection timeouted09:53
seb128unsure if my question when through before09:53
pedronisseb128: yes09:53
seb128how can I disable autorefresh for the day?09:53
mborzeckipedronis: thanks,09:53
pedronis<mvo> seb128: you can use "sudo snap set core refresh.hold=2018-09-07T17:00:00Z"09:54
pedronis seb128: then snap refresh --time should tell you that the refresh is on hold09:54
mupPR snapd#5783 opened: tests: add new core16-base test <Created by mvo5> <https://github.com/snapcore/snapd/pull/5783>09:54
seb128mvo, pedronis, thanks!09:54
pedroniswe should grow a command but we have to discuss how to add it (we have too many commands already)09:54
seb128(not very user friendly to figure out,  "$ snap refresh --help" could at least hint that (or best, include a "--skip-next" or something)09:55
pedronismvo: ^ something to (re)discuss in brussel  (how to tame our commands zoo to be able to add some more) ?09:55
mvopedronis: yeah, the parser is also very strict about the time format, having something like "snap refresh --defer 1d" would be much nicer09:55
seb128that would be great09:55
mvopedronis: yeah, that sounds like a good discussion09:55
seb128also n-m integration to respect the limited-bandwith flag and not refresh then would be nice09:56
seb128(gnome-software/flatpak do that)09:56
seb128mvo, your command confuses me, now09:57
seb128$ snap refresh --time09:57
seb128hold: tomorrow at 19:00 CEST09:57
seb128next: today at 15:23 CEST09:57
seb128it still says next is today at 15:23?09:57
pedronisyes09:57
* seb128 is scared about his data09:57
mvoseb128: limit or metered? I mean does it not do any refreshes ?09:57
mvoseb128: or slows them down?09:57
pedronisseb128: there is still a next but hold overrides09:57
seb128metered09:57
seb128it just doesn't download updates09:57
seb128since you don't want to risk eating the user data plan in his back09:58
seb128(well they have a switch to enable auto download in that case, but it's off by default)09:58
mvoseb128: fwiw, we have a option to respect metered, "sudo snap set core refresh.metered=true"09:58
seb128that integrates to n-m?09:58
mvomborzecki: maybe we should enabled metered by default? (cc seb128 )09:58
seb128that sounds like a reasonable default to me09:58
mvoseb128: +109:58
seb128should I open a forum post about that maybe?09:59
mborzeckimvo: probably needs a +1 from niemeyer too09:59
dot-tobiasI'm trying to stage the directory my-part/install/include → added it to stage as `include/*` but it does not show up in stage/. other directories from stage keyword do show up. Does someone has a hint what I'm doing wrong?09:59
pedronisyes, we had a long back and forth when we added it09:59
popey+1 to simplifying that. The syntax is arcane and user hostile09:59
seb128I'm also going to open a bug about snap refresh --time telling me that the next refresh is on a time where it's not09:59
mvoseb128, pedronis hm, hm, it sounds like we should we smarter about "next: " when we also have "hold:" to not confuse users09:59
mvoseb128: could you write a forum topic? I prepare a pr then10:00
pedronismvo: I don't know10:00
pedronisprobably superficially somewhere10:00
seb128mvo, is the forum or github the right place for such reports?10:00
pedronisnot deeply10:00
pedroniscode is complicated enough as it is10:00
mvopedronis: :/ ok10:00
mvoseb128: forum works best, otherwise LP10:00
seb128mvo, k, good10:00
niemeyerWhat's the use case?10:01
niemeyerDo we have someone that reported issues while using metered connections?10:01
niemeyer(hello, btw :)10:01
pedronismvo: also remember is partly by design,  if you snap set   refresh.hold=   before that next you would still get the refresh10:01
mvoniemeyer: yes10:01
pedronismvo: if you change your mind10:01
pedronisis really not meant to move next10:01
mvoniemeyer: seb128 was surprised that the default for honoring metered connections is "off"10:01
pedronismvo: maybe is just a better  of outputting something clearer in snap refresh --time10:02
mvopedronis: yeah, maybe its enough to be smart at the presentation layer, i.e. snap refresh --time could look at the values maybe10:02
seb128niemeyer, I'm just train travelling and on mobile plan/tethering and I don't want snapd to eat my 1G monthly cap10:02
niemeyermvo: Sure, but do we have someone with actual issues reporting?10:02
mvopedronis: heh, sounds like we have the same idea10:02
mvoseb128: please paste me the link to your bug about next/hold and I will have a look10:03
seb128mvo, niemeyer, I'm going to start a discussion in the forum about that I guess, I think the safe default on metered connection is not eat datas since it's likely that those have a cost or a limit10:03
niemeyerseb128: That's reasonable of course.. how well is the automatic detection of that scenario working nowadays?10:04
Son_Gokuniemeyer, we don't have any yet, iirc?10:04
seb128mvo, will do, I'm going to need to jump off that train and connect to another one in like 3 min but I do once I'm settled down in the next one :)10:04
Son_Gokuor did that stuff get merged?10:04
Son_Goku(I forgot, it's hard to keep track of all the stuff!)10:04
niemeyerSon_Goku: Heya10:04
Son_Gokuyo10:04
niemeyerSon_Goku: Not on our end.. we just honor the network manager setting10:05
Son_Gokuso then at least from our side, we should be fine10:05
niemeyerThe question is how well is the automatic detection of the scenario seb128 described10:05
seb128niemeyer, I don't know about the snapd side and where it gets its info from, but network-manager has heuristics that seem to make sense to me10:05
Son_GokuI suppose that depends on whether NM can figure it out, then10:05
Son_Gokuif it can't, then *shrug*10:05
Son_Gokuin my case, it usually does10:05
niemeyerseb128: The question is about network-manager itself.. we just honor it.. we don't have a setting by ourselves10:05
niemeyerseb128: But to change defaults, we need to have some idea of whether it will actually fix the problem reported, and whether it might create problems for others10:06
ograSaviq, btw, it might make sense to have something added to the review-tools so packages using wayland-socket-dir get auto-rejected with a deprecation message on upload ... i wonder how hard that is to add for jdstrand10:07
seb128niemeyer, ok, I'm going to get the details and write on the forum with what n-m is doing exactly, we can have a discussion there then10:07
niemeyerseb128: Thanks!10:07
seb128yw, thanks for being interested in the topic :)10:07
ograwll, does NM know you are tethering if you do it via wlan ? (assuming you just connect to a phone hostpot (at least thats how i do train rides))10:09
ogra*well10:09
ograhaving some manual knob might make sense in that case10:10
popeynm has a switch to flip to say that10:14
Son_GokuNM has a lot of switches, knobs, and probes for determining whether it should say it's on a metered connection10:14
Son_Gokubut last resort, you can *tell* NM it's a metered connection10:14
popeyright, i meant in the case of a non-automagically determined connection, the user can override by flipping a switch10:15
ograah, i didnt know that (havent seen that in 16.04)10:15
Son_Gokuit doesn't exist in 16.04, iirc10:15
Son_Gokumost of the functionality was introduced in NM 1.4, I think?10:15
ograthats like why then :)10:15
Son_Gokuiirc, NM 1.0 is in 16.0410:15
mborzeckiogra: there's DHCP option that convey that you're on phone hotspot, afaik only android phones set it10:16
ograah, cool, i didnt know that !10:17
Son_Gokuyeah10:17
Son_GokuI think iOS sends a thing too, because Macs know when its connected to hotspots10:17
Son_Gokubut it's not "normal" like Android's10:18
mborzeckiany chance we could have snapd gnome-software integration flip the switch appropriately?10:18
Son_Gokumborzecki: the integration is above g-s10:18
Son_Gokuit's in gnome itself10:18
Son_Gokuspecifically, NM tells GNOME that it's metered, and everything responds to that10:19
Son_Gokuthe g-s snap probably can't access the gnome information index like g-s normally can10:19
ograbut it can use the NM interface to ask NM10:20
Son_Gokuyes10:20
ogra(at least it should be able to)10:20
seb128well g-s already uses that flag in their flatpak plugin10:20
mborzeckisnapd asks NM if current coonnection is metered10:21
seb128but it wouldn't make sense to do something for snaps there since it's not gnome-software who download/refresh snaps10:21
seb128(as it does for flatpaks)10:21
pedronisChipaca: I have a question for you, do you remember why we didn't add call to validateInfoAndFlags  in snapstate.InstallPath ?10:21
pedronis*a call10:21
ograright, and if snapd actually DTRT here (talking directly to NM) it should theoretically just work the right way10:21
mborzeckiwhat we need is to tell snapd that it should hold refreshes if on metered, everything else is already there10:22
Son_Gokumborzecki, I thought we already do?10:22
Son_Gokuat least, that's what niemeyer said10:22
mborzeckiSon_Goku: integration with NM and holding refreshes is there but it's off by default10:23
Son_Gokuah, well that helps nobody10:23
niemeyerAgain, the reason why the default is off is because we need to have some idea of whether it will actually fix the problem reported, and whether it might create problems for others10:23
mborzeckias pedronis wrote there was some back and forth about having it on by default10:23
niemeyerAnd we're having it again just onw..10:24
niemeyernow10:24
niemeyerThe reason we didn't enable is because nobody knew for sure when that flag was enabled or not10:24
Son_Gokuhow do we turn it on to find out?10:24
Chipacaeverybody i've talked to that was complaining about, i asked them to confirm back whether it worked or not10:24
Chipacaand, nobody has so far10:25
mborzeckiso we're just missing a piece that talks to gnome and knows whether the user wanted to hold updates (be it system, flatpak or other) while on metered10:25
Chipacaso i've brought you 0 data points10:25
niemeyermborzecki: The only piece missing is feedback, and proper information10:25
niemeyermborzecki: It's not about whether the user wants to hold or not, but about when that flag actually goes on or not10:26
niemeyerIIRC, the feature was developed to fix a need for a manufacturer that had specific hardware, and knew what was going on.. they enabled it for their device, which they had strict control over10:27
mborzeckiniemeyer: what i meant is that if a gnome user flips it on in gnome settings (or wherever else the setting is), we can only react if there's that integration piece that conveys their choice10:27
niemeyerSo the feature worked well there.. but to change that to always enabled, we need a much better idea of when connections will be marked as metered10:27
popeyFWIW I set the free train wifi to be metered because it's slow and I need the bandwidth for other stuff.10:32
popeyI also defer all updates to 4am because I am often doing podcasts in the evening, and I don't want my laptop to start chugging away updating snaps unexpectedly10:33
ograbut that indeed expects that your laptop is on at that time10:33
popeywhich it often isnt10:33
popeyso I have to manually snap refresh10:33
popey(also, it frustrates me that snapd starts doing updates immediately on wake from suspend which makes the laptop unusable for minutes)10:34
ograit doesnt kick in after you booted it again ?10:34
popeyno10:34
ograall my VM core images definitely do that ... i have to plan an extra 10-15min when i plan to work with one that i havet booted in a while10:34
popeyhm, maybe it does and I didnt notice10:35
popeytoday I pressed the wake button and walked away to get coffee10:35
ograecause the VM typically kicks off a core update right after boot and then reboots10:35
pstolowskimborzecki, zyga hey, since you commented some time ago on https://github.com/snapcore/snapd/pull/5632 - can you re-review?10:40
mupPR #5632: overlord: integrate device enumeration with udev monitor <Hotplug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/5632>10:40
zygasure10:40
mborzeckiok10:41
pstolowskity!10:41
zygapstolowski: done10:50
zygapstolowski: https://github.com/snapcore/snapd/pull/5632#discussion_r215580734 is the most important issue I think10:51
mupPR #5632: overlord: integrate device enumeration with udev monitor <Hotplug> <Created by stolowski> <https://github.com/snapcore/snapd/pull/5632>10:51
seb128mvo, https://forum.snapcraft.io/t/next-refresh-info-confusing-when-on-hold/723010:55
seb128sorry, internet was flaky arriving to the station10:55
pstolowskizyga: hmm the err is returned in the next line?10:55
zygaDOH :)10:55
zygathanks, I missed that :)10:55
zygaI removed it from the review now10:55
seb128and now going for my next train ;)10:56
pstolowskizyga: thanks for the other suggestions110:56
mborzeckipedronis: i'm thinking about that base64, it's possible that there will be - in the encoded data, so simple '-'.split(..) might get a little confusing11:00
mborzeckipstolowski: 'foo'.split('-') ofc11:00
mupPR core18#69 opened: hooks: add libpam-modules <Created by mvo5> <https://github.com/snapcore/core18/pull/69>11:01
mupPR core18#69 closed: hooks: add libpam-modules <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/core18/pull/69>11:07
mupPR snapd#5784 opened: tests: run account-control test on uc16,uc18 and with different bases <Created by mvo5> <https://github.com/snapcore/snapd/pull/5784>11:08
pedronismborzecki: I really hope we don't split those keys anywhere11:19
pedronismborzecki: why the 39 -> 15 change ?11:29
pedronisChipaca: did you see my question?11:30
Chipacapedronis: no11:30
Chipacapedronis: oh11:30
mborzeckipedronis: should be enough bytes, i can pass the whole lot11:30
Chipacapedronis: maybe because 'try' would fail validation in that case?11:30
pedronisChipaca: what's special about try?11:31
Chipacapedronis: used during dev when things are more likely to be broken11:31
Chipacapedronis: otoh, seems like the best time to error :-)11:32
pedronisChipaca: ?11:32
pedronisChipaca: this is about checks for --classic and --devmode , or am I confused ?11:32
Chipacapedronis: ah sorry i got confused with the static path checker thing11:32
Chipacapedronis: let me look11:32
pedronismborzecki: I would keep all the bits11:33
mborzeckipedronis: ack11:33
pedronisfor 512 it was indeed a bit overkill11:33
seb128niemeyer, mvo, mborzecki, in fact https://forum.snapcraft.io/t/snap-refresh-over-metered-connections/5001 already has lengthy details about what n-m is doing (also the review pointed in the recent comment picks on snapd compared to gnome-software/flatpak due to that :/)11:33
pedronisbut this already half of that11:33
Chipacaseb128: but our problem isn't afaik what n-m is doing, but that we can't enable it by default until sufficient people have confirmed it does the right thing11:34
pedronisChipaca: to be clear we are talking  validateInfoAndFlags  that you introduced a long while ago11:34
popeyChipaca: do we have a test case documented and call for testing?11:35
Chipacapedronis: I'm going to chalk it down to oversight11:36
Chipacapopey: I don't think we do (I'd like confirmation that this is indeed what's stopping us from making it a default though)11:36
pedronisChipaca: there are 3 places that could share a helper if InstallPath was also using it11:36
=== pstolowski is now known as pstolowski|lunch
pedronisbut maybe something breaks11:37
Chipacapedronis: which are those?11:37
popeyChipaca: if we had test case and docs I'd be happy to test it11:37
pedronisChipaca: doUpdate Install and InstallPath itself11:37
pedronisthey all do a couple of validate, construct (a now complicated) SnapSetup11:37
pedronisand call doInstall11:37
Chipacapedronis: is there anything else calling doInstall?11:37
pedronisyes11:37
pedronisRevert I think11:38
Chipacaeh, ok11:38
Chipacamborzecki: niemeyer: mvo: am I right in thinking we're just waiting for sufficient confirmation that the n-m metered integration work does the right thing in the field, in order to enable it by default?11:39
pedronisChipaca: maybe I should just try to add it and run push the PR and see what the test says and go from there11:40
pedronisif you don't recall a strong reason why is not there11:40
Chipacapedronis: +111:42
Saviqsergiusens: hey, have you seen snapcraft getting ENOPERM on host's snapcraft .snap before? https://travis-ci.org/CanonicalLtd/multipass/jobs/42515479711:48
Saviqwhen building in a build env, that is11:48
sergiusensSaviq: cleanbuild?11:48
Saviqsergiusens: travis, so yeah11:49
Saviqoh I mean, no, not cleanbuild11:49
Saviq=lxd11:49
sergiusensSaviq: yes, same, snapd changed perms on all snaps, you can use beta where we moved to a different model11:49
Saviqack11:49
sergiusensSaviq: why lxd and not cleanbuild?11:49
ogradoes cleanbuuild work in travis ?11:50
sergiusensogra: of course it does11:50
ogra(i never tried :) )11:50
sergiusensogra: https://github.com/snapcore/snapcraft/blob/master/.travis.yml#L7011:51
Saviqsergiusens: I don't go through the whole build necessarily, depends on the job https://github.com/CanonicalLtd/multipass/blob/master/.travis.yml11:51
ograoh, wow, travis even supports snaps ?11:51
sergiusensogra: yeah, we did a PR for their docs ages ago11:51
ograit definitely didnt when  used it last and still had to manually create xenial chroots11:51
ogra(my experience is from a tme where they only offered precise)11:52
sergiusensogra: https://docs.travis-ci.com/user/installing-dependencies/#installing-snap-packages11:52
ograextremely cool !11:52
sergiusensyeah, and they only offer xenial to enterprise users :-)11:52
Saviqbut with lxd, who cares! ;P11:53
ograah, i thought they switched the default nowadays11:53
sergiusensso the fact that it is slow to get to the masses might be a commercial thing more than a technical one :-)11:53
ograyeah11:53
=== pstolowski|lunch is now known as pstolowski
Saviqsergiusens: oh and btw, I'm abusing the fact that the build artifacts (stage, basically) ends up in $PWD and that the container is still around after it completes13:00
SaviqI suppose I won't be able to rely on it soon ;P13:00
Saviqsergiusens: if you have a look through our .travis.yml and suggest changes / highlight issues, that'd be great :)13:00
sergiusensSaviq: abuse all you want, but you will have to make up for your crimes :-)13:00
ograwhy stage though ? prime feels a bit more natural13:01
sergiusensSaviq: we can certainly do that, btw13:01
seb128Chipaca, sorry, on a flaky internet in a train ...  what info do you need to figure out if the current code "does the right thing"? the post explains the heuristics used by n-m in details which is a good base I would think?13:01
ograseb128, you need to stay on the train for the next 48h to see if some auto-update kicks in i guess *g*13:02
Chipacaseb128: well, in theory it works; in practice, we don't know13:02
ogra(geez, is it friday soon ?)13:02
Saviqogra: I think prime is stripped of some test-related things that we need, but we may reevaluate for sure - and maybe amend what we prime for different build types13:02
Chipacaseb128: no amount of reading about what n-m claims to do will tell us whether it breaks in some weird real-world corner case13:02
ograSaviq, yeah, prime is closest to the actual endresult though ... makes any tests more realistic i suppose (but yeah, stripped for sure)13:03
seb128Chipaca, it's being used by others (GNOME, flatpak), could that help us to get some confidence?13:03
seb128Chipaca, and if not what would?13:03
seb128trying to understand how we can unblock the situation13:03
mupPR snapcraft#2244 opened: snap: add the https transport <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2244>13:20
seb128Chipaca, sorry, try is making that difficult, I was saying13:25
seb128Chipaca, well "break" would mean no autorefresh on some connections, if we are afraid that buggy info could lead to system never updating we could force a refresh anyway after $peiod13:25
seb128 Chipaca, users are typically on a metered connection for a limited time, being on the safe side by default and forcing after a longer period would probably save most users to hist a problem13:25
seb128Chipaca, anyway let me know if we could help giving confidence in that feature by any mean13:25
Chipacamvo: so do we need to do anything beyond tweaking the config? Is there a public test phase needed still?13:58
mvoChipaca: a good question13:59
pstolowskimvo: shall i push to a new github branch and we can set up a ppa from that?14:04
mvopstolowski: yeah, that sounds reasonable14:14
mvopstolowski: (in a meeting right now (and after this one too) so may be a bit slow replying but you can just use a personal PPA probably)14:14
Chipacapedronis: snapshotstate is green again if you want to take a last look14:15
pstolowskimvo: right, will try that (haven't touched ppas for >2 years, let's see how it goes ;))14:15
mvopstolowski: good luck14:19
pedronisChipaca: lgtm14:30
Chipacawhee14:30
Chipacagasp14:31
Chipacanow what14:31
mupPR snapd#5187 closed: overlord: introduce snapshotstate <Created by chipaca> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/5187>14:31
pedronisChipaca: celebration time :)14:32
Chipacapedronis: :-)14:33
mvoChipaca: \o/14:38
mupPR snapd#5785 opened: tests,interfaces: run interfaces-account-control on UC18 <Created by mvo5> <https://github.com/snapcore/snapd/pull/5785>14:38
pedronismvo: core16 is a base right ?15:04
pedronislike core1815:04
pedronisnvm checked myself15:08
mvopedronis: correct15:09
mvopedronis: (sorry in a meeting so a bit slow)15:09
Chipacapedronis: snap info tells you :-)15:12
pedronisChipaca: that's what I did indeed15:13
Chipacapedronis: :-)15:13
Chipacapedronis: in state.State's Prune(), writing() is called only if needed. deleteExpiredWarnings was calling writing() unconditionally, when it was a public method. Should I make it smarter?15:23
Chipacapedronis: should I drop it and move that logic into Prune directly?15:23
Chipacathe latter would be consistent with what's there already15:23
pedronisChipaca: I'm kind of eoding,  yea, all the pruning is in Prune,15:24
Chipacapedronis: ok15:24
Chipacapedronis: have a good'un15:24
* cachio lunch15:28
Saviqsergiusens: so here's a new issue with beta... https://travis-ci.org/CanonicalLtd/multipass/jobs/425225732 snapcraft can't find a package... https://launchpad.net/ubuntu/+source/cmake-extras is it looking at the host package list?15:32
sergiusensSaviq: sent a log privately, I have a workaround for that though15:36
mupPR snapcraft#2245 opened: docker: support for testing snapcraft in proposed <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2245>15:44
Chipacaniemeyer: #5514 is ready for another look if you're idle (har har har)15:56
mupPR #5514: daemon, overlord/state: warnings pipeline <Created by chipaca> <https://github.com/snapcore/snapd/pull/5514>15:56
mvozyga: quick brainstorm - I'm renaming idleManager to ecoManager - or do you have a better name. I think it captures the idea behind it better than idle manager as its not about idle but more about nothing to manage16:05
zygammm16:05
zygado you think that ecoManager could do more things (eventually) that fit into resource preservation concept?16:06
zygalike unmounting unused things16:06
mvoor cleaning unused bases16:06
zygaor running aggressive gc once in a while16:06
zygaor something like16:06
zygajanitorManager16:06
zyga(though I think ecoManager is better)16:06
zygaor we could call it "mother"16:07
niemeyerChipaca: Thanks!16:07
niemeyermvo: Do we need a manager for that?16:07
mvosleeper16:07
mvoniemeyer: not strictly but it has some nice properties16:07
niemeyermvo: It sounds like this is a cross-concern issue16:07
mvoniemeyer: like that it ties use into the ensure loop16:07
niemeyermvo: Where every manager would have something to say about it16:07
mvoniemeyer: we want the check to run after the ensure loop of the other managers16:08
mvoniemeyer: but I'm open for ideas of course16:08
zyganiemeyer: ohhh16:08
zyganice idea16:08
niemeyermvo: It just feels like this is something managers will need a chance to do something about, otherwise we'll have a manager that will be fiddling with resources of other managers16:09
zygamanager.SaveThePlanet16:09
zygaand then a manager could do something in response to that16:09
Chipacareturn false16:09
mvoniemeyer: so far the bits we check are: a) number of snaps (snapstate should provide this) b) is it seeded (devicestate) c) minimal amount of time passed d) pending changes e) active daemon connections. plus it should be run after ensure ideally16:10
mupPR snapcraft#2245 closed: docker: support for testing snapcraft in proposed <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/2245>16:11
niemeyermvo: Sounds like something we should run less often than ensure itself16:12
mvoniemeyer: I can sketch out a design that adds something like "CanGoSocketActivated" to the managers (the name sucks, just here as a stawman) and then do the other checks in its own package and/or daemon or overlord. syncing with the ensure loop is the open question in this design. should I create a hook in the overlord for this? where callbacks can be added16:12
niemeyerHmmm16:13
mvoniemeyer: right, we can run it less often its just a nice property if its in sync with ensure in some way (so maybe not every ensure )16:13
mvo(but of course it does not have to be in sync if that makes the other design nicer)16:14
ChipacaI wonder if we can do it by niling out managers when they have nothing to do16:14
Chipacaand then if every manager has gone, we go away entirely16:14
niemeyermvo: The earlier a-d list sounds a bit uneven16:15
Chipacaanyway. I'm going afk for a while, will bbl (going for a run before it rains)16:15
niemeyermvo: Some of those aren't something that can be in a manager16:15
niemeyerChipaca: Enjoy!16:16
mvoniemeyer: the active connections is a problem, the other bits fit ok. but again, happy to do it differently16:16
niemeyermvo: The time passed also feels misplaced16:17
mvoniemeyer: I need to have dinner now but will read scrollback and also ponder about how to do it without a manager16:17
niemeyermvo: Time passed since what?  Feels like this should be in the routine that would attempt to go socket activated16:17
niemeyermvo: SOunds good.. we can catch up tomorrow morning as well16:17
niemeyermvo: Have a good one16:17
mvoniemeyer: the time since startup is what is used right now16:17
mvoniemeyer: yeah, tomorrow is also fine, lets see if we can find some nice pattern :)16:18
mvo s/pattern/place/16:18
mvoniemeyer: thank you!16:18
seb128back on stable internet!16:48
seb128Chipaca, sorry for trying to start a conversation on a bumpy internet, that was not a good idea16:48
seb128Chipaca, anyway might be a good topic for Brussel, if we can help building trust on that feature/stack in some way that would be nice16:48
seb128users tend to hate bugs that lead to costs (understandably)16:49
ackkhi, is there a way to unset a snap config option (as opposed to set it to "")?17:01
zygaset it to null17:01
ackkzyga, how do you do that?17:02
ackkzyga, you mean set foo=null ?17:03
zygasnap set foo value=null17:03
zygaI think17:03
zygayes17:03
ackkoh, so that's a special value17:03
ackkI mean, it's not treated as string17:03
zygano, that's literally null :)17:03
zygayeah, all input is yaml17:03
zygaI heard17:03
zygaor json17:03
zygaor ...17:03
zyganow I'm confused17:03
ackkzyga, although it will still show in get -d, it won't be "unset"17:03
ackk(that's fine, just wondering if there was a way to actually unset17:03
zygaah17:04
zygammm17:04
zygamaybe there is17:04
zygahold on17:04
zygaI don't see any17:07
zygapstolowski: ^ maybe you can clarify17:07
cachiopedronis, hey, I am trying to push a snap to the staging store and I see this error17:08
cachiohttps://paste.ubuntu.com/p/9dyxZZgkvY/17:08
cachiodo I need to make any change in the test account?17:09
pedroniscachio: are you logged in ? what does snapcraft list-registered says ?17:14
cachiopedronis, it gives the list of snaps for the user17:15
pedronisthen not sure17:15
pedronisit's a strange error17:15
cachiopedronis, who could help with that error?17:16
cachioon the store side17:16
pedroniscachio: I would try to login again, is that snap in the list of list-registered you get?17:16
cachiopedronis, ok17:16
cachiopedronis, yes it is17:17
pedronisit's definitely strange,  if relogin doesn't help, ping celso maybe17:17
cachiosame errror after relogin17:19
cachioI'll ping him17:19
pedronissnapcraft --debug output might help in case17:19
pstolowskizyga: there's no way to unset17:20
pstolowskiackk ^17:21
pstolowskithat's a known issue/limitation17:21
cachiopedronis, is it using the staging store? https://paste.ubuntu.com/p/rFyBk3NTG5/17:27
pedroniscachio: no17:28
pedronissomething is off with your env17:28
pedronis'url': 'https://dashboard.snapcraft.io/dev/api/snap-push/17:28
pedronisor there's  a bug in snapcraft, not respecting something for different ops17:29
pedronisa *new* bug17:29
cachiopedronis, that could be17:30
cachiothanks for the support17:30
pedronisas I said list-registered showing the snap but push failing is a bit strange17:31
cachiopedronis, I'll check with snapcraft guys17:31
pedronis(though the permission are different for the two ops)17:31
cachiokyrofa, hey17:31
cachiokyrofa, any idea why it could be not poiting to the staging store?17:31
cachiohttps://paste.ubuntu.com/p/rFyBk3NTG5/17:31
kyrofacachio, sudo might have something to do with it-- have you tried without?17:39
niemeyerChipaca: LGTM!17:40
cachiokyrofa, that was the problem17:41
cachiokyrofa, tx17:42
=== pstolowski is now known as pstolowski|afk
pedroniscachio:  ah, sorry I didn't notice that18:15
cachiopedronis, yes, me neither :(18:15
ackkpstolowski|afk, I see, thanks18:17
Chipacaniemeyer: excellent, thank you18:44
TorbenLeifHello, I am trying to figure out how to make snappy stop updating my VLC installation to any other versions.19:33
TorbenLeifI've read the man file but I don't see a way to stop snap from refreshing a certain app :/19:38
=== pbek_ is now known as pbek
ChipacaTorbenLeif: you can't, basically20:06
ChipacaTorbenLeif: and you probably shouldn't :-) why are you wanting to not update vlc?20:06
TorbenLeif@Chipaca VLC Media Player, versions past 3.0.1 broke a certain feature I use regularly and so I keep having to force snappy to reinstall vlc_195.snap.20:48
TorbenLeifUnfortunately VLC doesn't release any other packages so I can avoid using Snappy with it, so it sounds like I'm stuck having to do this every day :/20:49
mupPR snapcraft#2246 opened: packaging: cleanup extension usage in setup.py <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/2246>20:54
ChipacaTorbenLeif: have you spoken to the devs? they're usually very receptive of that sort of feedback21:08
Chipacamy memory is terrible but I think thresh was working on that at some point?21:10
ograyep, he is the vlc snap maintainer21:10
ograChipaca, i thought if you use snap revert you will not get auto-upgraded til the next release shows up in the store ?21:11
ograi onder why TorbenLeif has to do that "every day" ... given that feature21:12
ogra*wonder even21:13
mupPR snapcraft#2244 closed: snap: add the https transport <Created by sergiusens> <Merged by kyrofa> <https://github.com/snapcore/snapcraft/pull/2244>21:27
Chipacaogra: I suspect the have the .snap, and install it every day21:27
ChipacaTorbenLeif: what does "snap list --all vlc" print?21:27
ograyeah ... revert would be a lot better than sideloading the snap file21:28
ChipacaTorbenLeif: as ogra says, if you "snap revert", snapd will not auto-upgrade you to the same revision -- a new revision would get auto-installed, but not the same one every time21:28
Chipacaogra: revert is probably the least known of what we think of as the main features21:28
Chipacaogra: it's not really sideloading as they have the assertion :-)21:29
ograyeah ... but given its beauty it should really get more promotion ;)21:29
ograah21:29
Chipacaogra: ironically if they didn't have the assertion it'd be actual sideloading (i.e. --dangerous) and it wouldn't update21:29
ograoh, indeed !21:29
mupPR snapd#5786 opened: tests: update prepare/restore for nightly suite <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5786>21:37
TorbenLeif@Chipaca vlc   3.0.3-1-3-gf09fd0d  365  stable    videolan✓  disabled21:42
TorbenLeifvlc   3.0.4               555  stable    videolan✓  disabled21:42
TorbenLeifvlc   3.0.1-4-g14a4897    190  stable    videolan✓  -21:42
ChipacaTorbenLeif: and which is the one you want to use?21:42
TorbenLeif190 is the one I want to use permanently.21:42
TorbenLeifI have it installed now, but tomorrow it'll update again.21:42
ChipacaTorbenLeif: ok, so try this21:43
ChipacaTorbenLeif: first: snap refresh vlc21:43
ChipacaTorbenLeif: that'll leave you with the one you don't want21:43
ChipacaTorbenLeif: next: snap revert vlc --revision=19021:43
ChipacaTorbenLeif: that'll leave you with the one you do want, and _blacklist the newer one_21:43
ChipacaTorbenLeif: you can confirm this by doing 'snap refresh' (without explicitly asking for vlc)21:44
Chipacaif you 'snap refresh vlc' you un-blacklist, if I remember correctly (but i could be wrong! and i'm too tired to go look right now)21:44
TorbenLeifThis works, but once VLC releases a new version I just have to do this?21:45
TorbenLeifOr is it a perma solution?21:45
ChipacaTorbenLeif: the next different revision that gets pushed to tip of stable will replace the one you want, yes21:45
ChipacaTorbenLeif: in the meantime, _talk to the vlc maintainers_21:45
TorbenLeifOkay, that is great. Thank you so much for the help Chipaca!21:46
ChipacaTorbenLeif: what is the feature that breaks, by the way?21:46
TorbenLeifChipaca The capture card displays a weird zoomed in disorted image post 3.0.121:47
ChipacaTorbenLeif: that seriously sounds like something they'd want to fix if they knew it was happening21:48
TorbenLeifI am using an AV2USB adapter that works fine on any program as a regular video0 input except VLC post 3.0.121:48
TorbenLeifI talked to them but they have a pushy bug reporting process that I don't want to do (it involves signing up on a bug tracker and such).21:48
Chipacasounds terrible21:49
Chipacamuch easier to refresh the snap every day … (?!?)21:49
TorbenLeifIt's not bad if you're really into the community, but just as a guy wanting to inform them of a problem they might be interested in knowing about, it's too much work.21:49
TorbenLeifWriting a script to schedule the necessary commands to revert isn't hard now that I know the commands ^^21:50
ChipacaI now regret having helped21:50
TorbenLeifBecause I don't want to take pictures, learn the necessary debugging commands to create the bug report and sign up for a service to do it?21:51
TorbenLeifI gave them the logs they wanted in irc.21:52
TorbenLeifBah, idc. Thank you for the help anyway.21:52
ChipacaTorbenLeif: because you'd rather spend my time than yours21:52
TorbenLeifNot necessarily true.21:53
TorbenLeifIf I made the bug report it isn't fixed, it is reported.21:53
mupPR snapd#5787 opened: tests: update the listing expression to support core from other channels <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5787>21:53
TorbenLeifSeeings as I am not a programmer for the project, either way I still need a temporary fix.21:53
TorbenLeifThe VLC channel didn't have a solution to temporarily fix the problem, so after a couple hours I decided reverting constantly is the best solution for me.21:54
TorbenLeifI was unsure on how to do that, so I needed help with reverting snap packages. You helped teach me that.21:54
TorbenLeifEven to that effect, I googled for a solution well prior to coming here and read the man page. Unfortunately documentation on snappy is lacking in this regard, and the feature I wanted didn't even exist. So no, I would have much rather found the solution during the time I spent than take up yours.21:59
ChipacaTorbenLeif: I'm sorry the manpage didn't help. Reading the documentation for revert I see it's missing a mention of the blacklisting, indeed22:07
Chipacasorry for that; i'll address it tomorrow22:07
TorbenLeifNo need to apologize for documentation, it's a community project, not a business. Anywho, thanks again and have a good day.22:12
mupPR snapcraft#2247 opened: yaml loading: properly handle unhashable types <Created by kyrofa> <https://github.com/snapcore/snapcraft/pull/2247>22:48
mupPR snapd#5788 opened: tests: add publisher regex to fix the snap-info test pass on sru <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/5788>23:48

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