IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2010, 9:31:50 AM (16 years ago)
Author:
eugene
Message:

updates from trunk

Location:
branches/eam_branches/ipp-20100621/ippTools/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/ippTools/src

    • Property svn:ignore
      •  

        old new  
        3939warptool
        4040staticskytool
        41 
         41bgtool
        4242diffphottool
  • branches/eam_branches/ipp-20100621/ippTools/src/pstamptool.c

    r28308 r28794  
    206206    PXOPT_LOOKUP_S64(ds_id,       config->args, "-ds_id",         true, false);
    207207    PXOPT_LOOKUP_STR(lastFileset, config->args, "-set_last_fileset",  false, false);
     208    PXOPT_LOOKUP_STR(uri, config->args,         "-set_uri",  false, false);
    208209    PXOPT_LOOKUP_STR(state,       config->args, "-set_state",         false, false);
    209210    PXOPT_LOOKUP_STR(label,       config->args, "-set_label",         false, false);
     
    211212    PXOPT_LOOKUP_BOOL(update_timestamp, config->args, "-update_timestamp", false);
    212213
    213     if (!state && !lastFileset && !pollInterval && !update_timestamp && !label) {
     214    if (!state && !lastFileset && !pollInterval && !update_timestamp && !label &&!uri) {
    214215        psError(PS_ERR_UNKNOWN, true, "at least one of -last_fileset or -set_state is required");
    215216        return false;
     
    222223    }
    223224
     225    if (uri) {
     226        psStringAppend(&query, ", uri = '%s'", uri);
     227    }
    224228    if (state) {
    225229        psStringAppend(&query, ", state = '%s'", state);
     
    738742    PXOPT_COPY_S64(config->args, where, "-job_id", "job_id", "==");
    739743    PXOPT_COPY_S64(config->args, where, "-req_id", "req_id", "==");
     744    PXOPT_COPY_S64(config->args, where, "-dep_id", "dep_id", "==");
    740745    PXOPT_COPY_S64(config->args, where, "-fault",  "fault", "==");
    741746
     
    891896    PXOPT_COPY_S64(config->args, where, "-req_id", "req_id", "==");
    892897    PXOPT_COPY_S64(config->args, where, "-dep_id", "dep_id", "==");
     898    PXOPT_COPY_S32(config->args, where, "-fault",  "pstampJob.fault", "==");
    893899    PXOPT_COPY_STR(config->args, where, "-state",  "pstampJob.state", "==");
    894900
Note: See TracChangeset for help on using the changeset viewer.