Use latest DBIx::Class::Schema::Loader

[?]
Jul 30, 2015, 2:07 PM
4S5JF5JPKWTDYHFJMTXOFTDAMYHD5ON2UBTLMGVYPJCP6QYIM2EAC

Dependencies

  • [2] OKLEIKBG Add missing upgrade-*.sql files
  • [3] 4CELXP7P Remove the longDescription field
  • [4] D3DIBMOK * For products that are directories (like manuals), allow a default
  • [5] 3E6IP3R3 * Add the name of the jobset to ReleaseSetJobs, otherwise we can't
  • [6] S5PV6IIM * Represent jobs explicitly in the DB.
  • [7] EHEJZ6YV Actually add SQL files to the distribution.
  • [8] LZVO64YG Merge in the first bits of the API work
  • [9] ZVTSOVHN * Support Subversion checkouts.
  • [10] TWVSALRL * Allow the maximum number of concurrent builds per platform to be
  • [11] IK53RV4V
  • [12] TLZ2SPBR
  • [13] TQKGQ5R3
  • [14] LCKWLQW3 * In Sqlite "release" is now a keyword, so use "release_" instead.
  • [15] KN3VYE5P * Cleaned up the foreign key constraints.
  • [16] Y6AHH4TH Remove the logfile and logSize columns from the database
  • [17] GNIEG2GC * Disambiguate jobs by jobset name. I.e. jobs with the same name in
  • [18] AHTEIK7G * Added a maintainers field to the Builds table.
  • [19] ZI535LI6 * hydra: 'new' UI for project/jobset/job/build
  • [20] SHBLLAVH * More global substitution.
  • [21] YTIDBFGU Drop unused "disabled" columns
  • [22] R5D7DZPE
  • [23] YAPITGB3 * Boolean inputs.
  • [24] RU7AQO7U * Role-based access control. Only admins can create projects. Only
  • [25] FTPCV25M Store aggregate members in the database
  • [26] EYNG4EL4 * Regenerate the bindings from a clean sqlite database.
  • [27] CMU3YKOU * Store the release name.
  • [28] SJLEZFC4 check getHydraPath in stead of Envvar HYDRA_DBI directly
  • [29] 37R34XJO * Negative caching: don't perform a build if a dependency already
  • [30] YTZOC7C5 * Editing of jobset inputs.
  • [31] SB2V735V Keep track of the database schema version
  • [32] CLJQCY2X * Store info about all the build actions and allow them to be
  • [33] JTHWA6AM Rename aggregate members to constituents
  • [34] FV2M6MOT hydra: use autoconf/-make
  • [35] H7CNGK4O * Log evaluation errors etc. in the DB.
  • [36] B72GLND4
  • [37] BHZXGT2H * Channels: provide an index page that lists all the packages in the
  • [38] AMFMXR52 Provide a command ‘hydra-init’ to initialise/upgrade the database
  • [39] G2T4WAHI Store the inputs of each evaluation in the database
  • [40] ECBA3GQO * Make the schema class names match the case of the SQL table names.
  • [41] PMNWRTGJ Add multiple output support
  • [42] VJHIHMEH * Store the meta.longDescription and meta.license attributes in the
  • [43] P73KM42L Update the list of SQL files to be installed.
  • [44] FHF6IZJQ * Basic release management: releases are now dynamically computed as
  • [45] BD3GRK4B * Get rid of "positive failures" and separate log phases.
  • [46] L2E6EVE2 * Merged the Build and Job tables.
  • [47] KOTB7BKV
  • [48] 6BLUKEQ2 * Caching of "path" inputs, and fake a revision number for those.
  • [49] 3ZCEPLNO
  • [50] V4RNHJNR * Add a link to each project's homepage. Suggested by karltk.
  • [51] S66BOMVU * Added authentication.
  • [*] J5UVLXOK * Start of a basic Catalyst web interface.
  • [*] JM3DPYOM generated schema with new dbix class schema loader, grrrrrr
  • [*] D5QIOJGP * Move everything up one directory.

