IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 10, 2009, 5:53:18 PM (17 years ago)
Author:
watersc1
Message:

Altered ippTools to support scrubbed as a full state like cleaned.

Changed ipp_cleanup.pl to insist that config files exist if a run is to be cleaned, and that the config files not exist if a run is to be scrubbed.

Added science.cleanup.pro to Makefile.am to ensure it is installed properly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/cleanup/ippTools/src/pxtools.c

    r23918 r24743  
    3737    if (!strcmp(state, "goto_cleaned")) return true;
    3838    if (!strcmp(state, "error_cleaned")) return true;
     39    if (!strcmp(state, "goto_purged")) return true;
     40    if (!strcmp(state, "error_purged")) return true;
    3941    if (!strcmp(state, "goto_scrubbed")) return true;
    4042    if (!strcmp(state, "error_scrubbed")) return true;
     
    4244    if (!strcmp(state, "update")) return true;
    4345    if (!strcmp(state, "purged")) return true;
    44     if (!strcmp(state, "goto_purged")) return true;
    45     if (!strcmp(state, "error_purged")) return true;
    46 
     46    if (!strcmp(state, "scrubbed")) return true;
    4747    return false;
    4848}
    4949
    50 // 'scrubbed' is a virtual state equivalent to cleaned, but allows files to be removed
    51 // even if the config files is missing
     50// 'scrubbed' is no longer a virtual state equivalent to cleaned, but allows files to be removed
     51// even if the config files is missing.  This change was prompted as files that are cleaned can
     52// be regenerated, but that is not certain after being scrubbed.
    5253
    5354
Note: See TracChangeset for help on using the changeset viewer.