Changeset 36688 for trunk/pstamp/scripts/pstamp_checkdependent.pl
- Timestamp:
- Apr 22, 2014, 3:13:30 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_checkdependent.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_checkdependent.pl
r36476 r36688 20 20 use PS::IPP::PStamp::RequestFile qw( :standard ); 21 21 use Carp; 22 23 my $disable_3PI_updates = 1; 22 24 23 25 # XXX: put this in a module somewhere … … 257 259 push @chips, $chip->{class_id}; 258 260 261 if ($disable_3PI_updates && ($chip->{data_group} =~ /ThreePi/)) { 262 # we are getting close to the end of PV2. Do not update PV1 chips. 263 print "3PI updates are currently disabled\n"; 264 return $PSTAMP_NOT_AVAILABLE; 265 } 266 259 267 my $state = $chip->{state}; 260 268 my $data_state = $chip->{data_state}; … … 304 312 305 313 # if this is one of the chipRuns from the PV1 LAP regenerate without using the ppImage configdump file 306 if ($chip->{data_group} =~ /^LAP.ThreePi.201 30706/) {314 if ($chip->{data_group} =~ /^LAP.ThreePi.20120706/) { 307 315 $command .= ' -set_update_mode 1'; 308 316 } … … 370 378 my $state = $metadata->{state}; 371 379 my $data_state = $metadata->{data_state}; 380 381 # we are getting close to the end of PV2. optionally do not update 3Pi data. 382 if ($disable_3PI_updates && ($metadata->{data_group} =~ /ThreePi/)) { 383 print "3PI updates are currently disabled\n"; 384 return $PSTAMP_NOT_AVAILABLE; 385 } 372 386 373 387 # The update system currently requires that data that has been magicked be destreaked
Note:
See TracChangeset
for help on using the changeset viewer.
