Check all inputs for blame but only email selected inputs
[?]
Oct 8, 2013, 6:47 PM
K3HODXGHZ47WWSTEKUFCAPRJYCM564XF6YVE2QM37HPR5RQMFCWQCDependencies
- [2]
IWXLV4OBAdd DB columns for when to notify responsible committers and which inputs should be checked - [3]
KQAQ4FIFUpdate Schema classes - [4]
KHYZVPBRPropagate checkresponsible from JobsetInput to BuildInput - [5]
OGLMBJSCEnable setting emailresponsible in the edit jobset form - [6]
RQI3GRC6Enable setting checkresponsible in the edit jobset form - [7]
GHV65OPHgetResponsibleAuthors: Respect checkResponsible - [8]
SRRNCD4WEmail responsible authors if requested - [9]
2G63HKCHFix some wellformedness issues - [10]
RBNQKATL* Adding persistant releases. A release is a named set of builds. - [11]
SB2V735VKeep track of the database schema version - [12]
Y6AHH4THRemove the logfile and logSize columns from the database - [13]
3HCBU2FA - [14]
QLOLZHRXAllow a per-jobset check interval - [15]
ZCTQCN3EUse inputTypes from plugins to determine valid input types - [16]
SJLEZFC4check getHydraPath in stead of Envvar HYDRA_DBI directly - [17]
X27GNHDV* Basic job info in the database. - [18]
QDJRQIFFIf multiple dependent builds fail, send a single email - [19]
GWCV3TQV* BuildInputs table: link to dependencies, include store paths. - [20]
FYO6NECEhydra - [21]
QEC5HR4RAlways record inputs passed through -I in the BuildInputs table - [22]
P5XCKTFDFix sysbuild input type handling - [23]
PHX2HIVG* Store info about the build inputs in the build record. - [24]
JTRG7RDQadd support for git as jobinput - [25]
OX6NYJDVSplit viewing and editing a jobset - [26]
SS4TZXNUDistinguish between permanent evaluation errors and transient input errors - [27]
ODNCGFQ5* Improved the navigation bar: don't include all projects (since that - [28]
POPU2ATH* hydra_scheduler: use eval-jobs. - [29]
RFE6T5LG* Store jobset evaluations in the database explicitly. This includes - [30]
M552HLIA* Support variant builds. - [31]
P5X4P6VK* Renaming "release sets" to "views" (not finished yet). Having - [32]
2WRTOU2ZCleanup - [33]
VJFLX7B6Fix rendering of jobset inputs - [34]
UMFB2767Hydra/64: Leaving number of builds empty gives DBIx error - [35]
4FWDVNWAPass additional attributes for Git inputs - [36]
7ZSVXUGFsequence fix for postgresql - [37]
FGQPXZIXhydra: make nr of build to keep configurable per jobset - [38]
TQVKZQUGUse the REST API in the web interface for editing jobsets - [39]
CS7T2XFI - [40]
LBNVQXUB* Build the /build stuff in a separate controller. - [41]
5EQYVRWEAdd a plugin mechanism - [42]
4D4U5IPY* Allow jobsets to be disabled. - [43]
N5AS7EKYInclude who-broke-the-build information in notification emails - [44]
QTFVCDIFadded hide feature for project/jobset - [45]
JM3DPYOMgenerated schema with new dbix class schema loader, grrrrrr - [46]
PGSSRA7CAdd an input type "nix" for passing arbitrary Nix expressions - [47]
67P45PY4 - [48]
KN3VYE5P* Cleaned up the foreign key constraints. - [49]
PCKLFRT5Support push notification of repository changes - [50]
JAH3UPWASupport revision control systems via plugins - [51]
LZVO64YGMerge in the first bits of the API work - [52]
BEFHUCGNFactor a getResponsibleAuthors helper out of the HipChatNotification - [53]
3XTHEUMP* Implemented the clone feature. - [54]
AHTEIK7G* Added a maintainers field to the Builds table. - [55]
GEADFVZ5hydra-queue-runner: Improved scheduling - [56]
AMI4DGBKDon't trigger evaluation of disabled jobsets - [57]
2NGV7NYNDrop unused "tag" column - [58]
S6OISBQ3* Mark the "current" builds in a jobset, i.e. those corresponding to - [*]
3HZY24CX* Make jobsets viewable under - [*]
OOQ2D3KC* Refactoring: move fetchInput out of hydra_scheduler into a separate - [*]
N22GPKYT* Put info about logs / build products in the DB.
Change contents
- edit in src/lib/Hydra/Controller/Jobset.pm at line 209
, emailresponsible => defined $c->stash->{params}->{emailresponsible} ? 1 : 0 - replacement in src/lib/Hydra/Controller/Jobset.pm at line 234
checkresponsible => $c->stash->{params}->{"input-$baseName-checkresponsible"}emailresponsible => defined $c->stash->{params}->{"input-$baseName-emailresponsible"} ? 1 : 0 - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 151
my ($plugins, $db, $project, $jobset, $name, $type, $value, $checkresponsbile) = @_;my ($plugins, $db, $project, $jobset, $name, $type, $value, $emailresponsible) = @_; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 182
$input->{checkresponsible} = $checkresponsible;$input->{emailresponsible} = $emailresponsible; - replacement in src/lib/Hydra/Helper/AddBuilds.pm at line 548
, checkresponsible => $input->{checkresponsible}, emailresponsible => $input->{emailresponsible} - edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 262
my @emailable_authors; - replacement in src/lib/Hydra/Helper/CatalystUtils.pm at line 266
next unless (($curInput->type eq "git" || $curInput->type eq "hg") && $curInput->checkresponsible);next unless ($curInput->type eq "git" || $curInput->type eq "hg"); - edit in src/lib/Hydra/Helper/CatalystUtils.pm at line 282
push @emailable_authors, $commit->{email} if $curInput->emailresponsible; - replacement in src/lib/Hydra/Helper/CatalystUtils.pm at line 288
return (\%authors, $nrCommits);return (\%authors, $nrCommits, \@emailable_authors); - replacement in src/lib/Hydra/Plugin/EmailNotification.pm at line 82
my ($authors, $nrCommits) = getResponsibleAuthors($build, $self->{plugins});my ($authors, $nrCommits, $emailable_authors) = getResponsibleAuthors($build, $self->{plugins}); - replacement in src/lib/Hydra/Plugin/EmailNotification.pm at line 87
if ($build->jobset->emailresponsible) {$addresses{$authors->{$_}} = { builds => [ $build ] } foreach (keys %{$authors});}$addresses{$_} = { builds => [ $build ] } foreach (@{$emailable_authors}); - replacement in src/lib/Hydra/Schema/BuildInputs.pm at line 75
=head2 checkresponsible=head2 emailresponsible - replacement in src/lib/Hydra/Schema/BuildInputs.pm at line 114
"checkresponsible","emailresponsible", - replacement in src/lib/Hydra/Schema/BuildInputs.pm at line 179
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-10-07 14:04:49# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ks8PxHXTwtG+Zco0CAzECg# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-10-08 13:08:15# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OaJPzRM+8XGsu3eIkqeYEw - replacement in src/lib/Hydra/Schema/JobsetInputs.pm at line 60
=head2 checkresponsible=head2 emailresponsible - replacement in src/lib/Hydra/Schema/JobsetInputs.pm at line 77
"checkresponsible","emailresponsible", - replacement in src/lib/Hydra/Schema/JobsetInputs.pm at line 153
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-10-07 14:04:49# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OvSrNdXWqco666sy+rvsKw# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-10-08 13:06:15# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+mZZqLjQNwblb/EWW1alLQ - edit in src/lib/Hydra/Schema/Jobsets.pm at line 96
is_nullable: 0=head2 emailresponsibledata_type: 'integer'default_value: 0 - edit in src/lib/Hydra/Schema/Jobsets.pm at line 157
"emailresponsible",{ data_type => "integer", default_value => 0, is_nullable => 0 }, - replacement in src/lib/Hydra/Schema/Jobsets.pm at line 290
# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-10-07 14:04:49# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hJ41oHEb9PjzluvL7f/ypw# Created by DBIx::Class::Schema::Loader v0.07033 @ 2013-10-08 13:06:15# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BjT60mlrN7bnljqCMHbPEw - replacement in src/root/edit-jobset.tt at line 29
<input type="checkbox" id="[% baseName %]-checkresponsible" name="[% baseName %]-checkresponsible" [% if input.checkresponsible; 'checked="checked"'; END %]/><input type="checkbox" id="[% baseName %]-emailresponsible" name="[% baseName %]-emailresponsible" [% IF input.emailresponsible; 'checked="checked"'; END %]/> - replacement in src/root/edit-jobset.tt at line 37
<tr><th>Input name</th><th>Type</th><th>Values</th><th>Check for responsible commits?</tr><tr><th>Input name</th><th>Type</th><th>Values</th><th>Notify committers</th></tr> - edit in src/root/edit-jobset.tt at line 117
</label></div></div><div class="control-group"><div class="controls"><label class="checkbox"><input type="checkbox" name="emailresponsible" [% IF jobset.emailresponsible; 'checked="checked"'; END %]/>Notify responsible committers when build status changes - replacement in src/root/edit-jobset.tt at line 162
$("#input-template-checkresponsible", x).attr("name", newid + "-checkresponsible");$("#input-template-emailresponsible", x).attr("name", newid + "-emailresponsible"); - replacement in src/script/hydra-evaluator at line 37
foreach fetchInput($plugins, $db, $project, $jobset, $input->name, $input->type, $alt->value, $input->checkresponsible);foreach fetchInput($plugins, $db, $project, $jobset, $input->name, $input->type, $alt->value, $input->emailresponsible); - edit in src/sql/hydra.sql at line 60
emailResponsible integer not null default 0, -- whether to email committers responsible for a build change - replacement in src/sql/hydra.sql at line 80
checkResponsible integer not null default 0, -- whether this input should be checked for responsbile commitsemailResponsible integer not null default 0, -- whether to email committers to this input who change a build - replacement in src/sql/hydra.sql at line 261
checkResponsible integer not null default 0,emailResponsible integer not null default 0, - replacement in src/sql/upgrade-23.sql at line 1
alter table Jobsets add column emailResponsible integer not null default 0;alter table JobsetInputs add column checkResponsible integer not null default 0;alter table BuildInputs add column checkResponsible integer not null default 0;[2.277]alter table JobsetInputs add column emailResponsible integer not null default 0;alter table BuildInputs add column emailResponsible integer not null default 0;