* Allow jobsets to be disabled.

[?]
Oct 8, 2009, 11:39 AM
4D4U5IPYZO2FONPOET4UP3ZPVPB35Q47SXU7A56G76V7VDFILOIAC

Dependencies

  • [2] Z4KRJX4Q * In the last succeeded / job status queries, use the Builds.isCurrent
  • [3] ECBA3GQO * Make the schema class names match the case of the SQL table names.
  • [4] S6OISBQ3 * Mark the "current" builds in a jobset, i.e. those corresponding to
  • [5] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [6] R5D7DZPE
  • [7] BVOPAMLS
  • [8] BHZXGT2H * Channels: provide an index page that lists all the packages in the
  • [9] TWVSALRL * Allow the maximum number of concurrent builds per platform to be
  • [10] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [11] 7YBYT2LQ
  • [12] GWCV3TQV * BuildInputs table: link to dependencies, include store paths.
  • [13] CLJQCY2X * Store info about all the build actions and allow them to be
  • [14] VCOSLZRP
  • [15] V4RNHJNR * Add a link to each project's homepage. Suggested by karltk.
  • [16] B72GLND4
  • [17] 6BLUKEQ2 * Caching of "path" inputs, and fake a revision number for those.
  • [18] PHX2HIVG * Store info about the build inputs in the build record.
  • [19] S66BOMVU * Added authentication.
  • [20] YAPITGB3 * Boolean inputs.
  • [21] CMU3YKOU * Store the release name.
  • [22] SJLEZFC4 check getHydraPath in stead of Envvar HYDRA_DBI directly
  • [23] TQKGQ5R3
  • [24] ZEHSSVFG
  • [25] KOTB7BKV
  • [26] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [27] EYNG4EL4 * Regenerate the bindings from a clean sqlite database.
  • [28] 37R34XJO * Negative caching: don't perform a build if a dependency already
  • [29] 7ZSVXUGF sequence fix for postgresql
  • [30] TLZ2SPBR
  • [31] WYN733ST * Store build duration, handle cached builds.
  • [32] M552HLIA * Support variant builds.
  • [33] 67P45PY4
  • [34] GCHNNFZP
  • [35] 3ZCEPLNO
  • [36] UUGBVEGY * Development notes.
  • [37] S5PV6IIM * Represent jobs explicitly in the DB.
  • [38] GNIEG2GC * Disambiguate jobs by jobset name. I.e. jobs with the same name in
  • [39] SHBLLAVH * More global substitution.
  • [40] VJHIHMEH * Store the meta.longDescription and meta.license attributes in the
  • [41] DVNWJXWW * Generic declaration of build products.
  • [42] IK53RV4V
  • [43] LCKWLQW3 * In Sqlite "release" is now a keyword, so use "release_" instead.
  • [44] 3E6IP3R3 * Add the name of the jobset to ReleaseSetJobs, otherwise we can't
  • [45] RU7AQO7U * Role-based access control. Only admins can create projects. Only
  • [46] E6IC7YIK * Release sets: need to include the jobset name to disambiguate
  • [47] ZVTSOVHN * Support Subversion checkouts.
  • [48] NI5BVF2V * In job inputs of type "build", allow the project and jobset names of
  • [49] AHTEIK7G * Added a maintainers field to the Builds table.
  • [50] CVDK3XJK * In the scheduler, don't check if we've already done a build (except
  • [51] L2E6EVE2 * Merged the Build and Job tables.
  • [52] D3DIBMOK * For products that are directories (like manuals), allow a default
  • [53] YTZOC7C5 * Editing of jobset inputs.
  • [54] J5UVLXOK * Start of a basic Catalyst web interface.
  • [55] X27GNHDV * Basic job info in the database.
  • [*] 3HZY24CX * Make jobsets viewable under
  • [*] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [*] N22GPKYT * Put info about logs / build products in the DB.

Change contents

  • replacement in doc/dev-notes.txt at line 96
    [3.62][3.4491:4494](),[3.118][3.4491:4494](),[2.420][3.4491:4494](),[3.4491][3.4491:4494]()
    [2.420]
    [3.4494]
    alter table Jobsets add column enabled integer not null default 1;
  • edit in src/lib/Hydra/Controller/Jobset.pm at line 117
    [58.2272]
    [58.2272]
    , enabled => trim($c->request->params->{enabled}) eq "1" ? 1 : 0
  • replacement in src/lib/Hydra/Schema/BuildInputs.pm at line 106
    [3.25][3.121:266]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3l2Qu/wpPEb/xsXoyeRviQ
    [3.25]
    [3.781]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yodYRloko+NdaEVy+IL5JA
  • replacement in src/lib/Hydra/Schema/BuildProducts.pm at line 94
    [3.4922][3.267:412]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/AUVD2QjjkeQmFkKEim0Gw
    [3.4922]
    [3.5064]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GdjLBqXz+LK4ewxnpIs9eQ
  • replacement in src/lib/Hydra/Schema/BuildResultInfo.pm at line 89
    [3.2382][3.413:558]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L/qLimgzcHeLjsKom3t1XQ
    [3.2382]
    [3.2524]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KTPvLaqbXGpynWt107ISew
  • replacement in src/lib/Hydra/Schema/BuildSchedulingInfo.pm at line 46
    [3.4473][3.559:704]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:I2cNoG9FOWDlICSy4Ndftw
    [3.4473]
    [3.4615]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:thMie1PGP25FGbo5qypE/w
  • replacement in src/lib/Hydra/Schema/BuildSteps.pm at line 94
    [3.2959][3.705:850]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oCn8y9Nsffa6WOnm44lyqQ
    [3.2959]
    [3.2959]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ua+P31BMRmMKP6QFOdA89A
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 166
    [3.6194][3.950:1095]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:8r7Yv4O8WF2YU4sOjn0Q8w
    [3.6194]
    [3.62]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:luxYxoOAtLoCgl5iFTYdJA
  • replacement in src/lib/Hydra/Schema/CachedPathInputs.pm at line 50
    [3.1497][3.1580:1725]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eLemrXw7iydgI6zhFrghRg
    [3.1497]
    [3.1639]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DeoyeS42ddQ2FXa+8n31OQ
  • replacement in src/lib/Hydra/Schema/CachedSubversionInputs.pm at line 43
    [3.2342][3.1726:1871]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:f2Xn8X5aO9Gud7LHrc/b2g
    [3.2342]
    [3.2484]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CaFTGQtLjPwCISqk5W4fag
  • replacement in src/lib/Hydra/Schema/Jobs.pm at line 78
    [3.2613][3.1872:2017]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:w5CXchrT0/ueNgxnKv6TPg
    [3.2613]
    [3.2755]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+Cb0mIbX8ddDbZY39u9feA
  • replacement in src/lib/Hydra/Schema/JobsetInputAlts.pm at line 72
    [3.1831][3.2018:2163]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CQg509K7bBReX30DeMC7ww
    [3.1831]
    [3.1973]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:m3a1Q6c2FePidqbqYhz5dg
  • replacement in src/lib/Hydra/Schema/JobsetInputs.pm at line 68
    [3.1681][3.2164:2309]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FzkQQT8t8OET0a0teF3lHA
    [3.1681]
    [3.1823]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QSYSg5xsN292LnfvbAG0Vw
  • edit in src/lib/Hydra/Schema/Jobsets.pm at line 70
    [3.13995]
    [3.2524]
    "enabled",
    { data_type => "integer", default_value => 1, is_nullable => 0, size => undef },
  • replacement in src/lib/Hydra/Schema/Jobsets.pm at line 106
    [3.2992][3.2310:2455]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:eu0jlMKE2aMvQRv4LynlIA
    [3.2992]
    [3.3134]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:85FwtlvNxjGix7PUCJTMqA
  • replacement in src/lib/Hydra/Schema/Projects.pm at line 79
    [3.3685][3.2456:2601]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aBN2ry0QEPIhQu6tlgk7RQ
    [3.3685]
    [3.3827]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dru36PNUe9iYHEwhhHKJ3A
  • replacement in src/lib/Hydra/Schema/ReleaseSetJobs.pm at line 69
    [3.6070][3.2602:2747]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Mm9VR//LwfM88N54dtmuxg
    [3.6070]
    [3.6212]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qSQjyHzxQp0qO3CbRdcXmw
  • replacement in src/lib/Hydra/Schema/ReleaseSets.pm at line 48
    [3.7142][3.2748:2893]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c6FKyR68F1a8wLivK9ztog
    [3.7142]
    [3.7284]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pEjxqTAwP4ZmP/s6F4VOsg
  • replacement in src/lib/Hydra/Schema/SystemTypes.pm at line 24
    [3.2105][3.2894:3039]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SYnu+3J84FXFqkSu8jxkPg
    [3.2105]
    [3.2247]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mfZTzyri5eSRhfmBmwyuFQ
  • replacement in src/lib/Hydra/Schema/UserRoles.pm at line 31
    [3.3736][3.3040:3185]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pRBijh3yc0x4knK6tU4iTw
    [3.3736]
    [3.3878]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6RgJY04rmD+PumWXz5KGoQ
  • replacement in src/lib/Hydra/Schema/Users.pm at line 53
    [3.3782][3.3186:3331]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:d4m+IH9KxIcgId+XF23txg
    [3.3782]
    [3.3924]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZWzljXMF0IbU12wNUn+djg
  • replacement in src/lib/Hydra/Schema.pm at line 11
    [3.6498][3.3332:3477]()
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-02 15:59:19
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uBemU8brohK9UDFJ9KC1iA
    [3.6498]
    [3.6640]
    # Created by DBIx::Class::Schema::Loader v0.04999_06 @ 2009-10-08 13:25:04
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vdr83mcEie4i5Fn/Uj17Vg
  • edit in src/root/jobset.tt at line 73
    [58.11104]
    [58.11104]
    </td>
    </tr>
    <tr>
    <th>Enabled:</th>
    <td>
    [% INCLUDE renderSelection param="enabled" curValue=jobset.enabled options={"1" = "Yes", "0" = "No"} %]
  • replacement in src/script/hydra_scheduler.pl at line 495
    [3.4467][3.2519:2592]()
    checkJobsetWrapped($project, $_) foreach $project->jobsets->all;
    [3.4467]
    [3.10169]
    checkJobsetWrapped($project, $_)
    foreach $project->jobsets->search({enabled => 1});
  • edit in src/sql/hydra.sql at line 204
    [3.2670]
    [3.4981]
    enabled integer not null default 1,
  • replacement in src/sql/hydra.sql at line 272
    [3.917][3.917:963]()
    disabled integer not null default 0,
    [3.917]
    [3.7353]
    disabled integer not null default 0, -- !!! not currently used