Change contents

  • edit in src/lib/Hydra/Schema/Builds.pm at line 403
    [4.3009]
    [54.9475]
    =head2 buildsteps_propagatedfroms
    Type: has_many
    Related object: L<Hydra::Schema::BuildSteps>
    =cut
  • edit in src/lib/Hydra/Schema/Builds.pm at line 412
    [54.9476]
    [4.10124]
    __PACKAGE__->has_many(
    "buildsteps_propagatedfroms",
    "Hydra::Schema::BuildSteps",
    { "foreign.propagatedfrom" => "self.id" },
    undef,
    );
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 527
    [4.4199][4.1476:1546]()
    Composing rels: L</aggregateconstituents_constituents> -> constituent
    [4.4199]
    [4.4254]
    Composing rels: L</aggregateconstituents_aggregates> -> constituent
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 533
    [4.1592][4.1592:1632]()
    "aggregateconstituents_constituents",
    [4.1592]
    [4.1632]
    "aggregateconstituents_aggregates",
  • replacement in src/lib/Hydra/Schema/Builds.pm at line 538
    [4.3378][3.0:142]()
    # 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
    [4.3378]
    [4.4481]
    # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-07-30 16:03:55
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EwxiaQpqbdzI9RvU0uUtLQ
  • file addition: SystemStatus.pm (----------)
    [55.477]
    use utf8;
    package Hydra::Schema::SystemStatus;
    # Created by DBIx::Class::Schema::Loader
    # DO NOT MODIFY THE FIRST PART OF THIS FILE
    =head1 NAME
    Hydra::Schema::SystemStatus
    =cut
    use strict;
    use warnings;
    use base 'DBIx::Class::Core';
    =head1 COMPONENTS LOADED
    =over 4
    =item * L<Hydra::Component::ToJSON>
    =back
    =cut
    __PACKAGE__->load_components("+Hydra::Component::ToJSON");
    =head1 TABLE: C<SystemStatus>
    =cut
    __PACKAGE__->table("SystemStatus");
    =head1 ACCESSORS
    =head2 what
    data_type: 'text'
    is_nullable: 0
    =head2 status
    data_type: 'json'
    is_nullable: 0
    =cut
    __PACKAGE__->add_columns(
    "what",
    { data_type => "text", is_nullable => 0 },
    "status",
    { data_type => "json", is_nullable => 0 },
    );
    =head1 PRIMARY KEY
    =over 4
    =item * L</what>
    =back
    =cut
    __PACKAGE__->set_primary_key("what");
    # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-07-30 16:01:22
    # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JCYi4+HwM22iucdFkhBjMg
    # You can replace this text with custom code or comments, and it will be preserved on regeneration
    1;
  • replacement in src/sql/Makefile.am at line 7
    [4.110][2.0:16](),[2.16][4.3453:3454](),[4.170][4.3453:3454](),[4.2199520][4.3453:3454](),[4.3453][4.3453:3454]()
    upgrade-*.sql
    [4.110]
    [4.171]
    upgrade-*.sql \
    update-dbix.pl
  • replacement in src/sql/Makefile.am at line 19
    [4.3735][4.35884:36163]()
    perl -I ../lib -MDBIx::Class::Schema::Loader=make_schema_at,dump_to_dir:../lib -e 'make_schema_at("Hydra::Schema", { naming => { ALL => "v5" }, relationships => 1, moniker_map => sub {return "$$_";}, components => [ "+Hydra::Component::ToJSON" ], }, ["dbi:SQLite:tmp.sqlite"])'
    [4.3735]
    perl -I ../lib -MDBIx::Class::Schema::Loader=make_schema_at,dump_to_dir:../lib update-dbix.pl
  • file addition: update-dbix.pl (----------)
    [55.3004]
    make_schema_at("Hydra::Schema", {
    naming => { ALL => "v5" },
    relationships => 1,
    moniker_map => sub { return "$_"; },
    components => [ "+Hydra::Component::ToJSON" ],
    rel_name_map => { buildsteps_builds => "buildsteps" }
    }, ["dbi:SQLite:tmp.sqlite"]);