Changeset 8796 for trunk/gsdl/bin/script


Ignore:
Timestamp:
2004-12-14T14:07:09+13:00 (19 years ago)
Author:
kjdon
Message:

added new oidtypes 'assigned' (from stephen de gabrielle) and 'dirname' (from emanuel dejanu)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/import.pl

    r8603 r8796  
    5454        'desc' => "{import.OIDtype.hash}" },
    5555      { 'name' => "incremental",
    56         'desc' => "{import.OIDtype.incremental}" } ];
     56        'desc' => "{import.OIDtype.incremental}" },
     57      { 'name' => "assigned",
     58        'desc' => "{import.OIDtype.assigned}" },
     59      { 'name' => "dirname",
     60        'desc' => "{import.OIDtype.dirname}" } ];
    5761
    5862#** define to use the original GA format or METS format
     
    207211             'gzip', \$gzip,
    208212             'groupsize/\d+/1', \$groupsize,
    209              'OIDtype/^(hash|incremental)$/', \$OIDtype,
     213             'OIDtype/^(hash|incremental|assigned|dirname)$/', \$OIDtype,
    210214             'sortmeta/.*/', \$sortmeta,
    211215             'debug', \$debug,
     
    334338        }
    335339    }
    336     if ($OIDtype !~ /^(hash|incremental)$/) {
    337         if (defined $collectcfg->{'OIDtype'} && $collectcfg->{'OIDtype'} =~ /^(hash|incremental)$/) {
     340    if ($OIDtype !~ /^(hash|incremental|assigned|dirname)$/) {
     341        if (defined $collectcfg->{'OIDtype'} && $collectcfg->{'OIDtype'} =~ /^(hash|incremental|assigned|dirname)$/) {
    338342        $OIDtype = $collectcfg->{'OIDtype'};
    339343        } else {
Note: See TracChangeset for help on using the changeset viewer.