IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26170


Ignore:
Timestamp:
Nov 17, 2009, 11:53:08 AM (17 years ago)
Author:
bills
Message:

put data_group into fileset listing instead of dist_group for more specificity

Location:
trunk
Files:
3 edited

Legend:

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

    r26015 r26170  
    4040# Parse the command-line arguments
    4141my ($dist_id, $dist_dir, $target_id, $stage, $stage_id, $dest_id, $product_name, $ds_dbhost, $ds_dbname);
    42 my ($label, $dist_group, $filter);
     42my ($label, $data_group, $filter);
    4343my ($dbname, $save_temps, $verbose, $no_update, $logfile);
    4444
     
    5252           'product_name=s' => \$product_name,  # location of the data store directory for this product
    5353           'label=s'        => \$label,
    54            'dist_group=s'   => \$dist_group,
     54           'data_group=s'   => \$data_group,
    5555           'filter=s'       => \$filter,
    5656           'ds_dbhost=s'    => \$ds_dbhost,  # database host for the datastore database
     
    6464
    6565pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    66 pod2usage( -msg => "Required options: --dist_id --dist_dir --target_id --stage --stage_id --dist_group --filter --dest_id --ds_dbhost --ds_dbname",
     66pod2usage( -msg => "Required options: --dist_id --dist_dir --target_id --stage --stage_id --data_group --filter --dest_id --ds_dbhost --ds_dbname",
    6767           -exitval => 3) unless
    6868    defined $dist_id and
     
    7171    defined $stage and
    7272    defined $stage_id and
    73     defined $dist_group and
     73    defined $data_group and
    7474    defined $filter and
    7575    defined $dest_id and
     
    164164
    165165    $command .= " --ps0 $target_id --ps1 $stage --ps2 $stage_id --ps3 $prod_col_3";
    166     $command .= " --ps4 $dist_group --ps5 $filter";
     166    $command .= " --ps4 $data_group --ps5 $filter";
    167167
    168168    $command .= " --dbname $ds_dbname --dbhost $ds_dbhost";
  • trunk/ippTasks/rcserver.pro

    r26169 r26170  
    130130    book getword rcPendingFS $pageName stage -var STAGE
    131131    book getword rcPendingFS $pageName stage_id -var STAGE_ID
    132     book getword rcPendingFS $pageName dist_group -var DIST_GROUP
     132    book getword rcPendingFS $pageName data_group -var DATA_GROUP
    133133    book getword rcPendingFS $pageName filter -var FILTER
    134134    book getword rcPendingFS $pageName dist_dir -var DIST_DIR
    135 #    book getword rcPendingFS $pageName clean -var CLEAN
    136135    book getword rcPendingFS $pageName dest_id -var DEST_ID
    137136    book getword rcPendingFS $pageName product_name -var PRODUCT_NAME
     
    148147    book setword rcPendingFS $pageName pantaskState RUN
    149148
    150     $run = dist_make_fileset.pl --dist_id $DIST_ID --target_id $TARGET_ID --stage $STAGE --stage_id $STAGE_ID --dist_group $DIST_GROUP --filter $FILTER --dest_id $DEST_ID --product_name $PRODUCT_NAME  --ds_dbhost $DS_DBHOST --ds_dbname $DS_DBNAME --dist_dir $DIST_DIR
     149    $run = dist_make_fileset.pl --dist_id $DIST_ID --target_id $TARGET_ID --stage $STAGE --stage_id $STAGE_ID --data_group $DATA_GROUP --filter $FILTER --dest_id $DEST_ID --product_name $PRODUCT_NAME  --ds_dbhost $DS_DBHOST --ds_dbname $DS_DBNAME --dist_dir $DIST_DIR
    151150
    152151    add_standard_args run
  • trunk/ippTools/share/disttool_pendingfileset.sql

    r26092 r26170  
    55    distRun.outdir as dist_dir,
    66    stage_id,
    7     distTarget.dist_group,
     7    -- we need to get data_group here but we don't have
     8    -- the right tables joined. Perhaps we need to add that column to distRun
     9    distRun.label as data_group,
    810    distTarget.filter,
    911    rcDestination.name AS product_name,
Note: See TracChangeset for help on using the changeset viewer.