* Add the name of the jobset to ReleaseSetJobs, otherwise we can't

[?]
Mar 12, 2009, 2:18 PM
3E6IP3R3JGH76PNGG7RCADV65KOV24HQXPXNLVVYIQ46AVYJRG3AC

Dependencies

  • [2] DEMSSSB2 * Controller for jobs which inherits all actions in ListBuilds. So
  • [3] 7ZHHVD6Q * Inputs of type "build" must now be declared explicitly.
  • [4] LCKWLQW3 * In Sqlite "release" is now a keyword, so use "release_" instead.
  • [5] RU7AQO7U * Role-based access control. Only admins can create projects. Only
  • [6] VCOSLZRP
  • [7] IK53RV4V
  • [8] EYNG4EL4 * Regenerate the bindings from a clean sqlite database.
  • [9] CLJQCY2X * Store info about all the build actions and allow them to be
  • [10] R5D7DZPE
  • [11] J5UVLXOK * Start of a basic Catalyst web interface.
  • [12] WHAFVCEI
  • [13] D3DIBMOK * For products that are directories (like manuals), allow a default
  • [14] ZEHSSVFG
  • [15] FDE3BJAP * Refactoring.
  • [16] DQD7JMSU * Fix the terminology.
  • [17] YAPITGB3 * Boolean inputs.
  • [18] FPK5LF53 * Put the project-related actions in a separate controller. Put the
  • [19] B72GLND4
  • [20] 37R34XJO * Negative caching: don't perform a build if a dependency already
  • [21] XNCWZ7OT * Get the job priority from the meta.schedulingPriority attribute.
  • [22] S66BOMVU * Added authentication.
  • [23] L2E6EVE2 * Merged the Build and Job tables.
  • [24] KOTB7BKV
  • [25] POPU2ATH * hydra_scheduler: use eval-jobs.
  • [26] ABEOQU7T
  • [27] 7LKUAIGC
  • [28] DVNWJXWW * Generic declaration of build products.
  • [29] LQNBKF3D
  • [30] 4X6NS66Q * Keep the most recent builds for each job.
  • [31] JLDUSNUO * Unify rendering of finished and scheduled builds.
  • [32] AFTXA575 * $HYDRA_DATA environment variable.
  • [33] 7UJ5YV4V * Provide a channel for each project containing all the latest
  • [34] 2T42QGZD * Register builds as GC roots so they don't get deleted.
  • [35] K3EAQY3X * Doh.
  • [36] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [37] V4RNHJNR * Add a link to each project's homepage. Suggested by karltk.
  • [38] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [39] X27GNHDV * Basic job info in the database.
  • [40] 7YBYT2LQ
  • [41] CMU3YKOU * Store the release name.
  • [42] NREF6YOA * Don't start more builds concurrently than allowed for each system
  • [43] FEMR2C5W
  • [44] AS5PAYLI
  • [45] BHZXGT2H * Channels: provide an index page that lists all the packages in the
  • [46] LBNVQXUB * Build the /build stuff in a separate controller.
  • [47] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [48] NLJJZVHO * Use ->update({...}) properly.
  • [49] 6BLUKEQ2 * Caching of "path" inputs, and fake a revision number for those.
  • [50] SHBLLAVH * More global substitution.
  • [51] ZILILXXK * Allow scheduled builds to be cancelled. They're not removed from
  • [52] N22GPKYT * Put info about logs / build products in the DB.
  • [53] WYN733ST * Store build duration, handle cached builds.
  • [54] TQKGQ5R3
  • [55] ECBA3GQO * Make the schema class names match the case of the SQL table names.
  • [56] K2NXFFKH
  • [57] 67P45PY4
  • [58] UMBR3VG3
  • [59] M552HLIA * Support variant builds.
  • [60] K5BEBWKM
  • [61] 3ZCEPLNO
  • [62] PHX2HIVG * Store info about the build inputs in the build record.
  • [63] YTZOC7C5 * Editing of jobset inputs.
  • [64] ZVTSOVHN * Support Subversion checkouts.
  • [65] BVOPAMLS
  • [66] VJHIHMEH * Store the meta.longDescription and meta.license attributes in the
  • [67] TWVSALRL * Allow the maximum number of concurrent builds per platform to be
  • [68] YTSIRIMK * Separate job status and all builds pages.
  • [69] 6JGCGK5X
  • [70] GWCV3TQV * BuildInputs table: link to dependencies, include store paths.
  • [71] TLZ2SPBR
  • [72] IN272KZW * Automatically keep all builds in the latest successful release in
  • [*] 2GK5DOU7 * Downloading closures.
  • [*] TULPZ62Y * Perform builds in parallel.
  • [*] WZ3AEJ67 * hydra_update_gc_roots.pl registers build outputs that should be kept

