Hydra/26: Go back to using "svn export" as default for svn, added svn-checkout type for jobset which need .svn dirs. export is much more efficient

[?]
May 11, 2010, 11:37 AM
2WUNXJGWGHQRE24ZJT4VIP35OHO2E4VCKA65TCCKU55BNBIPABCAC

Dependencies

  • [2] KQS7DSKJ * Clean up indentation.
  • [3] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [4] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate
  • [5] IK53RV4V
  • [6] VJ7KT7XZ remove cvs from list because it is not implemented yet
  • [7] 3XTHEUMP * Implemented the clone feature.
  • [8] JLDUSNUO * Unify rendering of finished and scheduled builds.
  • [9] JTRG7RDQ add support for git as jobinput
  • [10] YFPZ46YK * hydra: added variant of build input type, 'build output (same system)' to allow better continous integration in one jobset for multiple system. it makes sure that the system of the build that is passed as input for a job has the same system as the job.
  • [11] WWUOQ7V4 * hydra: indentation and fixed duplicate key in cachedgitinputs bug
  • [*] 3HZY24CX * Make jobsets viewable under

Change contents

  • replacement in src/lib/Hydra/Controller/Jobset.pm at line 175
    [3.1692][3.1692:1773]()
    $inputType eq "svn" || $inputType eq "cvs" || $inputType eq "tarball" ||
    [3.1692]
    [3.1773]
    $inputType eq "svn" || $inputType eq "svn-checkout" || $inputType eq "cvs" || $inputType eq "tarball" ||
  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 131
    [3.201][3.201:261]()
    my ($db, $project, $jobset, $name, $type, $value) = @_;
    [3.201]
    [3.6793]
    my ($db, $project, $jobset, $name, $type, $value, $checkout) = @_;
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 159
    [2.3046]
    [2.3046]
    $ENV{"NIX_PREFETCH_SVN_LEAVE_DOT_SVN"} = "$checkout";
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 313
    [2.7115][2.7115:7169]()
    $ENV{"NIX_PREFETCH_SVN_LEAVE_DOT_SVN"} = "1";
  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 370
    [3.2414][2.8659:8735]()
    return fetchInputSVN($db, $project, $jobset, $name, $type, $value);
    [3.2414]
    [3.2483]
    return fetchInputSVN($db, $project, $jobset, $name, $type, $value, 0);
    }
    elsif ($type eq "svn-checkout") {
    return fetchInputSVN($db, $project, $jobset, $name, $type, $value, 1);
  • replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 414
    [3.1790][3.1633:1709]()
    when (["svn", "path", "build", "git", "cvs", "sysbuild"]) {
    [3.1790]
    [3.1840]
    when (["svn", "svn-checkout", "path", "build", "git", "cvs", "sysbuild"]) {
  • replacement in src/root/common.tt at line 7
    [3.2820][3.2820:2856]()
    { "svn" = "Subversion checkout"
    [3.2820]
    [3.5885]
    { "svn" = "Subversion export"
    , "svn-checkout" = "Subversion checkout"