hydra: put contents links into html, add links to files from contents page
[?]
Jan 4, 2011, 12:50 PM
G5ZR3ZVZ2A4WEXI377W5KWOKJOOR7A2RN77L7FRJI2UPVIJYYPBACDependencies
- [2]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [3]
VIOVDBSDhydra: nar was replaced, so also move in robots.txt - [4]
FPK5LF53* Put the project-related actions in a separate controller. Put the - [5]
A52HEFHQ* Allow builds to be restarted (if they failed with a transient error, - [6]
5NO7NCKT* Refactoring. - [7]
CS7T2XFI - [8]
LBNVQXUB* Build the /build stuff in a separate controller. - [9]
H5REHM3M - [10]
XJFHFZCA* Provide some redirects to build products by type so that we can for - [11]
DMXVUAPN* Support showing the contents of ISO images (using isoinfo in - [12]
NUIKDEHL* A quick hack to list the contents of various types of files (RPM, - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
OC4JSQJV* hydra: robots.txt, also disallow logs for the actual builds
Change contents
- edit in src/lib/Hydra/Controller/Build.pm at line 206
- edit in src/lib/Hydra/Controller/Build.pm at line 222
my $baseuri = $c->uri_for('/build', $c->stash->{build}->id, 'download', $product->productnr);$baseuri .= "/".$product->name if $product->name;$res =~ s/(\.\/)($relPathRE)/<a href="$baseuri\/$2">$1$2<\/a>/g; - replacement in src/lib/Hydra/Controller/Build.pm at line 265
$c->stash->{'plain'} = { data => $res };$c->forward('Hydra::View::Plain');$c->stash->{title} = "Contents of ".$product->path;$c->stash->{contents} = "<pre>$res</pre>";$c->stash->{template} = 'plain.tt'; - edit in src/lib/Hydra/Controller/Root.pm at line 148[15.97][3.0]
, uri_for('Build', 'download', ["*"], "*") - replacement in src/lib/Hydra/Helper/CatalystUtils.pm at line 209
Readonly::Scalar our $pathCompRE => "(?:[A-Za-z0-9-\+][A-Za-z0-9-\+\._]*)";Readonly::Scalar our $pathCompRE => "(?:[A-Za-z0-9-\+\.][A-Za-z0-9-\+\._]*)";