/srv/irclogs.ubuntu.com/2021/10/29/#snappy.txt

mborzeckimorning06:02
mborzeckitime to grab some coffee06:47
mardymborzecki: 'morning06:51
mborzeckimardy: hey06:51
pstolowskimorning06:53
mborzeckipstolowski: hey07:00
mborzeckipstolowski: wonder if that problem with refresh-candidates in state is just corrupted state.json07:09
pstolowskimborzecki: yeah i don't see anything wrong right now, st.set and st.get look fine. i wonder though if at some point it wasn't an array and got changed to map (in master/edge only), i need to check git changes07:35
mborzeckipstolowski: hm i don't recall any recent changes in that area07:39
pstolowskimborzecki: i did plenty of changes07:41
pstolowskifor refresh-control07:41
pstolowskithis error is from the new code07:42
mborzeckipstolowski: hmm interesting07:42
pstolowskimborzecki:  git show ea26b8e9eb882dc7ecae249bf2403b1c6edd9cfa07:47
pstolowskithat's it07:47
pstolowskihttps://github.com/snapcore/snapd/pull/1018207:50
mupPR #10182: o/snapstate: autorefresh phase1 for refresh-control <Needs Samuele review> <Refresh control> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/10182>07:50
pstolowskiso https://github.com/snapcore/snapd/pull/10167 introduced refresh-candidates in state as an array07:57
mupPR #10167: o/snapstate: store refresh-candidates in the state <Needs Samuele review> <Refresh control> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10167>07:57
pstolowskiand https://github.com/snapcore/snapd/pull/10182 changed it to map07:58
mupPR #10182: o/snapstate: autorefresh phase1 for refresh-control <Needs Samuele review> <Refresh control> <Created by stolowski> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/10182>07:58
mborzeckihmm07:59
mborzeckiwas any of those part of the stable releases?07:59
pstolowskiand they landed almost 1 month apart07:59
pstolowskii'm about to check that07:59
pstolowskifwtw any refresh/autorefresh should fix this08:00
pstolowskiso it's a bit unclear why is he in this state08:00
zyga-mbpmborzecki hey, I saw your request, I'll review it shortly08:15
mborzeckizyga-mbp: thanks08:15
* zyga-mbp mborzecki and done08:17
zyga-mbpI had a look at the diff earlier but didn't have my auth to approve08:17
mborzeckizyga-mbp: thanks, this shoudl fix people updating on 15.3 where we did not build with apparmor before08:18
zyga-mbpright08:18
zyga-mbplittle by little, that's nice progress08:18
pstolowskimborzecki: it seems it was never released in the in-between state. was introduced in 2.51 as a map08:27
mborzeckipstolowski: but was in edge right?08:27
pstolowskimborzecki: yes08:27
pstolowskii'm going to reply on the forum08:28
mborzeckigreat, let's see if they're tracking edge08:28
mborzeckifunny how submitting a review in github sometimes makes the little notification banner go away11:51
mupPR snapd#10984 closed: data/selinux: allow snap-confine to read udev's database <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10984>12:15
mardymborzecki: what does the postrm script do? Is it a shortcut to quickly remove all installed snaps when uninstalling snapd?12:19
mborzeckimardy: take a look at debian/snapd.postrm, it's invoked when you call `apt remove --purge`12:20
mborzeckiother distros use snap-mgmt --purge for this, as their hooks run before the package is actually removed12:21
mardymborzecki: yes, I found it, I just want to make sure I understand the goal12:21
mborzeckiso the goal is to clean up everything snapd generated12:22
ijohnson[m]mardy: bboozzoo I made a proposal in 10918, can you take a look today before EOW?12:32
mardyijohnson[m]: only if you will have a look at the mount-control one! ;-)12:39
ijohnson[m]mardy: I will try very hard to look at it today 🙂12:39
mupPR snapd#10690 closed: tests: split test tools - part 1 <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10690>12:40
mupPR snapd#10863 closed: tests: fix nested tests on uc20 <Run nested> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10863>12:40
ijohnson[m]mardy: will there be a mount-control step 3 BTW?12:49
ijohnson[m]is step-3 to enable the persistent auto-mounting ?12:50
mardyijohnson[m]: yes, the branch is already there, I need to clean it up after mount-control-2 lands12:56
mardyijohnson[m]: I added a comment to 10918, I think that if you add an "s" to the function name it would be perfect :-)12:56
ijohnson[m]mardy: ack, thoughts on doing it in this PR or as a followup ?13:00
mardyijohnson[m]: normally I would say we could do it later, but here it looks like you didn't even push your code, so I think you are still in time to make the changes :-)14:01
mardy(at least I don't see your suggested code in the diff)14:01
ijohnson[m]yeah I haven't pushed it, wondering if we could just merge it and do it in simpler/smaller followups14:01
ijohnson[m]to be clear, I am going to make the suggested change to UsableSectorsEnd and update the doc-comments14:02
mardyijohnson[m]: ah, you mean merging the current one, and then apply your suggestions as a follow-up? Sounds good to me!14:35
ijohnson[m]mardy: great, would you mind giving it a +1 so I can get mvo to force merge it, then I will open up the follow-up immediately afterwards ?14:36
mardyijohnson[m]: done!14:39
ijohnson[m]thanks14:41
mupPR snapd#10918 closed: osutil/disks: add methods to replace gadget/ondisk functions  <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10918>14:45
mupPR snapd#10933 closed: interfaces: suppress denial of sys_module capability <Created by mardy> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10933>14:45
ijohnson[m]mardy: bboozzoo I opened https://github.com/snapcore/snapd/pull/10986, feel free to review on Monday if it's your EOD already15:08
mupPR #10986: osutil/disks: re-org methods for end of usable region, size information <Simple 😃> <Skip spread> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10986>15:08
ijohnson[m]I will be rebasing all the other PR's on top of this one15:09
mupPR snapd#10986 opened: osutil/disks: re-org methods for end of usable region, size information <Simple 😃> <Skip spread> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10986>15:10
mardyijohnson[m]: I had a quick look now, +1 (one request to update a comment that IMHO became important with these changes, but that can also be a follow-up)15:17
ijohnson[m]mardy: this one I opened with skip-spread so I can push things there easily 🙂15:17
mupPR snapd#10987 opened: o/snapstate: keep old revision if install doesn't add new one <Created by MiguelPires> <https://github.com/snapcore/snapd/pull/10987>15:30
mupPR snapd#10983 closed: spread: run lxd tests with version from latest/edge <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10983>16:46
mupPR snapd#10988 opened: tests: enable lxd tests on 21.10 too <Created by mvo5> <https://github.com/snapcore/snapd/pull/10988>16:51
=== E_Eickmeyer is now known as Eickmeyer
mupPR snapd#10988 closed: tests: enable lxd tests on 21.10 too <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/10988>18:16

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