IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23707


Ignore:
Timestamp:
Apr 3, 2009, 2:26:10 PM (17 years ago)
Author:
bills
Message:

add the configdump file to the tarfile. Don't ship jpegs or binned images if magic is required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/dist_component.pl

    r23702 r23707  
    121121# Get the list of data products for this component
    122122# note: We my_die in get_file_list if something goes wrong.
     123
    123124my $file_list = get_file_list($stage, $component, $path_base);
    124125
     
    159160    # if we are building a clean bundle skip this rule
    160161    next if $clean && $image_type;
     162
     163    # if magic is required, don't ship jpegs or binned fits images
     164    next if !$no_magic && (($file_rule =~ /.BIN1/) or ($file_rule =~ /.BIN2/) or ($file_rule =~ /.JPEG1/)
     165            or ($file_rule =~ /.JPEG2/));
    161166
    162167    my $file_name = $file_list->{$file_rule};
     
    368373                    $PS_EXIT_CONFIG_ERROR);
    369374
     375    # add the configuration file to the list
     376    $file_list{$config_file_rule} = $config_file;
     377
    370378    my $resolved = $ipprc->file_resolve($config_file);
    371379
     
    523531        PPIMAGE.CHIP.MASK       BOOL    F
    524532        PPIMAGE.CHIP.VARIANCE   BOOL    F
    525         PPIMAGE.BIN1            BOOL    T
    526         PPIMAGE.BIN2            BOOL    T
     533#       PPIMAGE.BIN1            BOOL    T
     534#       PPIMAGE.BIN2            BOOL    T
    527535        PSPHOT.OUT.CMF.SPL      BOOL    T
    528536        PSPHOT.BACKMDL          BOOL    T
     
    538546        PSASTRO.OUTPUT          BOOL    T
    539547        PSASTRO.STATS           BOOL    T
    540         PPIMAGE.JPEG1           BOOL    T
    541         PPIMAGE.JPEG2           BOOL    T
     548#       PPIMAGE.JPEG1           BOOL    T
     549#       PPIMAGE.JPEG2           BOOL    T
    542550        LOG.EXP                 BOOL    T
    543551        TRACE.EXP               BOOL    T
     
    575583        PPSUB.OUTPUT.VARIANCE   BOOL    F
    576584        PPSUB.OUTPUT.KERNELS    BOOL    T
    577         PPSUB.OUTPUT.JPEG1      BOOL    T
    578         PPSUB.OUTPUT.JPEG2      BOOL    T
     585#       PPSUB.OUTPUT.JPEG1      BOOL    T
     586#       PPSUB.OUTPUT.JPEG2      BOOL    T
    579587        PSPHOT.OUT.CMF.MEF      BOOL    T
    580588        PSPHOT.BACKMDL.MEF      BOOL    T
     
    593601        PSPHOT.BACKMDL.MEF      BOOL    T
    594602        SKYCELL.STATS           BOOL    T
    595         PPSTACK.OUTPUT.JPEG1    BOOL    T
    596         PPSTACK.OUTPUT.JPEG2    BOOL    T
     603#       PPSTACK.OUTPUT.JPEG1    BOOL    T
     604#       PPSTACK.OUTPUT.JPEG2    BOOL    T
    597605        LOG.EXP                 BOOL    T
    598606        TRACE.EXP               BOOL    T
Note: See TracChangeset for help on using the changeset viewer.