diff --git a/src/lib/Hydra/Controller/Jobset.pm b/src/lib/Hydra/Controller/Jobset.pm index c5ecb94e..d6377b45 100644 --- a/src/lib/Hydra/Controller/Jobset.pm +++ b/src/lib/Hydra/Controller/Jobset.pm @@ -231,6 +231,7 @@ sub updateJobset { , enabled => trim($c->request->params->{enabled}) eq "1" ? 1 : 0 , enableemail => trim($c->request->params->{enableemail}) eq "1" ? 1 : 0 , emailoverride => trim($c->request->params->{emailoverride}) + , keepnr => trim($c->request->params->{keepnr}) }); my %inputNames; diff --git a/src/lib/Hydra/Schema/CachedGitInputs.pm b/src/lib/Hydra/Schema/CachedGitInputs.pm index 68cf893a..6a69a506 100644 --- a/src/lib/Hydra/Schema/CachedGitInputs.pm +++ b/src/lib/Hydra/Schema/CachedGitInputs.pm @@ -40,20 +40,6 @@ __PACKAGE__->table("CachedGitInputs"); is_nullable: 0 size: undef -=head2 timestamp - - data_type: integer - default_value: undef - is_nullable: 0 - size: undef - -=head2 lastseen - - data_type: integer - default_value: undef - is_nullable: 0 - size: undef - =head2 sha256hash data_type: text @@ -92,20 +78,6 @@ __PACKAGE__->add_columns( is_nullable => 0, size => undef, }, - "timestamp", - { - data_type => "integer", - default_value => undef, - is_nullable => 0, - size => undef, - }, - "lastseen", - { - data_type => "integer", - default_value => undef, - is_nullable => 0, - size => undef, - }, "sha256hash", { data_type => "text", @@ -124,7 +96,7 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key("uri", "branch", "revision"); -# Created by DBIx::Class::Schema::Loader v0.05003 @ 2010-02-25 10:29:41 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CoeyzZHUEPo7/VpIpLD+Pw +# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-08-10 08:24:15 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4eYbLtiy5X3yegndBRFtSg 1; diff --git a/src/lib/Hydra/Schema/Jobsets.pm b/src/lib/Hydra/Schema/Jobsets.pm index 97570710..ac498e49 100644 --- a/src/lib/Hydra/Schema/Jobsets.pm +++ b/src/lib/Hydra/Schema/Jobsets.pm @@ -106,6 +106,13 @@ __PACKAGE__->table("Jobsets"); is_nullable: 0 size: undef +=head2 keepnr + + data_type: integer + default_value: 3 + is_nullable: 0 + size: undef + =cut __PACKAGE__->add_columns( @@ -181,6 +188,8 @@ __PACKAGE__->add_columns( is_nullable => 0, size => undef, }, + "keepnr", + { data_type => "integer", default_value => 3, is_nullable => 0, size => undef }, ); __PACKAGE__->set_primary_key("project", "name"); @@ -280,7 +289,7 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-06-04 16:32:43 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aQ+7TLIXnNDjjulPNqLq7A +# Created by DBIx::Class::Schema::Loader v0.05000 @ 2010-08-10 08:24:15 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:b/GSJQxUcjCP4fn3peJVMg 1; diff --git a/src/root/jobset.tt b/src/root/jobset.tt index 12c10466..95109058 100644 --- a/src/root/jobset.tt +++ b/src/root/jobset.tt @@ -189,12 +189,18 @@ [% INCLUDE renderSelection param="enableemail" curValue=jobset.enableemail options={"1" = "Yes", "0" = "No"} %] -