* Don't bother with the Jobs.active column anymore.
[?]
Oct 8, 2009, 11:19 AM
IXCUNELFZBXTEZKZJXJFP3AFPRHCWJ4NEQC2FSKTOYIZDP74O3RQCDependencies
- [2]
S6OISBQ3* Mark the "current" builds in a jobset, i.e. those corresponding to - [3]
X27GNHDV* Basic job info in the database. - [4]
RI4S7SYT* Job status: show the active jobs. - [5]
NI5BVF2V* In job inputs of type "build", allow the project and jobset names of - [6]
S5PV6IIM* Represent jobs explicitly in the DB. - [7]
BTOXLRG3* Record the input containing the Nix expression (release.nix) in the - [8]
YAPITGB3* Boolean inputs. - [9]
FDE3BJAP* Refactoring. - [10]
POPU2ATH* hydra_scheduler: use eval-jobs. - [11]
L2E6EVE2* Merged the Build and Job tables. - [12]
E6IC7YIK* Release sets: need to include the jobset name to disambiguate - [13]
M552HLIA* Support variant builds. - [14]
LZO3C2KI* Hack around those SQLite timeouts: just retry the transaction. - [15]
XNCWZ7OT* Get the job priority from the meta.schedulingPriority attribute. - [16]
CVDK3XJK* In the scheduler, don't check if we've already done a build (except - [17]
SHZLOM5M* eval-jobs -> hydra_eval_jobs. - [18]
7YBYT2LQ - [19]
67P45PY4 - [*]
UUGBVEGY* Development notes. - [*]
RAKTHYAI* In the job status and error pages, show when the status of a job - [*]
N22GPKYT* Put info about logs / build products in the DB.
Change contents
- edit in doc/dev-notes.txt at line 146[22.558]
* Using PostgreSQL:$ HYDRA_DBI="dbi:Pg:dbname=hydra;" hydra_server.pl - replacement in src/script/hydra_scheduler.pl at line 266
# Mark this job as active in the database.# Update the last evaluation time in the database. - edit in src/script/hydra_scheduler.pl at line 269
, active => 1 - replacement in src/script/hydra_scheduler.pl at line 429
# Mark all existing jobs that we haven't seen as inactive.my %jobNames;$jobNames{$_->{jobName}}++ foreach @{$jobs->{job}};# Update the last checked times and error messages for each# job. - edit in src/script/hydra_scheduler.pl at line 437
$jobInDB->update({active => $jobNames{$jobInDB->name} || $failedJobNames{$jobInDB->name} ? 1 : 0}); - replacement in src/sql/hydra.sql at line 264
-- `active' means the Nix expression for the jobset currently-- contains this job. Otherwise it's a job that has been removed-- from the expression.active integer not null default 1,active integer not null default 1, -- !!! obsolete, remove