Changeset 36475 for tags/ipp-20130712
- Timestamp:
- Feb 5, 2014, 10:38:13 AM (12 years ago)
- Location:
- tags/ipp-20130712
- Files:
-
- 3 edited
-
ippTasks/pstamp.pro (modified) (2 diffs)
-
ippTools/share/pstamptool_pendingdependent.sql (modified) (1 diff, 1 prop)
-
pstamp/scripts/pstamp_checkdependent.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20130712/ippTasks/pstamp.pro
r35462 r36475 825 825 book getword pstampDependent $pageName imagedb -var IMAGEDB 826 826 book getword pstampDependent $pageName rlabel -var RLABEL 827 book getword pstampDependent $pageName label -var LABEL 827 828 book getword pstampDependent $pageName outdir -var OUTDIR 828 829 book getword pstampDependent $pageName need_magic -var NEED_MAGIC … … 846 847 stderr $MYLOGFILE 847 848 848 $run = pstamp_checkdependent.pl --dep_id $DEP_ID --stage_id $STAGE_ID --stage $STAGE --component $COMPONENT --imagedb $IMAGEDB --rlabel $RLABEL $NEED_MAGIC --fault_count $FAULT_COUNT --max_fault_count $PSTAMP_MAX_FAULT_COUNT --logfile $MYLOGFILE849 $run = pstamp_checkdependent.pl --dep_id $DEP_ID --stage_id $STAGE_ID --stage $STAGE --component $COMPONENT --imagedb $IMAGEDB --rlabel $RLABEL --label $LABEL $NEED_MAGIC --fault_count $FAULT_COUNT --max_fault_count $PSTAMP_MAX_FAULT_COUNT --logfile $MYLOGFILE 849 850 850 851 add_standard_args run -
tags/ipp-20130712/ippTools/share/pstamptool_pendingdependent.sql
- Property svn:mergeinfo set to
r30853 r36475 1 1 SELECT DISTINCT 2 2 pstampDependent.*, 3 pstampRequest.label, 3 4 concat( pstampDependent.outdir, '/checkdep.', dep_id, '.log') as logfile, 4 5 IFNULL(Label.priority, 10000) AS priority -
tags/ipp-20130712/pstamp/scripts/pstamp_checkdependent.pl
r36460 r36475 27 27 my $IPP_DIFF_MODE_STACK_STACK = 4; 28 28 29 my ($dep_id, $stage, $stage_id, $component, $imagedb, $ rlabel, $need_magic, $fault_count, $max_fault_count, $logfile);29 my ($dep_id, $stage, $stage_id, $component, $imagedb, $label, $rlabel, $need_magic, $fault_count, $max_fault_count, $logfile); 30 30 my ($dbname, $ps_dbserver, $verbose, $save_temps, $no_update); 31 31 … … 36 36 'component=s' => \$component, 37 37 'imagedb=s' => \$imagedb, # dbname for images lookups. 38 'rlabel=s' => \$rlabel, 38 'label=s' => \$label, # request's label 39 'rlabel=s' => \$rlabel, # pstampDependent.rlabel (deprecated) 39 40 'need_magic' => \$need_magic, 40 41 'fault_count=i' => \$fault_count, … … 72 73 $ipprc->redirect_output($logfile); 73 74 } 75 76 if ($label) { 77 # rlabel is deprecated. Use one based on the supplied label parameter which is the current label 78 # for the request, which may be different than the one given to the dependent when the job was parsed. 79 # XXX: having the convention that update label is 'ps_ud_' . $label of request embedded here 80 # (and formerly in pstampparse.pl) is not particularly clean but it's simple. 81 my $new_rlabel = 'ps_ud_' . $label; 82 if ($new_rlabel ne $rlabel) { 83 print "Notice: using $new_rlabel instead of $rlabel for update label.\n"; 84 $rlabel = $new_rlabel; 85 } 86 } 87 74 88 75 89 if (!$ps_dbserver) {
Note:
See TracChangeset
for help on using the changeset viewer.
