Hydra/Controller/Root: remove deprecated LocalRegex
[?]
Nov 30, 2021, 8:37 PM
GD4VD4SCRO55SQ4A4ZZ552ANYJI6I76G6YWV7PHXIW6RJRWOMSLQCDependencies
- [2]
YAD7524SProxy local binary caches via hydra-server - [3]
TF5HAPRDexport a /prometheus endpoint - [4]
RWNXH3H2lastModified -> lastModifiedDate - [5]
LSZLZHJYAllow users to edit their own settings - [6]
HAI5TY47Make negative narinfo responses much smaller - [7]
5OXBTB3LDon't fall thru to Hydra::View::NARInfo - [8]
QOV7KWRHExpose Prometheus metrics at /metrics - [9]
XE6HD7BPProvide the nix-cache-info file required by the binary cache substituter - [10]
YBT5G74QLDAP: add the required packages to the perlPackage via the overlay - [11]
AFEKITYDFix some warnings about undefined values - [12]
SZYDW2DGhydra: added some user admin - [13]
MVB7RRLT* Move NARs from the NixChannel controller to the Root controller and - [14]
IDT3SO3PGenerate *.narinfo files on the fly to support the binary cache substituter - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
SMM4HQTP* Put actions related to builds under /build (e.g. /log/<buildid>
Change contents
- edit in flake.nix at line 432
CatalystDispatchTypeRegex - edit in src/lib/Hydra/Controller/Root.pm at line 18[3.70][17.0]
use Types::Standard qw/StrMatch/;use constant NARINFO_REGEX => qr{^([a-z0-9]{32})\.narinfo$}; - replacement in src/lib/Hydra/Controller/Root.pm at line 355
sub narinfo :LocalRegex('^([a-z0-9]+).narinfo$') :Args(0) {my ($self, $c) = @_;sub narinfo :Path :Args(StrMatch[NARINFO_REGEX]) {my ($self, $c, $narinfo) = @_; - replacement in src/lib/Hydra/Controller/Root.pm at line 363
my $hash = $c->req->captures->[0];my ($hash) = $narinfo =~ NARINFO_REGEX; - replacement in src/lib/Hydra/Controller/Root.pm at line 365
die if length($hash) != 32;die("Hash length was not 32") if length($hash) != 32;