!djTaTBQyWEPRQxrPTb:nixos.org

Nixpkgs Architecture Team

236 Members
https://github.com/nixpkgs-architecture, weekly public meetings on Wednesday 15:00-16:00 UTC at https://meet.jit.si/nixpkgs-architecture53 Servers

Load older messages


SenderMessageTime
4 Dec 2022
@rick:matrix.ciphernetics.nlRick (Mindavi)For stateful things like DBs it is hard to do things right23:22:45
@raitobezarius:matrix.orgraitobezarius
In reply to @ronnypfannschmidt:matrix.org
Safe rollback needs control over state transition, including db migration
That's a necessary condition, not a sufficient one
23:23:02
@rick:matrix.ciphernetics.nlRick (Mindavi)And upstream has to support control over db migrations if you want to do anything about it23:23:20
@rick:matrix.ciphernetics.nlRick (Mindavi)Or you need to pin a specific version of the app to a specific stateVersion23:23:52
@ronnypfannschmidt:matrix.orgRonnyWell, the default nextcloud module does auto migration snd fake password uogrades, so it's problematic anyway 23:24:15
@rick:matrix.ciphernetics.nlRick (Mindavi)Which is how postgresql supports stateVersion23:24:24
@rick:matrix.ciphernetics.nlRick (Mindavi)But they don't break the db on patch releases...23:24:52
@ronnypfannschmidt:matrix.orgRonnyAs for specific versions, i pinned, didn't protect 23:24:58
@rick:matrix.ciphernetics.nlRick (Mindavi)Hmm, I thought it was a version upgrade that broke it23:25:36
@rick:matrix.ciphernetics.nlRick (Mindavi)Sorry, what happened then again? 😅23:25:49
@raitobezarius:matrix.orgraitobezarius
In reply to @ronnypfannschmidt:matrix.org
As for specific versions, i pinned, didn't protect
I don't think we expose patch-level versions of Nextcloud
23:25:51
@ronnypfannschmidt:matrix.orgRonnyMajor version was pinned, patch had a migration 23:26:18
@raitobezarius:matrix.orgraitobezarius
In reply to @rick:matrix.ciphernetics.nl
Sorry, what happened then again? 😅
Deployed a new patch-level version, rollbacked and I guess NC got confused because it was trying to do DB queries that don't exist or are not compatible with the patch level - 1 version
23:26:22
@raitobezarius:matrix.orgraitobezariusClassical stuff that upstream pulls out because rollback paths are not tested by them on that regard23:26:57
@raitobezarius:matrix.orgraitobezarius(and there must be some data to exercise this stuff)23:27:06
@ronnypfannschmidt:matrix.orgRonnyGranular state see necessary to manage bad apps 23:27:11
@raitobezarius:matrix.orgraitobezariusBut the good news is even with control over your DB schema, it won't change anything with Nextcloud ;)23:27:17
@raitobezarius:matrix.orgraitobezariusThere's many migration bugs lurking around with plugins and WebAuthn, etc.23:27:28
@rick:matrix.ciphernetics.nlRick (Mindavi)I think it's best to always run a backup before a system update23:27:43
@rick:matrix.ciphernetics.nlRick (Mindavi)Of stateful data23:27:51
@raitobezarius:matrix.orgraitobezariusA good step IMHO would be https://github.com/NixOS/nixops/pull/124523:28:15
5 Dec 2022
@roberthensing:matrix.orgRobert Hensing (roberth)reminder: I can't make the meeting today10:20:16
@infinisil:matrix.orginfinisil @room: The next meeting will take place soon, we will continue discussing issues in https://github.com/nixpkgs-architecture/simple-package-paths - meeting link - live stream - meeting notes 15:21:47
@infinisil:matrix.orginfinisil John Ericson tomberek ^ 15:34:05
@infinisil:matrix.orginfinisilMeeting notes: https://discourse.nixos.org/t/2022-12-05-nixpkgs-architecture-team-meeting-20/2374016:09:51
@nbp:mozilla.orgnbpStupid question, has anybody contacted github asking what they think of the problem / solution? After all being one of the most contributed repository, this might be impactful for them.16:14:29
@infinisil:matrix.orginfinisil nbp: Not a stupid question, that's a good idea! 16:43:01
@infinisil:matrix.orginfinisilRelated to the recent collaboration: https://discourse.nixos.org/t/nixos-github-collaboration/2343216:43:43
7 Dec 2022
@infinisil:matrix.orginfinisilIf somebody wants to help out, I'm in https://meet.jit.si/nixpkgs-architecture, working on the rust tool for Nix file renames in https://github.com/nixpkgs-architecture/simple-package-paths/pull/2219:07:08
8 Dec 2022
@whentze:matrix.orgWanja HentzeHey, I know Rust, I think I can help09:53:38

Show newer messages


Back to Room ListRoom Version: 9