Copy the flake migration from the flake branch
[?]
Feb 9, 2020, 8:17 PM
MWXDVTS3V6SLJ27SJUVN3LT34H3ZMLHPYQCDV7C6KPLHV2QTEF7QCDependencies
- [2]
VCG6KNUXRemove the "clone build" feature - [3]
IGR322YPsql: Generate models from postgresql - [4]
QNDXPVCI* Store the jobset's nixExprPath and nixExprInput fields in a build to - [5]
AZCCANUBMissing part of aaacf9eda36f5cdcc77cec20d6f49fbb6f925105 - [6]
X27GNHDV* Basic job info in the database. - [7]
LZVO64YGMerge in the first bits of the API work - [8]
G2T4WAHIStore the inputs of each evaluation in the database - [9]
MOX7XJ2EMerge the BuildSchedulingInfo table into the Builds table - [10]
QMW24O5SAdd support for Guile & Guix. - [11]
GEADFVZ5hydra-queue-runner: Improved scheduling - [12]
KQAQ4FIFUpdate Schema classes - [13]
KPZNJ33U* In views, support selecting a job that doesn't depend on the - [14]
QLOLZHRXAllow a per-jobset check interval - [15]
T5BIOVJEAdd support for tracking custom metrics - [16]
AHTEIK7G* Added a maintainers field to the Builds table. - [17]
SB2V735VKeep track of the database schema version - [18]
W5OAZWPDDrop the errorMsg column in the Jobs table - [19]
CCIORPJ5When manually scheduling an eval, force re-instantiation of store derivations - [20]
Y6AHH4THRemove the logfile and logSize columns from the database - [21]
K3HODXGHCheck all inputs for blame but only email selected inputs - [22]
W4G5MZZShydra-evaluator improvements - [23]
JM3DPYOMgenerated schema with new dbix class schema loader, grrrrrr - [24]
L2E6EVE2* Merged the Build and Job tables. - [25]
H7CNGK4O* Log evaluation errors etc. in the DB. - [26]
BSOLESYK* hydra: project members can do stuff that the owner can do - [27]
PCKLFRT5Support push notification of repository changes - [28]
SS4TZXNUDistinguish between permanent evaluation errors and transient input errors - [29]
PCD3ZH6ZPartially revert 1c20cfdf2403feb78cef515faf15c04d5c9f17bd - [30]
KN3VYE5P* Cleaned up the foreign key constraints. - [31]
KSBB33REAdd a dashboard - [32]
DH3KNBAVMerge remote-tracking branch 'upstream/who-broke-builds' into upstream-master - [*]
5SHCWE7X* Prevent repeated evaluation of a jobset with the same inputs. This - [*]
FGQPXZIXhydra: make nr of build to keep configurable per jobset - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
LLAJKVGIFix syntax error - [*]
RFE6T5LG* Store jobset evaluations in the database explicitly. This includes - [*]
D5QIOJGP* Move everything up one directory.
Change contents
- edit in src/lib/Hydra/Schema/JobsetEvals.pm at line 90
is_nullable: 1=head2 flakedata_type: 'text' - edit in src/lib/Hydra/Schema/JobsetEvals.pm at line 125
"flake",{ data_type => "text", is_nullable => 1 }, - replacement in src/lib/Hydra/Schema/JobsetEvals.pm at line 204
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4ZaT8Z1tmCCt6k4ein0MNg# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-09 15:21:11# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ar6GRni8AcAQmuZyg6tFKw - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 57
is_nullable: 0is_nullable: 1 - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 62
is_nullable: 0is_nullable: 1 - edit in src/lib/Hydra/Schema/Jobsets.pm at line 139
=head2 typedata_type: 'integer'default_value: 0is_nullable: 0 - edit in src/lib/Hydra/Schema/Jobsets.pm at line 146
=head2 flakedata_type: 'text'is_nullable: 1 - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 161
{ data_type => "text", is_nullable => 0 },{ data_type => "text", is_nullable => 1 }, - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 163
{ data_type => "text", is_nullable => 0 },{ data_type => "text", is_nullable => 1 }, - edit in src/lib/Hydra/Schema/Jobsets.pm at line 192
"type",{ data_type => "integer", default_value => 0, is_nullable => 0 },"flake",{ data_type => "text", is_nullable => 1 }, - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 353
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-06 12:22:36# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fYKx6VRlNG5XiDZ73Qr6Rw# Created by DBIx::Class::Schema::Loader v0.07049 @ 2020-02-09 15:21:11# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FVP1/AWjdKTlY6djrG592A - replacement in src/sql/hydra.sql at line 57
nixExprInput text not null, -- name of the jobsetInput containing the Nix or Guix expressionnixExprPath text not null, -- relative path of the Nix or Guix expressionnixExprInput text, -- name of the jobsetInput containing the Nix or Guix expressionnixExprPath text, -- relative path of the Nix or Guix expression - edit in src/sql/hydra.sql at line 73
type integer not null default 0, -- 0 == legacy, 1 == flakeflake text, - edit in src/sql/hydra.sql at line 76
check ((type = 0) = (nixExprInput is not null and nixExprPath is not null)),check ((type = 1) = (flake is not null)), - replacement in src/sql/hydra.sql at line 188
-- build.-- build. FIXME: this should be stored in JobsetEvals, storing it-- here is denormal. - edit in src/sql/hydra.sql at line 530
flake text, -- immutable flake reference - file addition: upgrade-58.sql[39.3004]
alter table Jobsets alter column nixExprInput drop not null;alter table Jobsets alter column nixExprPath drop not null;alter table Jobsets add column type integer default 0;alter table Jobsets add column flake text;alter table Jobsets add check ((type = 0) = (nixExprInput is not null and nixExprPath is not null));alter table Jobsets add check ((type = 1) = (flake is not null));alter table JobsetEvals add column flake text;