Change `fetchInputGit' to do `git clone -b BRANCH' instead of `git clone'.

[?]
Mar 10, 2011, 3:06 PM
UO67NQMRXO2CTWPL4ORKOSX5D3GWQGGY2DRLEOCVHKOI7WCHFWBAC

Dependencies

  • [2] C7CXMZ66 hydra: do not perform git clone every time. in stead work on local clone and pull
  • [3] BK24VA6Q * for git inputs, check latest revision of branch (defaults to master for now), if there is change, only use input if last checkout was > hour ago.
  • [4] CHQEG6WY Hydra/29: Added timeout to svn/git checkouts, job evaluation
  • [*] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate

Change contents

  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 305
    [2.124][2.124:179]()
    $clonePath = scmPath . "/" . sha256_hex($uri);
    [2.124]
    [2.179]
    $clonePath = scmPath . "/" . sha256_hex($uri . $branch);
  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 310
    [2.271][2.271:320]()
    ("git", "clone", $uri, $clonePath));
    [2.271]
    [2.320]
    ("git", "clone", "--branch", $branch, $uri, $clonePath));