* Store info about all the build actions and allow them to be

monitored while the build is in progress.
This commit is contained in:
Eelco Dolstra
2008-11-11 17:49:50 +00:00
parent 632bb24687
commit ee13f3cc0d
19 changed files with 214 additions and 32 deletions

View File

@ -59,6 +59,31 @@ create table BuildResultInfo (
);
create table BuildSteps (
id integer not null,
stepnr integer not null,
type integer not null, -- 0 = build, 1 = substitution
drvPath text,
outPath text,
logfile text,
busy integer not null,
status integer,
errorMsg text,
startTime integer, -- in Unix time, 0 = used cached build result
stopTime integer,
primary key (id, stepnr),
foreign key (id) references Builds(id) on delete cascade -- ignored by sqlite
);
-- Inputs of builds.
create table BuildInputs (
id integer primary key autoincrement not null,