Fix GitHub status update for private flakes.
[?]
Apr 26, 2021, 12:38 AM
POHVCHMPWYFVPZWKQCJGND5QG74D3RDBIU4DXCHDOU66XKZOWTZQCDependencies
- [2]
6XZA5RB6Fix Github status plugin for flakes - [3]
YH2ITHUE[DEVOPS-1126] throttle github status calls to remain under api ratelimits - [*]
NSRWW6LCAdd a plugin to interact with the github status API.
Change contents
- replacement in src/lib/Hydra/Plugin/GithubStatus.pm at line 96
$eval->flake =~ m!github:([^/]+)/([^/]+)/(.+)$!;$sendStatus->("src", $1, $2, $3);if ($eval->flake =~ m!github:([^/]+)/([^/]+)/([[:xdigit:]]{40})$! or $eval->flake =~ m!git\+ssh://git\@github.com/([^/]+)/([^/]+)\?.*rev=([[:xdigit:]]{40})$!) {$sendStatus->("src", $1, $2, $3);} else {print STDERR "Can't parse flake, skipping GitHub status update\n";}