IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27028 for trunk/ippTools/src


Ignore:
Timestamp:
Feb 22, 2010, 1:44:30 PM (16 years ago)
Author:
Paul Price
Message:

Schema change to support requirement of magicked detections for MOPS publishing.

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/pubtool.c

    r26981 r27028  
    9595    // optional
    9696    PXOPT_LOOKUP_STR(comment, config->args, "-comment",  false, false);
    97 
    98     if (!publishClientInsert(config->dbh, 0, 0, product, stage, workdir, comment)) {
     97    PXOPT_LOOKUP_BOOL(unmagicked, config->args, "-unmagicked",  false);
     98
     99    if (!publishClientInsert(config->dbh, 0, 0, product, stage, !unmagicked, workdir, comment)) {
    99100        psError(PS_ERR_UNKNOWN, false, "Database error");
    100101        return false;
  • trunk/ippTools/src/pubtoolConfig.c

    r26956 r27028  
    4949    psMetadataAddStr(defineclientArgs, PS_LIST_TAIL, "-workdir", 0, "define workdir (required)", NULL);
    5050    psMetadataAddStr(defineclientArgs, PS_LIST_TAIL, "-comment", 0, "define comment", NULL);
     51    psMetadataAddBool(defineclientArgs, PS_LIST_TAIL, "-unmagicked", 0, "allow unmagicked data?", false);
    5152
    5253    // -updateclient
Note: See TracChangeset for help on using the changeset viewer.