Remove the errorMsg column from the Builds table

[?]
Feb 12, 2016, 4:21 PM
26PYNDXVE4EBTZ5R3PYSFRPYNV777BM2EBPREGH5DOUHPSBJMTVQC

Dependencies

  • [2] TPNHTE5V Remove obsolete Builds columns and provide accurate "Running builds"
  • [3] PMNWRTGJ Add multiple output support
  • [4] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [5] LCKWLQW3 * In Sqlite "release" is now a keyword, so use "release_" instead.
  • [6] TWVSALRL * Allow the maximum number of concurrent builds per platform to be
  • [7] IK53RV4V
  • [8] WWZWUPFI if no previous successful build, do not show changes section
  • [9] ZILILXXK * Allow scheduled builds to be cancelled. They're not removed from
  • [10] 3E6IP3R3 * Add the name of the jobset to ReleaseSetJobs, otherwise we can't
  • [11] CMU3YKOU * Store the release name.
  • [12] 3PNG7NIB Remove trailing whitespace
  • [13] WYN733ST * Store build duration, handle cached builds.
  • [14] BHZXGT2H * Channels: provide an index page that lists all the packages in the
  • [15] HH3LID6L Re-implement log size limits
  • [16] S5PV6IIM * Represent jobs explicitly in the DB.
  • [17] MOX7XJ2E Merge the BuildSchedulingInfo table into the Builds table
  • [18] CLJQCY2X * Store info about all the build actions and allow them to be
  • [19] 3ZCEPLNO
  • [20] UQQ4IL55 Add a error type for "unsupported system type"
  • [21] WE5Q2NVI Allow build to be bumped to the front of the queue via the web interface
  • [22] LZVO64YG Merge in the first bits of the API work
  • [23] 5DSF5KWY * Perl sucks. "getBuildLog $drvPath" doesn't mean the same as
  • [24] TLZ2SPBR
  • [25] HPEG2RHV Merge the BuildResultInfo table into the Builds table
  • [26] R5D7DZPE
  • [27] D3DIBMOK * For products that are directories (like manuals), allow a default
  • [28] SJLEZFC4 check getHydraPath in stead of Envvar HYDRA_DBI directly
  • [29] YAPITGB3 * Boolean inputs.
  • [30] ZVTSOVHN * Support Subversion checkouts.
  • [31] TQKGQ5R3
  • [32] XHK7IGYI * hdyra: show last succeeded build and changes since on build status summary if build has failed
  • [33] RU7AQO7U * Role-based access control. Only admins can create projects. Only
  • [34] AHTEIK7G * Added a maintainers field to the Builds table.
  • [35] YTIDBFGU Drop unused "disabled" columns
  • [36] T5BIOVJE Add support for tracking custom metrics
  • [37] YTZOC7C5 * Editing of jobset inputs.
  • [38] JTHWA6AM Rename aggregate members to constituents
  • [39] TW5ZQX5Z * Move up the build products in the builds page, since they're more
  • [40] 3SQCOHZN * minor performance tweaks
  • [41] 53IMJNBB Add isChannel column and meta attribute.
  • [42] B72GLND4
  • [43] VJHIHMEH * Store the meta.longDescription and meta.license attributes in the
  • [44] 4CELXP7P Remove the longDescription field
  • [45] ECBA3GQO * Make the schema class names match the case of the SQL table names.
  • [46] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [47] Y6AHH4TH Remove the logfile and logSize columns from the database
  • [48] EYNG4EL4 * Regenerate the bindings from a clean sqlite database.
  • [49] L2E6EVE2 * Merged the Build and Job tables.
  • [50] 4S5JF5JP Use latest DBIx::Class::Schema::Loader
  • [51] V4RNHJNR * Add a link to each project's homepage. Suggested by karltk.
  • [52] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [53] S66BOMVU * Added authentication.
  • [54] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [55] 6BLUKEQ2 * Caching of "path" inputs, and fake a revision number for those.
  • [56] 37R34XJO * Negative caching: don't perform a build if a dependency already
  • [57] FTPCV25M Store aggregate members in the database
  • [58] SHBLLAVH * More global substitution.
  • [59] KOTB7BKV
  • [60] GNIEG2GC * Disambiguate jobs by jobset name. I.e. jobs with the same name in
  • [61] G2T4WAHI Store the inputs of each evaluation in the database
  • [62] 2GUAKGTB Fix indentation of build.tt
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] N22GPKYT * Put info about logs / build products in the DB.
  • [*] D5QIOJGP * Move everything up one directory.

Change contents

  • edit in src/lib/Hydra/Schema/Builds.pm at line 171
    [3.4595][3.5786:5841]()
    is_nullable: 1
    =head2 errormsg
    data_type: 'text'
  • edit in src/lib/Hydra/Schema/Builds.pm at line 247
    [3.6339][3.6339:6398]()
    "errormsg",
    { data_type => "text", is_nullable => 1 },
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 540
    [3.3378][2.1815:1957]()
    # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-27 13:54:16
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iN9vwO5i3dURKOTgaPTHxw
    [3.3378]
    [3.4481]
    # Created by DBIx::Class::Schema::Loader v0.07043 @ 2016-02-12 17:20:42
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/8aVtXu/+o0jmKHnSzwt+g
  • edit in src/root/build.tt at line 283
    [3.57][3.7289:7480](),[3.7480][3.10746:10747](),[3.10746][3.10746:10747]()
    [% IF build.errormsg && build.buildstatus != 5 %]
    <h2 id="nix-error">Nix error output</h2>
    <pre class="buildlog">[% HTML.escape(build.errormsg) %]</pre>
    [% END %]
  • replacement in src/sql/hydra.sql at line 187
    [3.4805][3.4805:4847]()
    -- 3 = other failure (see errorMsg)
    [3.4805]
    [3.3108]
    -- 3 = other failure
  • edit in src/sql/hydra.sql at line 195
    [3.4874][3.9983:9984](),[3.2005][3.9983:9984](),[3.9984][3.2005:2071](),[3.2005][3.2005:2071]()
    errorMsg text, -- error message in case of a Nix failure
  • file addition: upgrade-44.sql (----------)
    [66.3004]
    alter table Builds drop column errorMsg;