revert change to dbix::class generated code

[?]
Feb 5, 2010, 7:41 PM
ZDF42B24QLJDMNGUA47MROKMM3HNJTBWYSTRAKIHTBMWOKVMOFJQC

Dependencies

  • [2] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [3] X27GNHDV * Basic job info in the database.
  • [4] ZEHSSVFG
  • [5] KOTB7BKV
  • [6] 5SHCWE7X * Prevent repeated evaluation of a jobset with the same inputs. This
  • [7] AHTEIK7G * Added a maintainers field to the Builds table.
  • [8] DVNWJXWW * Generic declaration of build products.
  • [9] TWVSALRL * Allow the maximum number of concurrent builds per platform to be
  • [10] D3DIBMOK * For products that are directories (like manuals), allow a default
  • [11] CMU3YKOU * Store the release name.
  • [12] PHX2HIVG * Store info about the build inputs in the build record.
  • [13] 7YBYT2LQ
  • [14] VJHIHMEH * Store the meta.longDescription and meta.license attributes in the
  • [15] S5PV6IIM * Represent jobs explicitly in the DB.
  • [16] SJLEZFC4 check getHydraPath in stead of Envvar HYDRA_DBI directly
  • [17] 3E6IP3R3 * Add the name of the jobset to ReleaseSetJobs, otherwise we can't
  • [18] TQKGQ5R3
  • [19] YTZOC7C5 * Editing of jobset inputs.
  • [20] GWCV3TQV * BuildInputs table: link to dependencies, include store paths.
  • [21] M552HLIA * Support variant builds.
  • [22] S66BOMVU * Added authentication.
  • [23] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [24] R5D7DZPE
  • [25] GNIEG2GC * Disambiguate jobs by jobset name. I.e. jobs with the same name in
  • [26] QNDXPVCI * Store the jobset's nixExprPath and nixExprInput fields in a build to
  • [27] IK53RV4V
  • [28] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [29] 3HCBU2FA
  • [30] SHBLLAVH * More global substitution.
  • [31] JTRG7RDQ add support for git as jobinput
  • [32] L2E6EVE2 * Merged the Build and Job tables.
  • [33] KN3VYE5P * Cleaned up the foreign key constraints.
  • [34] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [35] 4D4U5IPY * Allow jobsets to be disabled.
  • [36] BVOPAMLS
  • [37] CLJQCY2X * Store info about all the build actions and allow them to be
  • [38] B72GLND4
  • [39] TLZ2SPBR
  • [40] V4RNHJNR * Add a link to each project's homepage. Suggested by karltk.
  • [41] 67P45PY4
  • [42] EYNG4EL4 * Regenerate the bindings from a clean sqlite database.
  • [43] S6OISBQ3 * Mark the "current" builds in a jobset, i.e. those corresponding to
  • [44] RU7AQO7U * Role-based access control. Only admins can create projects. Only
  • [45] J5UVLXOK * Start of a basic Catalyst web interface.
  • [46] ODNCGFQ5 * Improved the navigation bar: don't include all projects (since that
  • [47] LCKWLQW3 * In Sqlite "release" is now a keyword, so use "release_" instead.
  • [48] P5X4P6VK * Renaming "release sets" to "views" (not finished yet). Having
  • [49] ZVTSOVHN * Support Subversion checkouts.
  • [50] 3ZCEPLNO
  • [51] RBNQKATL * Adding persistant releases. A release is a named set of builds.
  • [52] 6BLUKEQ2 * Caching of "path" inputs, and fake a revision number for those.
  • [53] BHZXGT2H * Channels: provide an index page that lists all the packages in the
  • [54] 37R34XJO * Negative caching: don't perform a build if a dependency already
  • [55] YAPITGB3 * Boolean inputs.
  • [56] ECBA3GQO * Make the schema class names match the case of the SQL table names.

Change contents

  • edit in src/lib/Hydra/Schema/Builds.pm at line 193
    [3.87][2.1529:1686]()
    # order buildsteps
    __PACKAGE__->has_many(
    "buildsteps",
    "Hydra::Schema::BuildSteps",
    { "foreign.build" => "self.id" },
    { order_by => "stepnr" },
    );
  • edit in src/lib/Hydra/Schema/Projects.pm at line 100
    [3.3828][2.1810:1943](),[2.1943][3.3828:3829](),[3.3828][3.3828:3829]()
    __PACKAGE__->has_many(
    "jobsets",
    "Hydra::Schema::Jobsets",
    { "foreign.project" => "self.name" },
    { order_by => "name" },
    );
  • replacement in src/root/build.tt at line 13
    [2.1991][2.1991:2029]()
    <h2 id="buildsteps">Build steps</h2>
    [2.1991]
    [2.2029]
    <h2 id="buildsteps">[% IF onlyFailed == 1 %]Failed build steps[% ELSE %]Build steps[% END%]</h2>