/srv/irclogs.ubuntu.com/2020/11/24/#snappy.txt

mupPR snapd#9673 closed: bootloader/many: rm ConfigFile, add Present for indicating presence of bloader <UC20> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9673>00:25
mupPR snapd#9685 closed: tests: run tests against 2.48 for the SRU <⛔ Blocked> <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/9685>06:12
mupPR snapd#9686 opened: tests: remove workarounds that add "ubuntu-save" if missing <Run nested> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9686>06:37
mborzeckimorning07:01
zygagood morning07:02
mvogood morning zyga and mborzecki07:24
zygahey :)07:25
mborzeckimvo: hey07:48
mborzecki18.04 on my in-laws computer went crazy and was showing year 2037, ofc all https traffic was dead, systemd-timedated was not able to set the date from ntp either07:49
mborzeckiprobably the cmos battery is dying slowly07:50
mvomborzecki: woah07:56
pstolowskimorning08:01
mborzeckipstolowski: hey hey08:06
mvopstolowski: good morning08:10
zyga-mbphey mvo, I will need sponsorship in debian08:17
zyga-mbpmvo I'd like to maintain spread there08:17
mvozyga-mbp: sure, happy to do that08:18
zyga-mbpI'll make a few more changes so that there's a sid-happy and focal happy version08:18
zyga-mbpand will ping you08:18
mborzeckimvo: i've added blocked label to #9686, it appears the gadget in 20/edge does not have ubuntu-save yet08:28
mupPR #9686: tests: remove workarounds that add "ubuntu-save" if missing <Run nested> <⛔ Blocked> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9686>08:28
pstolowskiwoot, we don't run nested/manual on 20.1008:38
mupPR snapd#8943 closed: wrappers: generate D-Bus service activation files <Created by jhenstridge> <Merged by jhenstridge> <https://github.com/snapcore/snapd/pull/8943>09:08
mupPR snapd#9687 opened: osutil: add helper for getting the kernel command line <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9687>09:08
mupPR snapd#9688 opened: boot: add kernel command lines to the modeenv file <Run nested> <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9688>09:13
mupPR snapd#9689 opened: boot: add helper for generating candidate kernel lines for recovery system <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9689>09:28
mupPR snapd#9690 opened: tests: enable nested on 20.10 <Run nested> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9690>09:48
zygamvo there will be a pair of new deps09:49
* pstolowski pstolowski not feeling well (stomach bug), calling it a sick day o/10:14
mvozyga: a pair of new deps for what exactly (sorry for the slow reply, was in a meeting)10:45
zygamvo: spread package is in https://launchpad.net/~zyga/+archive/ubuntu/oh-tools/+packages11:21
zygamvo: when you have time, I'd love some early review11:22
zygamvo: it depends on  golang-github-niemeyer-pretty and golang-gopkg-niemeyer-ynext.v3 - also present in the same archive11:22
zygaI tried to follow the right policy but it's aimed at focal for now11:22
zygaeh, this constant irc disconnect11:28
niemeyerFor the record, ynext is actually gopkg.in/yaml.v3 by now11:30
zyganiemeyer oh, that's cool, we should upgrade spread then11:31
niemeyerYeah11:31
zyganiemeyer hi :)11:31
zyganiemeyer I can send a PR if you have time to land it11:31
niemeyerIt's okay, I'll just pack it with whatever next update takes place.. I need to check if the API changed since then as well11:32
zyganiemeyer do you plan to release a v3.0.0 as well?11:33
zygahttps://github.com/go-yaml/yaml/releases11:33
zygawould be good for go modules and versions11:33
niemeyerYeah,  I've left it settle for a while so the issues would show up before tagging11:34
niemeyerNow there are a few (simple, luckily) open issues that I need to look into before tagging11:34
zyganiemeyer if you ping me when you release the new yaml and the new spread I will make adjustments11:41
zygaI've packaged the snapshot of yaml.v3 and should be ready to update both spread and yaml.v3 when the time comes11:43
zygacachio hey11:52
cachiozyga, hey11:52
cachiozyga, how are you doing?11:53
mupPR snapd#9691 opened: spread: bump delta ref, tweak repacking to make smaller delta archives <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9691>11:53
zygacachio: good, making progress :)11:54
zygacachio I've packaged spread as a debian package11:54
zygacachio if you need it it's at https://launchpad.net/~zyga/+archive/ubuntu/oh-tools/+packages11:54
zygaI'll work with mvo to push it to debian11:54
cachiozyga, nice, this is really good11:54
cachiozyga, too much time downloading that binary11:55
mupPR snapd#6258 closed: interfaces: support D-Bus activation <:birthday:> <Needs security review> <Created by jhenstridge> <Closed by jhenstridge> <https://github.com/snapcore/snapd/pull/6258>11:58
mupPR snapd#9692 opened: client,snapctl: add primite support for "stdin" <Squash-merge> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9692>12:03
zygacachio the package has built now, it should be published in a few minutes12:11
zygaand it's there now12:14
zygacachio I can install this build on the spread runner box12:18
zygawill make updates easier12:19
zygacc mvo ^12:20
zygafeel free to nack, I will do that this evening otherwise12:20
cachiozyga, it is ok for me12:22
cachioI have more runners using the binary in the local environment12:22
cachiowhich I need to update in that case12:23
zygacachio do you use focal or a mixture of focal/bionic?12:23
mupPR snapd#9684 closed: devicestate: support "storage-safety" defaults during install (2.48) <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9684>12:24
cachiozyga, bionic12:24
zygaok12:24
cachiozyga, got some issues using focal with lxc12:24
cachiolxd12:24
zygaoh?12:24
cachioI am going to migreate that to a new environment soon12:24
zygamy workers run on focal IIRC12:24
cachiozyga, in the new environment I'll try using focal12:25
cachiostill trying to fix some networking permissions there12:26
zygaI've copied spread to bionic as well12:26
zygabut it's untested12:26
cachioI can test it today12:26
zygacachio I'll import the sources to salsa later so that we can file bugs like normal people12:28
zygasalsa.debian.org12:28
cachiozyga, nice, thanks12:30
mupPR snapd#9693 opened: data/selinux: update the policy to allow operations on non-tmpfs /tmp <Simple 😃> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9693>13:24
pedronismborzecki: I reviewed #968815:11
mupPR #9688: boot: add kernel command lines to the modeenv file <Run nested> <Simple 😃> <UC20> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9688>15:11
mborzeckipedronis: thanks15:11
mborzeckipedronis: i take that the field should also be named CurrentKernelComamndLines then?15:13
pedronisyes15:13
mborzeckiack15:14
* cachio lunch15:14
ijohnsonmborzecki: I reviewed 9688 too15:18
mvopedronis: I updated 9692, hope I got all the things you suggested15:45
mborzeckiijohnson: thanks!15:46
mvo9670 needs a second review please :)15:52
zygamvo, hey15:57
zygamvo, do you have a moment to talk about spread15:57
zygaI wanted to discuss ITP and related paperwork15:58
mvozyga: yes15:58
zygamvo, so I see that we have two options15:59
zygamvo, do ITP dance, rebuild the packages I prepared for sid and have you sponsor15:59
zygamvo, or wait for the yaml.v3 changes and release and use that instead of ynext16:00
mvozyga: what is needed for yaml.v3?16:00
zygamvo, the former can start now, the latter is unclear16:00
mvozyga: I slightly prefer (2) because without we will need to do a package for 3next?16:00
zygamvo, I think gustavo needs to review some patches for yaml, release it, then spread needs to be updated to use it16:00
mvozyga: is there a yaml.v3 pacakge yet?16:00
zygaI made one today16:01
zygaall the packages are read and need review and sponsorship16:01
mvozyga: with the in-progress v3? that should be fine16:01
zygaI made both16:01
zygaynext and yaml.v316:01
mvozyga: hm, what is the relation of ynext to yaml.v3? I mean, ideally we would not dput ynext because it's extra burden for us and ftp-master16:01
zygaynext is precursor to yaml.v316:02
zygaI agree16:02
mvozyga: could we make spread work with the current yaml.v3 ? is that easy?16:02
zygayaml.v3 is not released yet officially from what I understand16:02
zygait should be a drop in replacement though16:02
mvozyga: then we could push a yaml.v3 pacakge and spread build against this. and once v3 is fully released we push the two packages again but that does not require any work from ftp-master16:03
zygathere's a similar question for kr-pretty16:03
zygathere's a fork in gustavo's github that spread is using16:03
zygaI also packaged that16:03
mvozyga: what the difference of that vs gustavos version?16:03
zygamvo, in that case, could you review yaml.v3 that I uploaded there16:03
zygamvo, some more patches16:03
zygait's go, a bit of a wild west perhaps16:03
mvozyga: do we need those? mostly asking because any new binary/source pacakge requires that a human with limited time/patience (ftp-master) looks at it. so the least amount of extra work we create the faster it will go :)16:04
pedronismvo: re-reviewed16:04
mvopedronis: \o/16:04
ijohnsonpedronis: hey I wrote a quick doc for the recovery systems rest api, could you take a look?16:04
ijohnsonI just shared it with you and graham16:04
zygamvo, I understand that but I wanted to be true to the source16:05
zygaI suspect gustavo can answer that in detail16:05
ijohnsonit ocurred to me that actually it's rather complicated to explain what the difference between "do" and "reboot" action are16:05
ijohnsonI wanted to make sure I got it right16:05
ijohnsonhey zyga16:05
zygahey ijohnson :)16:05
ijohnsonhaving fun with spread I see :-)16:05
zygawanted to help a little :)16:06
mvozyga: sure, sure, jsut asking if for the debian version we could use spread with upstream -pretty and not with the fork16:06
ijohnsonalways appreciated :-)16:06
zygamvo, I don't know, the answer is "maybe"16:07
zygait probably only matters in -vv mode16:07
zygapackaging is rather simple so if you could do a pass and let me know we can iterate16:07
zygamvo, I'd be comfortable with non-forked versions iff those land in spread upstream16:08
mupPR snapcraft#3386 opened: meta: don't overwrite preconfigured hooks with stubs <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3386>16:08
zygamvo, let me know please16:11
zygaI'll run away now16:11
mvozyga: we can start with the yaml.v3 I guess, that should be pretty simple16:11
zygamvo, yeah16:11
mvozyga: haha, run!16:11
zygawe can also rev it16:11
mvozyga: let's talk when you are back16:11
zygawhen more patches land upstream I'm happy to release it16:11
zygaideally if gustavo tags v3.x.y16:11
mvozyga: more patches for what?16:11
zygamvo, for yaml.v3, I understand there are PRs for him to review16:11
mvozyga: it's totally fine to have yaml.v3 3.0~pre1.gitXXYYYZZZ16:12
zygabut unless those add deps it's super easy to update16:12
zygayeah, this is what I packaged now16:12
mvozyga: exactly16:12
mvozyga: yeah, that should be fine16:12
zygav3-0~20221124...16:12
mvozyga: +116:12
zygaso it's good to go IMO16:12
zygamvo, I packaged both spread and humbox in the other package16:13
zygago packaging is fairly painless now16:13
zygaso if you have a moment to look and provide feedback, that would rock16:14
pedronisijohnson: I got the share, I'll look at it tomorrow in my morning if that's ok?16:14
zygaI did the painful copyright file in all cases16:14
ijohnsonpedronis: yes that's ok16:14
ijohnsonpedronis: also I'm working on adding support for i.e. `snap reboot --recover` without the label specified16:14
mvozyga: what's the url again? sorry, misplaced16:14
pedronisijohnson: I thought we supported some of that already16:14
ijohnsonbecause that doesn't work, I was just going to make a POST to `/v2/systems` DTRT and figure out the right system to act on16:14
ijohnsonpedronis: no, you have to specify the system16:15
pedronismmh16:15
ijohnsonanonymouse67@ubuntu:~$ snap reboot --recover16:15
ijohnsonerror: cannot request system reboot: method "POST" not allowed16:15
pedronisI'm probably misremembering something16:15
ijohnsonI think it was just missed in code review16:15
zygamvo, https://launchpad.net/~zyga/+archive/ubuntu/oh-tools/+packages16:15
ijohnsonthe client just uses "" as the recovery system when performing the POST16:15
zygasorry for not using a more neutral location but it's just practical for me16:15
ijohnsonpedronis: which I think is totally fair to provide "" as the recovery system in the request and let the daemon figure out the right current system16:16
pedronisijohnson: sounds we miss a spread tests ?16:16
ijohnsonwell we found it in spread tests when trying to use `snap reboot --recover` and I think there's even a TODO about it not working and need to grep `snap recovery`16:16
ijohnsonbut yes we should add such a spread test16:17
ijohnsonand/or adapt the current ones to not find the label using `snap recovery`16:17
pedronisijohnson: to be clear the intention was to make this work, seems we didn't dot the i, I'm bit surprised/worried that we are missing bits also in devicestate16:22
ijohnsonpedronis: no I don't think we are missing the bits in devicestate16:22
ijohnsonI just made it work by adding the path for POST to /v2/systems to api_systems.go16:23
mvozyga: packaging looks fine, homepage is not quite right, see https://paste.ubuntu.com/p/3TQtMMvRRw/ (ignore the changelog diff, just added that for debdiff benefits)16:23
ijohnsonI think it's just that little bit of daemon that 's missing16:23
pedronisah, then I misunderstood your comments16:23
ijohnsonsorry yes we are _just_ missing the daemon bit16:23
ijohnsonI will have a PR shortly that uses this after I finish some tests16:23
ijohnsonwould be "nice" to have for release since it's a much more clear CLI user story to just do `snap reboot --recover` and have to find the label from `snap recovery` first, etc.16:24
ijohnsonbut I don't think it's a blocker16:24
mvopedronis: thanks! I updated 9692 to use embedding now16:34
mvoalso 9692 needs a second review now :)16:36
ijohnsonoh hmmm actually maybe devicemgr is doing the wrong thing :-(16:38
ijohnsonok I think I have it sorted finally, we are missing bits in both devicemgr and in daemon16:59
zygamvo, ah, good catch17:02
zygamvo, thanks, I'll open an ITP and complete the package17:02
zyga-mbpmvo let me weak packaging now17:09
diddledanwhy are the gnome platform snaps missing from `snap find`?17:10
diddledanhttps://www.irccloud.com/pastebin/YN3ycIMs/17:10
ograi think thats on purpose17:11
ogra(forgot the reason though ... but theer probably is one even 🙂 )17:11
diddledanoic. that means I need to guess which ones are available? ;-p17:13
ogradiddledan, snapcraft list-extensions17:15
diddledanthat only works for extensions that have stabilised :-)17:16
diddledanand there's no guarantee that an extension is named exactly the same as their platform snap17:16
diddledanalso. kenvandine pretty please get a desktop extension for core20 out the door 🙏🏻17:17
kenvandinediddledan: indeed, it's in the works but waiting on some changes in snapcraft from sergio17:18
diddledanbah :-p17:18
kenvandinei have a WIP branch for gnome-3-38-2004{,-sdk} but tons of build failures for things using autotools17:19
diddledandang17:19
kenvandinei was working around them but sergio said he would restore some of the stuff that was dropped from the autotools plugin17:19
diddledanaah. yeah the new v2 plugins are much simpler than their v1 equivalents IIRC17:20
diddledanthat probably means they're doing less fixup17:20
* diddledan makes a note to bother segio ;-p17:21
diddledansergio*17:21
kenvandineyup17:24
diddledanI'm working on improving snapcraft.io/fakecam by adding hardware acceleration, but cuda is complaining about GCC being too new - I'm hoping when I can make the jump to core20 the newer cuda libraries will be better behaved17:24
mupPR snapd#9694 opened: o/devicestate,daemon: fix reboot system action to not require a system label <Bug> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9694>17:35
ijohnsonpedronis: ^ is the pr, you were right there was a small bit in devicestate that needed to be fixed in addition to the daemon bits being weird17:36
mupPR snapcraft#3372 closed: tests: make each static test available as a make target <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3372>17:38
mupPR snapcraft#3376 closed: tests: add missing mock for rust unit tests <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3376>17:38
=== ijohnson is now known as ijohnson|lunch
* cachio afk19:55
mupPR snapcraft#3373 closed: ci: migrate static & unit tests from travis to github actions <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3373>20:38
mupPR snapcraft#3387 opened: ci: migrate snap publishing to github actions <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3387>20:53
=== ijohnson|lunch is now known as ijohnson
mupPR snapd#9689 closed: boot: add helper for generating candidate kernel lines for recovery system <Simple 😃> <UC20> <Created by bboozzoo> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/9689>21:01
mupPR snapcraft#3388 opened: ci: migrate snap publishing to github actions <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3388>21:13
mupPR snapcraft#3368 closed: ci: use github actions for cla check <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3368>21:44
mupPR snapd#9695 opened: bootloader/lk: add support for UC20 lk bootloader with V2 lkenv structs <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9695>23:26
mupPR snapd#9696 opened: osutil/disks: allow building on mac os <Simple 😃> <Skip spread> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9696>23:52

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