Changeset 32702
- Timestamp:
- Nov 17, 2011, 3:18:56 PM (15 years ago)
- Location:
- tags/ipp-20111110
- Files:
-
- 5 edited
- 1 copied
-
ippScripts/scripts/dist_defineruns.pl (modified) (1 diff, 1 prop)
-
ippTools/share/Makefile.am (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_sky.sql (modified) (1 diff)
-
ippTools/share/disttool_definebyquery_sky_singlefilter.sql (copied) (copied from trunk/ippTools/share/disttool_definebyquery_sky_singlefilter.sql )
-
ippTools/src/disttool.c (modified) (3 diffs, 1 prop)
-
ippTools/src/disttoolConfig.c (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20111110/ippScripts/scripts/dist_defineruns.pl
- Property svn:mergeinfo set to
r32673 r32702 88 88 push @stages, $stage; 89 89 } else { 90 @stages = qw(chip chip_bg camera fake warp warp_bg diff stack SSdiff sky );90 @stages = qw(chip chip_bg camera fake warp warp_bg diff stack SSdiff sky skysingle); 91 91 } 92 92 93 93 foreach my $stage (@stages) { 94 94 foreach my $label (@labels) { 95 my $command = "$disttool -definebyquery -stage $stage -workdir $workdir -label $label"; 95 my $single; 96 my $cmdstage; 97 if ($stage eq "skysingle") { 98 $cmdstage = "sky"; 99 $single = 1; 100 } else { 101 $cmdstage = $stage; 102 } 103 my $command = "$disttool -definebyquery -stage $cmdstage -workdir $workdir -label $label"; 104 $command .= " -singlefilter" if $single; 96 105 $command .= " -no_magic" if $no_magic; 97 106 $command .= " -pretend" if $no_update; -
tags/ipp-20111110/ippTools/share/Makefile.am
r32573 r32702 181 181 disttool_definebyquery_raw_no_magic.sql \ 182 182 disttool_definebyquery_sky.sql \ 183 disttool_definebyquery_sky_singlefilter.sql \ 183 184 disttool_definebyquery_stack.sql \ 184 185 disttool_definebyquery_warp.sql \ -
tags/ipp-20111110/ippTools/share/disttool_definebyquery_sky.sql
r28959 r32702 22 22 WHERE distTarget.state = 'enabled' 23 23 AND rcInterest.state = 'enabled' 24 AND distTarget.filter = 'multi' 24 25 AND distRun.dist_id IS NULL 25 26 AND ((staticskyRun.state = 'full') OR (distTarget.clean AND staticskyRun.state = 'cleaned')) -
tags/ipp-20111110/ippTools/src/disttool.c
- Property svn:mergeinfo set to
r32673 r32702 164 164 PXOPT_LOOKUP_STR(dist_group, config->args, "-dist_group", false, false); 165 165 166 PXOPT_LOOKUP_BOOL(single, config->args, "-singlefilter", false); 167 166 168 if (use_alternate) { 167 169 if (strcmp(stage, "raw")) { … … 354 356 } else if (!strcmp(stage, "sky")) { 355 357 magicRunType = "staticskyRun"; 356 query = pxDataGet("disttool_definebyquery_sky.sql"); 358 if (single) { 359 query = pxDataGet("disttool_definebyquery_sky_singlefilter.sql"); 360 } else { 361 query = pxDataGet("disttool_definebyquery_sky.sql"); 362 } 357 363 if (!query) { 358 364 psError(PXTOOLS_ERR_SYS, false, "failed to retreive SQL statement"); … … 411 417 if (!no_magic) { 412 418 psStringAppend(&query, " AND (%s.magicked > 0)", magicRunType); 419 } 420 421 if (!strcmp(stage, "sky") && single) { 422 psStringAppend(&query, "\nGROUP BY sky_id HAVING count(stack_id) = 1"); 413 423 } 414 424 -
tags/ipp-20111110/ippTools/src/disttoolConfig.c
- Property svn:mergeinfo set to
r32673 r32702 63 63 psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-label", 0, "select by run label", NULL); 64 64 psMetadataAddStr(definebyqueryArgs, PS_LIST_TAIL, "-dist_group", 0, "select by dist_group", NULL); 65 psMetadataAddBool(definebyqueryArgs, PS_LIST_TAIL, "-singlefilter", 0, "select single filter runs (sky stage only)", false); 65 66 66 67 psMetadataAddU64(definebyqueryArgs, PS_LIST_TAIL, "-limit", 0, "limit result set to N items", 0);
Note:
See TracChangeset
for help on using the changeset viewer.
