[?]
Nov 12, 2008, 11:09 AM
LQNBKF3DKVYK3NPDGK7OLOTIWIF4HR3EKLRYNLZJB4G3NMIVBCEAC

Dependencies

Change contents

  • edit in src/HydraFrontend/lib/HydraFrontend/Controller/Root.pm at line 49
    [3.108]
    [3.108]
  • edit in src/HydraFrontend/lib/HydraFrontend/Controller/Root.pm at line 52
    [3.280]
    [3.280]
  • edit in src/HydraFrontend/lib/HydraFrontend/Controller/Root.pm at line 54
    [3.317]
    [3.317]
    $c->model('DB::Builds')->search({project => $projectName}, {join => 'resultInfo', select => {sum => 'starttime'}});
    $c->stash->{finishedBuilds} = $c->model('DB::Builds')->search(
    {project => $projectName, finished => 1});
    $c->stash->{succeededBuilds} = $c->model('DB::Builds')->search(
    {project => $projectName, finished => 1, buildStatus => 0},
    {join => 'resultInfo'});
    $c->stash->{scheduledBuilds} = $c->model('DB::Builds')->search(
    {project => $projectName, finished => 0});
    $c->stash->{busyBuilds} = $c->model('DB::Builds')->search(
    {project => $projectName, finished => 0, busy => 1},
    {join => 'schedulingInfo'});
    $c->stash->{totalBuildTime} = $c->model('DB::Builds')->search(
    {project => $projectName},
    {join => 'resultInfo', select => {sum => 'stoptime - starttime'}, as => ['sum']})
    ->first->get_column('sum');
  • edit in src/HydraFrontend/lib/HydraFrontend/Controller/Root.pm at line 107
    [13.1]
    [13.1]
    $c->stash->{curTime} = time;
  • replacement in src/HydraFrontend/root/build.tt at line 143
    [2.4037][2.4037:4090]()
    <tr><th>Nr</th><th>What</th><th>Status</th></tr>
    [2.4037]
    [2.4090]
    <tr><th>Nr</th><th>What</th><th>Duration</th><th>Status</th></tr>
  • edit in src/HydraFrontend/root/build.tt at line 153
    [2.4288]
    [2.4288]
    [% IF step.busy == 0 %]
    [% step.stoptime - step.starttime %]s
    [% ELSE %]
    [% curTime - step.starttime %]s
    [% END %]
    </td>
    <td>
  • edit in src/HydraFrontend/root/build.tt at line 210
    [13.1151]
    [12.8222]
  • edit in src/HydraFrontend/root/build.tt at line 212
    [12.8223]
    [12.8223]
    [% IF build.buildlogs %]
  • edit in src/HydraFrontend/root/build.tt at line 225
    [14.108]
    [14.108]
    [% END %]
  • edit in src/HydraFrontend/root/build.tt at line 227
    [14.109]
    [15.4184]
  • replacement in src/HydraFrontend/root/job.tt at line 5
    [3.1485][3.1485:1493](),[3.1493][3.3638:3751](),[3.913][3.1575:1661](),[3.3751][3.1575:1661](),[3.1575][3.1575:1661]()
    <table>
    <tr><th></th><th>Id</th><th>Project</th><th>Job</th><th>System</th><th>Timestamp</th><th>Description</th></tr>
    [% FOREACH build IN builds -%]
    [% INCLUDE "short-build-info.tt" %]
    [% END -%]
    [3.1485]
    [3.1661]
    <table class="tablesorter">
    <thead>
    <tr><th></th><th>Id</th><th>Project</th><th>Job</th><th>System</th><th>Timestamp</th><th>Description</th></tr>
    </thead>
    <tbody>
    [% FOREACH build IN builds -%]
    [% INCLUDE "short-build-info.tt" %]
    [% END -%]
    </tbody>
  • replacement in src/HydraFrontend/root/project.tt at line 12
    [3.1872][3.1872:2036]()
    <p>
    Description: [% jobset.description %]
    <br />
    Nix expression: <tt>[% jobset.nixexprpath %]</tt> in input <tt>[% jobset.nixexprinput %]</tt>
    </p>
    [3.1872]
    [3.2036]
    <h4>Information</h4>
    <table>
    <tr>
    <th>Description:</th>
    <td>[% jobset.description %]</td>
    </tr>
    <tr>
    <th>Nix expression:</th>
    <td><tt>[% jobset.nixexprpath %]</tt> in input <tt>[% jobset.nixexprinput %]</tt></td>
    </tr>
    </table>
    <h4>Inputs</h4>
  • edit in src/HydraFrontend/root/project.tt at line 60
    [3.2862]
    [3.2862]
    <h2>Statistics</h2>
  • edit in src/HydraFrontend/root/project.tt at line 64
    [3.2863]
    [3.2863]
    <table>
    <tr>
    <th>Finished builds:</th>
    <td>[% finishedBuilds %]</td>
    </tr>
    <tr>
    <th><img src="/static/images/success.gif" /> Succeeded builds:</th>
    <td>[% succeededBuilds %]</td>
    </tr>
    <tr>
    <th><img src="/static/images/failure.gif" /> Failed builds:</th>
    <td>[% finishedBuilds - succeededBuilds %]</td>
    </tr>
    <tr>
    <th>Total build time:</th>
    <td>[% totalBuildTime %]s</td>
    </tr>
    <tr>
    <th>Scheduled builds:</th>
    <td>[% scheduledBuilds %]</td>
    </tr>
    <tr>
    <th>Currently executing builds:</th>
    <td>[% busyBuilds %]</td>
    </tr>
    </table>
  • edit in src/build.pl at line 62
    [2.5850]
    [2.5850]
    , starttime => time
  • edit in src/build.pl at line 75
    [2.6320]
    [2.6320]
    $step->stoptime(time);
  • replacement in src/build.pl at line 85
    [2.6685][2.6685:6873]()
    die unless $step;
    $step->busy(0);
    $step->status(1);
    $step->errormsg($4);
    $step->update;
    [2.6685]
    [2.6873]
    if ($step) {
    die unless $step;
    $step->busy(0);
    $step->status(1);
    $step->errormsg($4);
    $step->stoptime(time);
    $step->update;
    } else {
    $db->resultset('Buildsteps')->create(
    { id => $build->id
    , stepnr => $buildStepNr++
    , type => 0 # = build
    , drvpath => $drvPath
    , outpath => $2
    , logfile => $4
    , busy => 0
    , status => 1
    , starttime => time
    , stoptime => time
    , errormsg => $4
    });
    }
  • replacement in src/runner.pl at line 93
    [3.9329][3.9329:9344]()
    sleep(10);
    [3.9329]
    [3.9344]
    sleep(5);