!zghijEASpYQWYFzriI:nixos.org

Hydra

386 Members
112 Servers

Load older messages


SenderMessageTime
21 Jan 2022
@kenran_:matrix.orgkenran_Oh, no need to do anything right now, I'd just have asked at some point next week otherwise. I can live just fine with the manually created admin users for now!15:49:59
@kenran_:matrix.orgkenran_Please prefer your paid work over this :D15:50:18
@janne.hess:helsinki-systems.dedas_jyou can pass options to Net::LDAP->new(): https://metacpan.org/pod/Catalyst::Authentication::Store::LDAP#ldap_server_options15:50:42
@janne.hess:helsinki-systems.dedas_j(from the yaml)15:50:46
@janne.hess:helsinki-systems.dedas_jone of these options can be debug15:50:52
@grahamc:nixos.org@grahamc:nixos.orgnice! a PR with that in the docs would be great15:51:02
@kenran_:matrix.orgkenran_Thanks!15:52:49
@grahamc:nixos.org@grahamc:nixos.orgif I could get a review on these doc updates that'd be great: https://github.com/NixOS/hydra/pull/1129 16:14:16
@grahamc:nixos.org@grahamc:nixos.org das_j: do you have an example of passing debug? 17:24:54
@grahamc:nixos.org@grahamc:nixos.org

ah:

                  store:
                    class: LDAP
                    ldap_server: localhost
                    ldap_server_options:
                      timeout: 30
                      debug: 2
17:29:06
@grahamc:nixos.org@grahamc:nixos.org ma27: we should probably update hydra in nixpkgs and backport it for this LDAP fix 18:02:00
@grahamc:nixos.org@grahamc:nixos.orgthough maybe that is spooky to do on stable, could just backport that patch to stable18:02:18
@janne.hess:helsinki-systems.dedas_j nix --extra-experimental-features nix-command\ flakes build .#hydraJobs.tests.ldap.x86_64-linux 18:35:03
@janne.hess:helsinki-systems.dedas_jis this really how it's supposed to work? It feels so cumbersome18:35:14
@janne.hess:helsinki-systems.dedas_j * nix --extra-experimental-features nix-command\ flakes build -L .#hydraJobs.tests.ldap.x86_64-linux 18:36:37
@janne.hess:helsinki-systems.dedas_jI think I'm pretty close to actually fully configurable role mappings but I keep tripping over the damn Config::General which doesn't let me use my hashes as I want to use them19:35:32
@grahamc:nixos.org@grahamc:nixos.orgoh cool20:28:53
@janne.hess:helsinki-systems.dedas_jIt actually works20:29:10
@grahamc:nixos.org@grahamc:nixos.orgnice!20:29:13
@janne.hess:helsinki-systems.dedas_jI hate hashrefs so much20:29:14
@grahamc:nixos.org@grahamc:nixos.orgI mean lists and list flatenning and all of that is generally awful20:29:39
@janne.hess:helsinki-systems.dedas_j I'm always like %{%whatever and perl is always like "why would you do it this ugly way?" 20:29:45
@grahamc:nixos.org@grahamc:nixos.orgit is why I write (and ask for) small functions with tests20:29:49
@janne.hess:helsinki-systems.dedas_j
In reply to @grahamc:nixos.org
it is why I write (and ask for) small functions with tests
oh no :D
20:30:13
@janne.hess:helsinki-systems.dedas_jI didn't write one :/20:30:20
@grahamc:nixos.org@grahamc:nixos.orgwell... I can help ...20:30:27
@janne.hess:helsinki-systems.dedas_jnot sure how testable it is… most stuff comes from the framework and the weird plugin20:30:44
@grahamc:nixos.org@grahamc:nixos.orgyeah20:30:50
@janne.hess:helsinki-systems.dedas_jthere's already a PR if you want to take a look at the implementation… I really don't know how I would hook a test framework in it20:31:05
@ma27:nicht-so.sexyma27 grahamc (he/him): which LDAP fix? 21:58:08

Show newer messages


Back to Room ListRoom Version: 6