Builds: add a nullable jobset_id foreign key to Jobsets.
[?]
Feb 5, 2020, 8:11 PM
SJPEC375K7K4PJRGHLFKAOXX5FFAJCGNVIARROGOR3RISTZBYBDACDependencies
- [2]
B7ENVLRShydra-queue-runner: Make build notification more reliable - [3]
SIDK2E7VJobs: add a nullable jobset_id foreign key to Jobsets. - [4]
ITJWNQEZUpdate Hydra schema, otherwise hydra-notify will not work. - [5]
TWVSALRL* Allow the maximum number of concurrent builds per platform to be - [6]
B72GLND4 - [7]
4CELXP7PRemove the longDescription field - [8]
D3DIBMOK* For products that are directories (like manuals), allow a default - [9]
BD3GRK4B* Get rid of "positive failures" and separate log phases. - [10]
LCKWLQW3* In Sqlite "release" is now a keyword, so use "release_" instead. - [11]
GEADFVZ5hydra-queue-runner: Improved scheduling - [12]
4S5JF5JPUse latest DBIx::Class::Schema::Loader - [13]
FTPCV25MStore aggregate members in the database - [14]
TPNHTE5VRemove obsolete Builds columns and provide accurate "Running builds" - [15]
SB2V735VKeep track of the database schema version - [16]
CCIORPJ5When manually scheduling an eval, force re-instantiation of store derivations - [17]
W4G5MZZShydra-evaluator improvements - [18]
IGR322YPsql: Generate models from postgresql - [19]
53IMJNBBAdd isChannel column and meta attribute. - [20]
S66BOMVU* Added authentication. - [21]
3E6IP3R3* Add the name of the jobset to ReleaseSetJobs, otherwise we can't - [22]
JTHWA6AMRename aggregate members to constituents - [23]
L2E6EVE2* Merged the Build and Job tables. - [24]
AHTEIK7G* Added a maintainers field to the Builds table. - [25]
S5PV6IIM* Represent jobs explicitly in the DB. - [26]
Y6AHH4THRemove the logfile and logSize columns from the database - [27]
BHZXGT2H* Channels: provide an index page that lists all the packages in the - [28]
YTZOC7C5* Editing of jobset inputs. - [29]
GNIEG2GC* Disambiguate jobs by jobset name. I.e. jobs with the same name in - [30]
QLOLZHRXAllow a per-jobset check interval - [31]
YTIDBFGUDrop unused "disabled" columns - [32]
CMU3YKOU* Store the release name. - [33]
JM3DPYOMgenerated schema with new dbix class schema loader, grrrrrr - [34]
G2T4WAHIStore the inputs of each evaluation in the database - [35]
KSBB33REAdd a dashboard - [36]
FYO6NECEhydra - [37]
EYNG4EL4* Regenerate the bindings from a clean sqlite database. - [38]
R5D7DZPE - [39]
RU7AQO7U* Role-based access control. Only admins can create projects. Only - [40]
T5BIOVJEAdd support for tracking custom metrics - [41]
WE5Q2NVIAllow build to be bumped to the front of the queue via the web interface - [42]
ZI535LI6* hydra: 'new' UI for project/jobset/job/build - [43]
PCD3ZH6ZPartially revert 1c20cfdf2403feb78cef515faf15c04d5c9f17bd - [44]
DH3KNBAVMerge remote-tracking branch 'upstream/who-broke-builds' into upstream-master - [45]
MWXDVTS3Copy the flake migration from the flake branch - [46]
3ZCEPLNO - [47]
SJLEZFC4check getHydraPath in stead of Envvar HYDRA_DBI directly - [48]
TQKGQ5R3 - [49]
IK53RV4V - [50]
TLZ2SPBR - [51]
KQAQ4FIFUpdate Schema classes - [52]
PMNWRTGJAdd multiple output support - [53]
X27GNHDV* Basic job info in the database. - [54]
W5OAZWPDDrop the errorMsg column in the Jobs table - [55]
YAPITGB3* Boolean inputs. - [56]
PCKLFRT5Support push notification of repository changes - [57]
FZR7ET5DJobsets: add a SERIAL, unique, non-null id column - [58]
ZVTSOVHN* Support Subversion checkouts. - [59]
ECBA3GQO* Make the schema class names match the case of the SQL table names. - [60]
VJHIHMEH* Store the meta.longDescription and meta.license attributes in the - [61]
37R34XJO* Negative caching: don't perform a build if a dependency already - [62]
KOTB7BKV - [63]
SHBLLAVH* More global substitution. - [64]
H7CNGK4O* Log evaluation errors etc. in the DB. - [65]
K3HODXGHCheck all inputs for blame but only email selected inputs - [66]
FHF6IZJQ* Basic release management: releases are now dynamically computed as - [67]
SS4TZXNUDistinguish between permanent evaluation errors and transient input errors - [68]
V4RNHJNR* Add a link to each project's homepage. Suggested by karltk. - [69]
LZVO64YGMerge in the first bits of the API work - [70]
6BLUKEQ2* Caching of "path" inputs, and fake a revision number for those. - [71]
CLJQCY2X* Store info about all the build actions and allow them to be - [72]
26PYNDXVRemove the errorMsg column from the Builds table - [*]
J5UVLXOK* Start of a basic Catalyst web interface. - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
TM6C352UEnsure that stoptime and starttime are set for finished builds - [*]
D5QIOJGP* Move everything up one directory.
Change contents
- edit in src/lib/Hydra/Schema/Builds.pm at line 66
=head2 jobset_iddata_type: 'integer'is_foreign_key: 1is_nullable: 1 - edit in src/lib/Hydra/Schema/Builds.pm at line 224
"jobset_id",{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, - edit in src/lib/Hydra/Schema/Builds.pm at line 467
"Hydra::Schema::Jobsets",{ id => "jobset_id" },{is_deferrable => 0,join_type => "LEFT",on_delete => "CASCADE",on_update => "NO ACTION",},);=head2 jobset_project_jobsetType: belongs_toRelated object: L<Hydra::Schema::Jobsets>=cut__PACKAGE__->belongs_to("jobset_project_jobset", - replacement in src/lib/Hydra/Schema/Builds.pm at line 581
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:H3hs+zEywsUmwTWKfSE8wQ# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:32:28# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RvrINOAowDcde8Nd9VD6rQ - edit in src/lib/Hydra/Schema/Jobsets.pm at line 259
=head2 builds_jobset_idsType: has_many - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 264
=head2 buildsRelated object: L<Hydra::Schema::Builds>=cut__PACKAGE__->has_many("builds_jobset_ids","Hydra::Schema::Builds",{ "foreign.jobset_id" => "self.id" },undef,);=head2 builds_project_jobsets - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 284
"builds","builds_project_jobsets", - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 411
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-09 15:26:15# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:DH1jX0smo2rFvyr4V+qJcw# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-09 15:32:17# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P8+t7rgpOqkGwRdM2b+3Bw=head2 builds - edit in src/lib/Hydra/Schema/Jobsets.pm at line 417
Type: has_manyRelated object: L<Hydra::Schema::Builds>=cut__PACKAGE__->has_many("builds","Hydra::Schema::Builds",{"foreign.jobset" => "self.name","foreign.project" => "self.project",},undef,); - edit in src/sql/hydra.sql at line 173
jobset_id integer null, - edit in src/sql/hydra.sql at line 240
foreign key (jobset_id) references Jobsets(id) on delete cascade, - file addition: upgrade-61.sql[77.3004]
-- Add the jobset_id columns to the Builds table. This will go-- quickly, since the field is nullable. Note this is just part one of-- this migration. Future steps involve a piecemeal backfilling, and-- then making the column non-null.ALTER TABLE BuildsADD COLUMN jobset_id integer NULL,ADD FOREIGN KEY (jobset_id)REFERENCES Jobsets(id)ON DELETE CASCADE;