From: Ian Jackson Subject: [OSSTEST PATCH 12/25] reporting: Move job histories into history/ Date: Wed, 17 Jun 2015 17:45:08 +0100 Message-ID: <1434559521-8751-13-git-send-email-ian.jackson@eu.citrix.com> References: <1434559521-8751-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Z5GTN-0004h4-EZ for xen-devel@lists.xenproject.org; Wed, 17 Jun 2015 16:45:57 +0000 In-Reply-To: <1434559521-8751-1-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Replace some `.'s in HTML filenames with `/'s, making the directory listings easier to deal with. Signed-off-by: Ian Jackson --- 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

$title

Steps

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