Change contents

  • replacement in src/lib/Hydra/Controller/Job.pm at line 29
    [2.714][2.714:799]()
    $c->stash->{curProject}->builds->search({attrName => $c->stash->{jobName}});
    [2.714]
    [2.799]
    $c->stash->{curProject}->builds->search({job => $c->stash->{jobName}});
  • replacement in src/lib/Hydra/Helper/CatalystUtils.pm at line 52
    [5.10585][5.10585:10684]()
    foreach my $job ($builds->search({},
    {group_by => ['project', 'attrname', 'system']}))
    [5.10585]
    [5.10684]
    foreach my $build ($builds->search({},
    {group_by => ['project', 'job', 'system']}))
  • replacement in src/lib/Hydra/Helper/CatalystUtils.pm at line 56
    [5.10710][5.10710:10841]()
    { project => $job->get_column('project')
    , attrname => $job->attrname
    , system => $job->system
    [5.10710]
    [5.10841]
    { project => $build->get_column('project')
    , job => $build->job
    , system => $build->system
  • replacement in src/lib/Hydra/Helper/Nix.pm at line 127
    [5.1530][5.1530:1587]()
    { attrname => $primaryJob->job, finished => 1 },
    [5.1530]
    [5.1587]
    { job => $primaryJob->job, finished => 1 },
  • replacement in src/lib/Hydra/Helper/Nix.pm at line 157
    [5.2478][5.2478:2536]()
    { attrname => $job->job, finished => 1 },
    [5.2478]
    [5.2536]
    { job => $job->job, finished => 1 },
  • replacement in src/lib/Hydra/Schema/BuildInputs.pm at line 39
    [5.782][4.0:142]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:11XN47b5bRrRKiWtzLO+Pw
    [5.782]
    [5.924]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CLL7aeJ0fe0NX3LCnNs4/A
  • replacement in src/lib/Hydra/Schema/BuildProducts.pm at line 38
    [5.4922][4.143:285]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gUnxXuaqq40KFRIUSBmVuA
    [5.4922]
    [5.5064]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9Eer/gLCKlOKfnwC+kfFaw
  • replacement in src/lib/Hydra/Schema/BuildResultInfo.pm at line 38
    [5.2382][4.286:428]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xvSDu+FkyKp5wTAEGmiKOw
    [5.2382]
    [5.2524]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ieF3JOI4N3XZUyMboZhrjg
  • replacement in src/lib/Hydra/Schema/BuildResultInfo.pm at line 44
    [5.668][5.668:727]()
    { id => "faileddepbuild", stepnr => "faileddepstepnr" },
    [5.668]
    [5.727]
    { build => "faileddepbuild", stepnr => "faileddepstepnr" },
  • replacement in src/lib/Hydra/Schema/BuildSchedulingInfo.pm at line 30
    [5.4473][4.429:571]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xv5P0Erv5oEy4r3c9RuV0w
    [5.4473]
    [5.4615]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oomDjaTJHIQjraUqhzFPsg
  • replacement in src/lib/Hydra/Schema/BuildSteps.pm at line 11
    [5.1870][5.1870:1878]()
    "id",
    [5.1870]
    [5.1878]
    "build",
  • replacement in src/lib/Hydra/Schema/BuildSteps.pm at line 34
    [5.2688][5.2688:2734](),[5.2734][5.2426:2498]()
    __PACKAGE__->set_primary_key("id", "stepnr");
    __PACKAGE__->belongs_to("id", "Hydra::Schema::Builds", { id => "id" });
    [5.2688]
    [5.2815]
    __PACKAGE__->set_primary_key("build", "stepnr");
    __PACKAGE__->belongs_to("build", "Hydra::Schema::Builds", { id => "build" });
  • replacement in src/lib/Hydra/Schema/BuildSteps.pm at line 38
    [5.2959][4.572:714]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ne+uSrfxnk+wK60IrVoTww
    [5.2959]
    [5.2959]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+nb1zsYcv9WziZ6IHcc/yw
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 21
    [5.431][5.431:445]()
    "attrname",
    [5.431]
    [5.661]
    "job",
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 60
    [5.849][5.2973:3006](),[5.1316][5.2973:3006](),[5.1651][5.2973:3006](),[5.2973][5.2973:3006]()
    { "foreign.id" => "self.id" },
    [5.1316]
    [5.3006]
    { "foreign.build" => "self.id" },
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 79
    [5.6194][4.715:857]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iwt05CKHqfd33lW+wAC2mw
    [5.6194]
    [5.3377]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UahvxjBmn7b70IK+QcnKHA
  • replacement in src/lib/Hydra/Schema/CachedPathInputs.pm at line 25
    [5.1497][4.858:1000]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Hjklk18AGqKd7dDPUlqS9A
    [5.1497]
    [5.1639]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+AZEuCFAfkl7SKwlxDBnaw
  • replacement in src/lib/Hydra/Schema/CachedSubversionInputs.pm at line 23
    [5.2342][4.1001:1143]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OMt7YCEd4Vc3edHp2fxcrw
    [5.2342]
    [5.2484]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2JtWOkH5OVGl7Cb7STLM5Q
  • replacement in src/lib/Hydra/Schema/JobsetInputAlts.pm at line 34
    [5.1831][4.1144:1286]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gQOuvSuoR2kczD57yaVSwQ
    [5.1831]
    [5.1973]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ka/dxG48LaZOQeShZFs0Hw
  • replacement in src/lib/Hydra/Schema/JobsetInputs.pm at line 46
    [5.1681][4.1287:1429]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GpIp3ENzylBZ9HQUNhO17Q
    [5.1681]
    [5.1823]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:earsp0XPWppy5/VOJkQ/PA
  • replacement in src/lib/Hydra/Schema/Jobsets.pm at line 53
    [5.2992][4.1430:1572]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BcAloJiRDPMvL/+GqsPiTw
    [5.2992]
    [5.3134]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ADLNgkS2YPv4DuszwHau7g
  • replacement in src/lib/Hydra/Schema/Projects.pm at line 48
    [5.3685][4.1573:1715]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TTHljyVTOMxXzNATXkltNg
    [5.3685]
    [5.3827]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R/GeZxDujiuKze++Mc2ZTw
  • edit in src/lib/Hydra/Schema/ReleaseSetJobs.pm at line 24
    [5.5728]
    [5.5728]
    { data_type => "text", is_nullable => 0, size => undef },
    "jobset",
  • replacement in src/lib/Hydra/Schema/ReleaseSetJobs.pm at line 37
    [5.6070][4.1850:1992]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YC+cgQcuvO4TxC5UpU7u4A
    [5.6070]
    [5.6212]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OM2joIa3Bj6t9BhVrOjN8Q
  • replacement in src/lib/Hydra/Schema/ReleaseSets.pm at line 32
    [5.7142][4.2075:2217]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Sv+5cdtqHDjWM0Zmmu0PSg
    [5.7142]
    [5.7284]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gSzri22yKGHLKCjNLv9/VQ
  • replacement in src/lib/Hydra/Schema/SystemTypes.pm at line 19
    [5.2105][4.2218:2360]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RLOKTpEzFYJMyzgMCg7zSg
    [5.2105]
    [5.2247]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:viZlvDAHk9k8ScuA/qfUGw
  • replacement in src/lib/Hydra/Schema/UserRoles.pm at line 20
    [5.3736][4.2361:2503]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QTXCy6SeSRYYXW3odCVLiQ
    [5.3736]
    [5.3878]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gRuZJKELtc15+vQFjxjkKQ
  • replacement in src/lib/Hydra/Schema/Users.pm at line 33
    [5.3782][4.2504:2646]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eQFOcWRNwb7IE1ifGrw4rQ
    [5.3782]
    [5.3924]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lomf54EURbBIbrWGojiFIw
  • replacement in src/lib/Hydra/Schema.pm at line 11
    [5.6498][4.2647:2789]()
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:17:32
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bK7m5SJjCnJKOckiufcb9w
    [5.6498]
    [5.6640]
    # Created by DBIx::Class::Schema::Loader v0.04005 @ 2009-03-12 14:55:11
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oeLeU2T8C2dVBS+ugF0p8g
  • replacement in src/root/build.tt at line 7
    [5.5620][5.5620:5696]()
    Job <tt>[% build.project.name %]:[% build.attrname %]</tt> build [% id %]
    [5.5620]
    [5.5696]
    Job <tt>[% build.project.name %]:[% build.job %]</tt> build [% id %]
  • replacement in src/root/build.tt at line 50
    [5.3224][5.3224:3359]()
    (namely, <a href="[% c.uri_for('/build' failedDep.id.id 'nixlog' failedDep.stepnr) %]"><tt>[% failedDep.outpath %]</tt></a>)
    [5.3224]
    [5.665]
    (namely, <a href="[% c.uri_for('/build' failedDep.build.id 'nixlog' failedDep.stepnr) %]"><tt>[% failedDep.outpath %]</tt></a>)
  • replacement in src/root/build.tt at line 84
    [5.7565][2.1117:1242]()
    <td><a href="[% c.uri_for('/project' build.project.name 'job' build.attrname) %]"><tt>[% build.attrname %]</tt></a></td>
    [5.7565]
    [5.2225]
    <td><a href="[% c.uri_for('/project' build.project.name 'job' build.job) %]"><tt>[% build.job %]</tt></a></td>
  • replacement in src/root/build.tt at line 190
    [5.1583][5.2977:3162]()
    <a href="[% c.uri_for('/build' input.dependency.id) %]">Job <tt>[% input.dependency.project.name %]:[% input.dependency.attrname %]</tt> build [% input.dependency.id %]</a>
    [5.1583]
    [5.2786]
    <a href="[% c.uri_for('/build' input.dependency.id) %]">Job <tt>[% input.dependency.project.name %]:[% input.dependency.job %]</tt> build [% input.dependency.id %]</a>
  • replacement in src/root/build.tt at line 301
    [5.417][5.3163:3333]()
    <td><a href="[% c.uri_for('/build' input.build.id) %]">Job <tt>[% input.build.project.name %]:[% input.build.attrname %]</tt> build [% input.build.id %]</a></td>
    [5.417]
    [5.590]
    <td><a href="[% c.uri_for('/build' input.build.id) %]">Job <tt>[% input.build.project.name %]:[% input.build.job %]</tt> build [% input.build.id %]</a></td>
  • replacement in src/root/common.tt at line 64
    [5.1029][2.1243:1383]()
    <td><a href="[% c.uri_for('/project' build.get_column("project") 'job' build.attrname) %]"><tt>[% build.attrname %]</tt></a></td>
    [5.1029]
    [5.307]
    <td><a href="[% c.uri_for('/project' build.get_column("project") 'job' build.job) %]"><tt>[% build.job %]</tt></a></td>
  • replacement in src/root/log.tt at line 3
    [5.11832][5.34:206]()
    <h1>Logfile for <tt>[% build.project.name %]:[% build.attrname %]</tt> build [% build.id %][%IF step %], step [% step.stepnr %] (<tt>[% step.outpath %]</tt>)[% END %]</h1>
    [5.11832]
    [5.11895]
    <h1>Logfile for <tt>[% build.project.name %]:[% build.job %]</tt> build [% build.id %][%IF step %], step [% step.stepnr %] (<tt>[% step.outpath %]</tt>)[% END %]</h1>
  • replacement in src/script/hydra_build.pl at line 61
    [5.4782][5.4782:4835]()
    $failedDepBuild = $step->id->id;
    [5.4782]
    [5.4835]
    $failedDepBuild = $step->build->id;
  • replacement in src/script/hydra_build.pl at line 94
    [5.5496][5.4462:4520](),[5.4520][5.5554:5648](),[5.5554][5.5554:5648]()
    $db->resultset('BuildSteps')->create(
    { id => $build->id
    , stepnr => $buildStepNr++
    [5.5496]
    [5.5648]
    $build->buildsteps->create(
    { stepnr => $buildStepNr++
  • replacement in src/script/hydra_build.pl at line 109
    [5.6018][5.4521:4592](),[5.4592][5.6127:6208](),[5.6127][5.6127:6208]()
    (my $step) = $db->resultset('BuildSteps')->search(
    {id => $build->id, type => 0, drvpath => $drvPath}, {});
    [5.6018]
    [5.6208]
    (my $step) = $build->buildsteps->search(
    {type => 0, drvpath => $drvPath}, {});
  • replacement in src/script/hydra_build.pl at line 121
    [5.6495][5.4593:4664](),[5.4664][5.3885:3970](),[5.6604][5.3885:3970]()
    (my $step) = $db->resultset('BuildSteps')->search(
    {id => $build->id, type => 0, drvpath => $drvPathStep}, {});
    [5.6495]
    [5.2610]
    (my $step) = $build->buildsteps->search(
    {type => 0, drvpath => $drvPathStep}, {});
  • replacement in src/script/hydra_build.pl at line 126
    [5.2927][5.4665:4727](),[5.4727][5.2989:3091](),[5.2989][5.2989:3091]()
    $db->resultset('BuildSteps')->create(
    { id => $build->id
    , stepnr => $buildStepNr++
    [5.2927]
    [5.3091]
    $build->buildsteps->create(
    { stepnr => $buildStepNr++
  • replacement in src/script/hydra_build.pl at line 145
    [5.798][5.4728:4786](),[5.4786][5.856:950](),[5.856][5.856:950]()
    $db->resultset('BuildSteps')->create(
    { id => $build->id
    , stepnr => $buildStepNr++
    [5.798]
    [5.950]
    $build->buildsteps->create(
    { stepnr => $buildStepNr++
  • replacement in src/script/hydra_build.pl at line 158
    [5.1314][5.4787:4858](),[5.4858][5.1385:1466](),[5.1385][5.1385:1466]()
    (my $step) = $db->resultset('BuildSteps')->search(
    {id => $build->id, type => 1, outpath => $outPath}, {});
    [5.1314]
    [5.1466]
    (my $step) = $build->buildsteps->search(
    {type => 1, outpath => $outPath}, {});
  • replacement in src/script/hydra_build.pl at line 168
    [5.1799][5.4859:4930](),[5.4930][5.1870:1951](),[5.1870][5.1870:1951]()
    (my $step) = $db->resultset('BuildSteps')->search(
    {id => $build->id, type => 1, outpath => $outPath}, {});
    [5.1799]
    [5.1951]
    (my $step) = $build->buildsteps->search(
    {type => 1, outpath => $outPath}, {});
  • replacement in src/script/hydra_queue_runner.pl at line 109
    [5.1220][5.1220:1335]()
    print "starting build $id (", $build->project->name, ":", $build->attrname, ") on ", $build->system, "\n";
    [5.1220]
    [5.9004]
    print "starting build $id (", $build->project->name, ":", $build->job, ") on ", $build->system, "\n";
  • edit in src/script/hydra_queue_runner.pl at line 134
    [5.9301]
    [75.840]
    }
    if (scalar(@ARGV) == 1 && $ARGV[0] eq "--unlock") {
    unlockDeadBuilds;
    exit 0;
  • replacement in src/script/hydra_scheduler.pl at line 158
    [3.386][3.386:507]()
    {finished => 1, project => $project->name, jobset => $jobset->name, attrname => $jobName, buildStatus => 0},
    [3.386]
    [3.507]
    {finished => 1, project => $project->name, jobset => $jobset->name, job => $jobName, buildStatus => 0},
  • replacement in src/script/hydra_scheduler.pl at line 221
    [5.9525][5.9525:9594]()
    , attrname => $jobName, outPath => $outPath })) > 0)
    [5.9525]
    [5.9594]
    , job => $jobName, outPath => $outPath })) > 0)
  • replacement in src/script/hydra_scheduler.pl at line 234
    [5.10241][5.10241:10276]()
    , attrname => $jobName
    [5.10241]
    [5.978]
    , job => $jobName
  • replacement in src/script/hydra_update_gc_roots.pl at line 41
    [5.627][5.627:696]()
    {select => [{distinct => 'attrname'}], as => ['attrname']}))
    [5.627]
    [5.696]
    {select => [{distinct => 'job'}], as => ['job']}))
  • replacement in src/script/hydra_update_gc_roots.pl at line 43
    [5.702][5.3742:3841]()
    print "*** looking for builds to keep in job ", $project->name, ":", $job->attrname, "\n";
    [5.702]
    [5.797]
    print "*** looking for builds to keep in job ", $project->name, ":", $job->job, "\n";
  • replacement in src/script/hydra_update_gc_roots.pl at line 48
    [5.939][5.939:980]()
    { attrname => $job->attrname
    [5.939]
    [5.980]
    { job => $job->job
  • replacement in src/sql/hydra.sql at line 14
    [5.4250][5.4250:4302](),[5.4302][5.4134:4186](),[5.4186][5.4354:4387](),[5.4354][5.4354:4387]()
    project text not null, -- !!! foreign key
    jobset text not null, -- !!! foreign key
    attrName text not null,
    [5.4250]
    [5.4431]
    project text not null,
    jobset text not null,
    job text not null,
  • replacement in src/sql/hydra.sql at line 88
    [5.7150][5.5340:5401]()
    id integer not null, -- !!! rename to "build"
    [5.7150]
    [5.7186]
    build integer not null,
  • replacement in src/sql/hydra.sql at line 107
    [5.7557][5.7557:7673]()
    primary key (id, stepnr),
    foreign key (id) references Builds(id) on delete cascade -- ignored by sqlite
    [5.7557]
    [5.7673]
    primary key (build, stepnr),
    foreign key (build) references Builds(id) on delete cascade -- ignored by sqlite
  • edit in src/sql/hydra.sql at line 373
    [5.13252]
    [4.3219]
    jobset text not null,
  • edit in src/sql/hydra.sql at line 378
    [4.3386]
    [5.13510]
    foreign key (project, jobset) references Jobsets(project, name) on delete restrict -- ignored by sqlite