!aGqRytqbCECitOFhbt:nixos.org

Release Management

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

Load older messages


SenderMessageTime
15 Nov 2023
@grahamc:nixos.org@grahamc:nixos.org 16:39:10
@grahamc:nixos.org@grahamc:nixos.org left the room.16:42:14
@qyliss:fairydust.spaceAlyssa Ross 17:10:42
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:12:58
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.18:12:59
16 Nov 2023
@vcunat:matrix.orgVladimír Čunát staging-next merged. 21:11:32
@hexa:lossy.networkhexawhich means hydra will be busy for the next 24 hours realizing that most things are cached21:25:59
@hexa:lossy.networkhexabut timing-wise we are okay21:26:15
17 Nov 2023
@vcunat:matrix.orgVladimír ČunátFYI, the cut of things from staging was on November 11, i.e. staged things up to that point are in master/23.11 now. Given that the original schedule planned this point to 13th, I think it should be OK to make this the last merge and only cherry-pick whatever is considered important for 23.11.06:16:28
@vcunat:matrix.orgVladimír Čunát(I see like only 5 changes merged to staging in that period anyway.)06:17:47
@vcunat:matrix.orgVladimír Čunát (I guess we should create staging-23.11 soon.) 06:18:11
@vcunat:matrix.orgVladimír Čunát * (I guess we should create staging-23.11 soon, as a target for PRs.) 06:18:27
@raitobezarius:matrix.orgraitobezariusFWIW, https://github.com/NixOS/nixpkgs/pull/26764013:52:34
@raitobezarius:matrix.orgraitobezariusI don't like this13:52:37
@raitobezarius:matrix.orgraitobezarius bendlas: My PR will soon go out 14:34:04
@raitobezarius:matrix.orgraitobezariusI'm almost done with backward compat fixes14:34:14
@bendlas:matrix.orgbendlasthe postgres one?14:34:29
@raitobezarius:matrix.orgraitobezariusyep14:34:42
@bendlas:matrix.orgbendlascool, yeah, I think the doc update should also be good to go14:35:16
@raitobezarius:matrix.orgraitobezariusperfect14:36:33
@raitobezarius:matrix.orgraitobezariusoh ffs… https://github.com/iv-org/invidious/blob/c5b87e3b5e5cc7f7f5c8baa7732bd6d81d8f910a/src/invidious/database/migrations/0001_create_channels_table.cr#L714:44:41
@raitobezarius:matrix.orgraitobezariusI am having doubts if using explicitly the schema for creating tables can mess up our strategies or not14:46:20
@bendlas:matrix.orgbendlas you mean the public. prefix? 14:47:07
@raitobezarius:matrix.orgraitobezariusyep14:47:29
@bendlas:matrix.orgbendlaswhat would be the problem there, if we're the owner?14:47:37
@raitobezarius:matrix.orgraitobezarius
    # TODO(raitobezarius to maintainers of invidious): I strongly advise to clean up the kemal specific
    # thing for 24.05 and use `ensureDBOwnership`.
    # See https://github.com/NixOS/nixpkgs/issues/216989
    systemd.services.postgresql.postStart = lib.mkAfter ''
      $PSQL -tAc 'ALTER DATABASE "${cfg.settings.db.dbname}" OWNER TO "${cfg.settings.db.user}";'
      $PSQL -tAc 'GRANT USAGE, CREATE ON SCHEMA public TO "${cfg.settings.db.user}";'
    '';
    services.postgresql = {
      enable = true;
      ensureUsers = lib.singleton { name = cfg.settings.db.user; };
      ensureDatabases = lib.singleton cfg.settings.db.dbname;
      # This is only needed because the unix user invidious isn't the same as
      # the database user. This tells postgres to map one to the other.
      identMap = ''
        invidious invidious ${cfg.settings.db.user}
      '';
      # And this specifically enables peer authentication for only this
      # database, which allows passwordless authentication over the postgres
      # unix socket for the user map given above.
      authentication = ''
        local ${cfg.settings.db.dbname} ${cfg.settings.db.user} peer map=invidious
      '';
    };


14:47:48
@raitobezarius:matrix.orgraitobezariusbasically this is the context14:47:51
@raitobezarius:matrix.orgraitobezarius"I" am owner, I even have USAGE, CREATE on the schema14:48:00
@raitobezarius:matrix.orgraitobezariusand this still fails…14:48:03
@raitobezarius:matrix.orgraitobezariusI wonder if this is related to the usermap14:48:09

Show newer messages


Back to Room ListRoom Version: 6