nix-community / hydra-check

check hydra for the build status of a package [maintainer=@makefu,@Artturin]
MIT License
69 stars 10 forks source link

Use for other hydra instances? #29

Open devhell opened 1 year ago

devhell commented 1 year ago

Love this tool, but I wanted to ask if there are any plans to be able to switch to a different hydra instance, not just querying the official one.

makefu commented 1 year ago

Hey!

https://github.com/nix-community/hydra-check/blob/master/src/hydra_check/cli.py#L48 looks to be the only point where hydra.nixos.org is hardcoded. could you try to change the hostname here? either via patch phase or via fork? If everything looks good then this could be a parameter

makefu commented 1 year ago

Hey @devhell you managed to test another URL? i am unable to test with other hydra instances and would otherwise close this issue.

devhell commented 1 year ago

Hey @makefu, sorry for the delay. I forgot to feed back that I also tested, and failed to get it working.