Replace some `.'s in HTML filenames with `/'s, making the directory listings easier to deal with.
Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com> --- sg-report-flight | 4 ++-- sg-report-job-history | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sg-report-flight b/sg-report-flight index bdaf1c8..d3c0166 100755 --- a/sg-report-flight +++ b/sg-report-flight @@ -813,8 +813,8 @@ END <h1>$title</h1> <ul> <li><a href="../">Flight $fi->{Flight} scoreboard</a> -<li><a href="$c{ResultsHtmlPubBaseUrl}/history.$job">History for $job</a> -<li><a href="$c{ResultsHtmlPubBaseUrl}/history.$job.$branch">History for $job in tests of $branch</a> +<li><a href="$c{ResultsHtmlPubBaseUrl}/history/$job/ALL">History for $job</a> +<li><a href="$c{ResultsHtmlPubBaseUrl}/history/$job/$branch">History for $job in tests of $branch</a> <li><a href="./">Logfiles for $fi->{Flight} $job as webserver directory listing</a> </ul> <h2>Steps</h2> diff --git a/sg-report-job-history b/sg-report-job-history index 18821b3..900d998 100755 --- a/sg-report-job-history +++ b/sg-report-job-history @@ -198,12 +198,14 @@ END if (defined $htmlout) { my ($title,$html_file,$url); + ensuredir "$htmlout/history"; + ensuredir "$htmlout/history/$j"; if (defined $bra) { - $title= "$j $bra"; - $html_file= "history.$j.$bra.html"; + $title= "$j (branch $bra)"; + $html_file= "history/$j/$bra.html"; } else { - $title= $j; - $html_file= "history.$j.html"; + $title= "$j (all branches)"; + $html_file= "history/$j/ALL.html"; } $html_file= "$htmlout/$html_file"; open H, "> $html_file.new" or die "$html_file $!"; -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel