* Add nix version to footer of hydra pages

[?]
Sep 1, 2009, 8:50 AM
VHYWSRISYUZOFS3ZEI3TSQJCSPRXORA7TPT2LDHLKLDSIT3TOPFQC

Dependencies

  • [2] T2232OBS * Add some DB indices to make the /releases page much faster.
  • [3] 3R5SCBEJ
  • [4] S66BOMVU * Added authentication.
  • [5] UQ6K57MS * Include nix-prefetch-svn in the Hydra binary distribution.
  • [6] KR7QIG6Z
  • [7] JK2QWPH6
  • [8] T4LLYESZ * Nix expression for building Hydra.
  • [9] 6Y3CCJJM
  • [10] 7Z3YOKCV * PROCESS -> INCLUDE in most cases. INCLUDE does proper scoping of
  • [11] TQKGQ5R3
  • [12] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.

Change contents

  • replacement in release.nix at line 98
    [2.56][2.56:113]()
    --set HYDRA_RELEASE ${tarball.version}
    [2.56]
    [3.1798]
    --set HYDRA_RELEASE ${tarball.version} \
    --set NIX_RELEASE ${nix.name}
  • edit in src/lib/Hydra/Controller/Root.pm at line 18
    [2.464]
    [14.1351]
    $c->stash->{nixVersion} = $ENV{"NIX_RELEASE"} || "<devel>";
  • replacement in src/root/layout.tt at line 83
    [3.4834][2.2030:2083]()
    <em>Hydra [% HTML.escape(version) %].</em>
    [3.4834]
    [2.2083]
    <em>Hydra [% HTML.escape(version) %] (using [% HTML.escape(nixVersion) %]).</em>