Remove the "all" channel

[?]
Nov 30, 2011, 11:07 AM
7G5RWHB7MRELVG2X5VXQE2T2JROZQNUQPTUIIVOHUQIIXBZIDZOAC

Dependencies

  • [2] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [3] RI4S7SYT * Job status: show the active jobs.
  • [4] W6DC6K4I * Happy Javascript hacking.
  • [5] 777XFGVY Hydra/22: on job page, 'finished builds' shows nothing for old (non-current) jobs
  • [6] SJN2QPWH * Big speed-up of the job status page and the channel generation (such
  • [7] Z4KRJX4Q * In the last succeeded / job status queries, use the Builds.isCurrent
  • [8] FN6V3C7M always show latest 10 builds on job page
  • [9] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [10] 6QRHXIM3 * Speed up the jobset index page. Especially the query to get the
  • [11] AKAZKCR6 * At top-level and for each project, provide two channels: "latest"
  • [12] AKAXJDMW * Disable the statistics on the project, jobset and job pages for now
  • [13] TCHEWSZL * The "latest" channel shouldn't contain inactive jobs.
  • [*] FPK5LF53 * Put the project-related actions in a separate controller. Put the
  • [*] 7YBYT2LQ

Change contents

  • edit in src/lib/Hydra/Base/Controller/ListBuilds.pm at line 83
    [3.258][3.386:514](),[3.296][3.386:514](),[3.323][3.386:514](),[3.491][3.386:514](),[3.386][3.386:514](),[3.514][3.259:323]()
    }
    elsif ($channelName eq "all") {
    $c->stash->{channelName} = $c->stash->{channelBaseName} . "-all";
    getChannelData($c, scalar($c->stash->{allBuilds}));
  • edit in src/lib/Hydra/Base/Controller/ListBuilds.pm at line 84
    [3.587]
    [3.587]
    #elsif ($channelName eq "all") {
    # $c->stash->{channelName} = $c->stash->{channelBaseName} . "-all";
    # getChannelData($c, scalar($c->stash->{allBuilds}));
    #}
  • replacement in src/root/job.tt at line 34
    [2.18513][2.18513:18568]()
    <p>This job provides the following Nix channels:</p>
    [2.18513]
    [2.18568]
    <p>This job provides the following Nix channel:</p>
  • edit in src/root/job.tt at line 42
    [2.18782][2.18782:18969]()
    <li>
    <a href="[% c.uri_for('/job' project.name jobset.name job.name
    'channel' 'all') %]"><tt>all</tt></a> — contains every successful
    build of this job.
    </li>
  • replacement in src/root/jobset.tt at line 224
    [2.24092][2.24092:24151]()
    <p>This jobset provides the following Nix channels:</p>
    [2.24092]
    [2.24151]
    <p>This jobset provides the following Nix channel:</p>
  • edit in src/root/jobset.tt at line 232
    [2.24376][2.24376:24602]()
    <li>
    <a href="[% c.uri_for('/jobset' project.name jobset.name 'channel'
    'all') %]"><tt>all</tt></a> — contains every successful,
    non-garbage-collected build of every job in this project.
    </li>
  • replacement in src/root/project.tt at line 210
    [2.30080][2.30080:30140]()
    <p>This project provides the following Nix channels:</p>
    [2.30080]
    [2.30140]
    <p>This project provides the following Nix channel:</p>
  • edit in src/root/project.tt at line 217
    [2.30348][2.30348:30563]()
    <li>
    <a href="[% c.uri_for('/project' project.name 'channel' 'all') %]"><tt>all</tt></a> —
    contains every successful, non-garbage-collected build of every
    job in this project.
    </li>