!aGqRytqbCECitOFhbt:nixos.org

Release Management

345 Members
25.11 "Xantusia" | https://nixos.github.io/release-wiki/Home.html94 Servers

Load older messages


SenderMessageTime
13 Nov 2023
@raitobezarius:matrix.orgraitobezarius

We need to write:

  • documentation for migration
  • send an announcement for unstable users
  • release notes for 23.11

ASAP

13:44:28
@raitobezarius:matrix.orgraitobezariusI will do the modifications to Ma27's PR to go with this13:44:42
@bendlas:matrix.orgbendlasgood call!13:47:10
@bendlas:matrix.orgbendlas
  1. let's please steer users away from initialScript. Maybe even deprecate as well (remember, this is only run once for the whole cluster, so huge pitfall when adding new DBs)
13:49:18
@bendlas:matrix.orgbendlas maybe do something like repeatableInit instead 13:49:53
@raitobezarius:matrix.orgraitobezarius
In reply to @bendlas:matrix.org
  1. let's please steer users away from initialScript. Maybe even deprecate as well (remember, this is only run once for the whole cluster, so huge pitfall when adding new DBs)
Please do send a PR to postgresql.md to explain how to do this
13:51:31
@raitobezarius:matrix.orgraitobezariusI will cherry-pick your commit with Ma27 PR or we will figure out something13:51:41
@raitobezarius:matrix.orgraitobezariusI don't think we should deprecate initialScript right now13:51:55
@raitobezarius:matrix.orgraitobezariusAll deprecations are expensive and we are running out of consideration budgets :P13:52:05
@raitobezarius:matrix.orgraitobezariusBut let's write how to migrate from ensurePermissions to postStart in a palatable way13:52:17
@bendlas:matrix.orgbendlas Yep, I can write something up. postStart is also not ideal, since it only lets you talk about ordering using mkAfter and the like, but should be enough for most people for now. 13:55:31
@bendlas:matrix.orgbendlas maybe we can get a few people together to rethink all of ensure* across postgresql and mysql (and others?) 13:56:22
@bendlas:matrix.orgbendlas... for 24.05 that is13:56:28
@raitobezarius:matrix.orgraitobezariusYep I am moving all the thinking to 24.0513:57:29
@raitobezarius:matrix.orgraitobezarius
In reply to @bendlas:matrix.org
Yep, I can write something up. postStart is also not ideal, since it only lets you talk about ordering using mkAfter and the like, but should be enough for most people for now.
I think so too
13:57:39
@raitobezarius:matrix.orgraitobezariusLike it's not less expressive than ensurePermissions13:57:46
@bendlas:matrix.orgbendlastrue13:58:11
@bendlas:matrix.orgbendlas ... except .. ensure* always puts permissions after db creation, but oh well ... 14:00:00
@raitobezarius:matrix.orgraitobezariusyou can always do the permission creation on the preStart of the module you are interested14:03:45
@raitobezarius:matrix.orgraitobezariusor you can have a postgresql-$myservice-install-permissions.service oneshot thingie14:03:56
@raitobezarius:matrix.orgraitobezariusI posted https://discourse.nixos.org/t/breaking-changes-announcement-for-unstable/17574/39?u=raitobezarius14:05:10
@bendlas:matrix.orgbendlas
In reply to @raitobezarius:matrix.org
or you can have a postgresql-$myservice-install-permissions.service oneshot thingie
good point. I'm wondering if we should advise people to do that instead of mkOrder sorcery
14:06:26
@raitobezarius:matrix.orgraitobezariusYep, I think that might be the best option14:06:43
@raitobezarius:matrix.orgraitobezariusWe already have people doing local ensure logic in their own modules depending on the circumstances14:07:10
@raitobezarius:matrix.orgraitobezariusWe just move more complexity to NixOS modules authors14:07:18
@bendlas:matrix.orgbendlasonly fly in the ointment: With pre-15 psql, where db user isn't the owner, I think this wouldn't work, creating yet another lockstep - constraint on psql version :/14:10:05
@raitobezarius:matrix.orgraitobezariuswe only need to provide the information14:10:55
@raitobezarius:matrix.orgraitobezariusnixpkgs nixos modules are fine14:10:57
@raitobezarius:matrix.orgraitobezariusnon-nixpkgs nixos modules will probably have issues14:11:05
@raitobezarius:matrix.orgraitobezariuswe have to write documentation with this in mind14:11:09

Show newer messages


Back to Room ListRoom Version: 6