Remove the longDescription field

[?]
Sep 30, 2014, 1:43 PM
4CELXP7PYXFJXF2NUEWIULSPC3HUAQKHIWHGPRN7GB2SPOOJDBDAC

Dependencies

  • [2] 3TZYSSGX built.tt: Handle the case where the original build is not known
  • [3] FG4JZPWS Handle builds with multiple outputs correctly in Hydra channels
  • [4] IMQRX4MP hydra-eval-jobs: Use JSON instead of XML
  • [5] AHTEIK7G * Added a maintainers field to the Builds table.
  • [6] TLZ2SPBR
  • [7] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [8] S5PV6IIM * Represent jobs explicitly in the DB.
  • [9] VJHIHMEH * Store the meta.longDescription and meta.license attributes in the
  • [10] 3XTHEUMP * Implemented the clone feature.
  • [11] EYNG4EL4 * Regenerate the bindings from a clean sqlite database.
  • [12] B72GLND4
  • [13] FTPCV25M Store aggregate members in the database
  • [14] R5D7DZPE
  • [15] L5Z6CN7M In Hydra channels, show only packages matching the user's system type
  • [16] KOTB7BKV
  • [17] RU7AQO7U * Role-based access control. Only admins can create projects. Only
  • [18] TQKGQ5R3
  • [19] BHZXGT2H * Channels: provide an index page that lists all the packages in the
  • [20] G2T4WAHI Store the inputs of each evaluation in the database
  • [21] 6BLUKEQ2 * Caching of "path" inputs, and fake a revision number for those.
  • [22] S66BOMVU * Added authentication.
  • [23] TWVSALRL * Allow the maximum number of concurrent builds per platform to be
  • [24] QMW24O5S Add support for Guile & Guix.
  • [25] SHBLLAVH * More global substitution.
  • [26] 37R34XJO * Negative caching: don't perform a build if a dependency already
  • [27] INNOEHO6 * Fix getBuildLog for bzip2'd files.
  • [28] L4LBF7UF Handle derivations without a system attribute
  • [29] ZVTSOVHN * Support Subversion checkouts.
  • [30] 3E6IP3R3 * Add the name of the jobset to ReleaseSetJobs, otherwise we can't
  • [31] JM3DPYOM generated schema with new dbix class schema loader, grrrrrr
  • [32] ECBA3GQO * Make the schema class names match the case of the SQL table names.
  • [33] D3DIBMOK * For products that are directories (like manuals), allow a default
  • [34] JTHWA6AM Rename aggregate members to constituents
  • [35] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [36] W2VB36NM guile: Raise default absolute timeout to from 2h to 20h.
  • [37] YAPITGB3 * Boolean inputs.
  • [38] SJLEZFC4 check getHydraPath in stead of Envvar HYDRA_DBI directly
  • [39] A22P7HCO hydra: at evaluation, check if path is already built, and mark as built in stead of adding to the queue.
  • [40] LZVO64YG Merge in the first bits of the API work
  • [41] RXVJFQ5A Evaluator cleanups
  • [42] Y6AHH4TH Remove the logfile and logSize columns from the database
  • [43] L2E6EVE2 * Merged the Build and Job tables.
  • [44] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [45] 2GUAKGTB Fix indentation of build.tt
  • [46] PMNWRTGJ Add multiple output support
  • [47] HXS5NUHW hydra-eval-guile-jobs: Adjust to <license> objects.
  • [48] YTIDBFGU Drop unused "disabled" columns
  • [49] CLJQCY2X * Store info about all the build actions and allow them to be
  • [50] IK53RV4V
  • [51] SB2V735V Keep track of the database schema version
  • [52] MOX7XJ2E Merge the BuildSchedulingInfo table into the Builds table
  • [53] ZTQEU5QS Hydra: Add support for maxSilent meta attribute (also already added timeout, but not implemented the actual timeout for the build yet)
  • [54] CMU3YKOU * Store the release name.
  • [55] LCKWLQW3 * In Sqlite "release" is now a keyword, so use "release_" instead.
  • [56] V4RNHJNR * Add a link to each project's homepage. Suggested by karltk.
  • [57] GNIEG2GC * Disambiguate jobs by jobset name. I.e. jobs with the same name in
  • [58] M552HLIA * Support variant builds.
  • [59] 3ZCEPLNO
  • [60] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [61] YTZOC7C5 * Editing of jobset inputs.
  • [*] 4N5APGRG * Start of a helper tool to evaluate job expressions efficiently.
  • [*] OOQ2D3KC * Refactoring: move fetchInput out of hydra_scheduler into a separate
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] LVJKRTIK * Generate a Nix expression for the channel.
  • [*] N22GPKYT * Put info about logs / build products in the DB.
  • [*] D5QIOJGP * Move everything up one directory.

Change contents

  • edit in src/c/hydra-eval-jobs.cc at line 123
    [4.727][4.727:808]()
    res.attr("longDescription", drv.queryMetaString("longDescription"));
  • edit in src/lib/Hydra/Helper/AddBuilds.pm at line 534
    [5.5367][5.5367:5430]()
    , longdescription => $buildInfo->{longDescription}
  • edit in src/lib/Hydra/Schema/Builds.pm at line 91
    [5.8153][5.8153:8178](),[5.8178][5.7833:7853](),[5.7853][5.8219:8236](),[5.8219][5.8219:8236]()
    =head2 longdescription
    data_type: 'text'
    is_nullable: 1
  • edit in src/lib/Hydra/Schema/Builds.pm at line 226
    [5.8372][5.489:510](),[5.8632][5.489:510](),[5.489][5.489:510](),[5.510][5.8633:8678]()
    "longdescription",
    { data_type => "text", is_nullable => 1 },
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 523
    [5.3378][5.1653:1795]()
    # Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-08-15 00:20:01
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:U1j/qm0vslb6Jvgu5mGMtw
    [5.3378]
    [5.4481]
    # Created by DBIx::Class::Schema::Loader v0.07033 @ 2014-09-30 15:38:03
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kMPje7yi/yDqxGRQcC2I/Q
  • edit in src/lib/Hydra/View/NixExprs.pm at line 75
    [3.2965][3.2965:3093]()
    $res .= " longDescription = ${\escape $build->longdescription};\n"
    if $build->longdescription;
  • edit in src/root/build.tt at line 301
    [2.242][5.8202:8260](),[5.8202][5.8202:8260](),[5.8260][2.243:368]()
    </tr>
    <tr>
    <th>Long description:</th>
    <td>[% IF build.longdescription %][% HTML.escape(build.longdescription) %][% ELSE %]<em>not given</em>[% END %]</td>
  • edit in src/script/hydra-eval-guile-jobs.in at line 123
    [5.6713][5.6713:6786]()
    ,@(opt-attr 'longDescription 'long-description)
  • edit in src/sql/hydra.sql at line 145
    [5.3533][5.3533:3583]()
    longDescription text, -- meta.longDescription
  • file addition: upgrade-31.sql (----------)
    [68.3004]
    alter table Builds drop column longDescription;