rda-python-dsarch 1.0.16__tar.gz → 1.0.19__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (18) hide show
  1. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/PKG-INFO +1 -1
  2. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/pyproject.toml +1 -1
  3. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/PgMeta.py +5 -5
  4. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/dsarch.py +8 -8
  5. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/dsarch.usg +2 -3
  6. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/PKG-INFO +1 -1
  7. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/LICENSE +0 -0
  8. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/MANIFEST.in +0 -0
  9. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/README.md +0 -0
  10. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/setup.cfg +0 -0
  11. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/PgArch.py +0 -0
  12. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/__init__.py +0 -0
  13. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
  14. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
  15. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
  16. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
  17. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
  18. {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/tests/test_dsarch.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 1.0.16
3
+ Version: 1.0.19
4
4
  Summary: RDA Python package for utility program dsarch archive RDA data
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-dsarch
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "rda_python_dsarch"
7
- version = "1.0.16"
7
+ version = "1.0.19"
8
8
  authors = [
9
9
  { name="Zaihua Ji", email="zji@ucar.edu" },
10
10
  ]
@@ -595,7 +595,7 @@ def process_meta_gather(cate, logact = PgLOG.LOGWRN):
595
595
  if PgLOG.PGLOG['DSCHECK'] and cnt > 0 and (cnt%10) == 0:
596
596
  PgCMD.add_dscheck_dcount(10, 0, logact)
597
597
  elif PgLOG.PGLOG['SYSERR']:
598
- PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'])
598
+ PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'], act)
599
599
  PgLOG.PGLOG['ERR2STD'] = []
600
600
 
601
601
  if cnt > 0:
@@ -642,7 +642,7 @@ def process_meta_delete(cate, logact = PgLOG.LOGWRN):
642
642
  if PgSIG.start_background(cmd, act, opt, 1):
643
643
  cnt += dcnt
644
644
  elif PgLOG.PGLOG['SYSERR']:
645
- PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'])
645
+ PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'], act)
646
646
  PgLOG.PGLOG['ERR2STD'] = []
647
647
 
648
648
  if cnt > 0:
@@ -667,7 +667,7 @@ def delete_file_metadata(dsid, file, logact = PgLOG.LOGWRN):
667
667
  PgLOG.PGLOG['ERR2STD'] = ["Warning: "]
668
668
  switch_logfile("gatherxml")
669
669
  if not PgLOG.pgsystem("{} -d {} {}".format(CMD['DX'], d, file), logact, opt) and PgLOG.PGLOG['SYSERR']:
670
- PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'])
670
+ PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'], logact)
671
671
  PgLOG.PGLOG['ERR2STD'] = []
672
672
  switch_logfile()
673
673
 
@@ -705,7 +705,7 @@ def process_meta_move(cate, logact = PgLOG.LOGWRN):
705
705
  if PgSIG.start_background(cmd, act, opt, 1):
706
706
  cnt += 1
707
707
  elif PgLOG.PGLOG['SYSERR']:
708
- PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'])
708
+ PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'], act)
709
709
  PgLOG.PGLOG['ERR2STD'] = []
710
710
 
711
711
  if cnt > 0:
@@ -741,7 +741,7 @@ def process_meta_summary(cate, logact = PgLOG.LOGWRN):
741
741
  if PgSIG.start_background(cmd, act, opt, 1):
742
742
  cnt += 1
743
743
  elif PgLOG.PGLOG['SYSERR']:
744
- PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'])
744
+ PgDBI.record_dscheck_error(PgLOG.PGLOG['SYSERR'], act)
745
745
  PgLOG.PGLOG['ERR2STD'] = []
746
746
 
747
747
  if cnt > 0:
@@ -2040,7 +2040,7 @@ def restore_backup_savedfiles():
2040
2040
  if 'EM' in PgOPT.params: PgLOG.PGLOG['PRGMSG'] = ""
2041
2041
 
2042
2042
  #
2043
- # cross copy quasar backup files between Globus endpoints rda-quasar and rda-quasar-drdata
2043
+ # cross copy quasar backup files between Globus endpoints gdex-quasar and gdex-quasar-drdata
2044
2044
  #
2045
2045
  def crosscopy_backup_files():
2046
2046
 
@@ -2052,8 +2052,8 @@ def crosscopy_backup_files():
2052
2052
  s = 's' if ALLCNT > 1 else ''
2053
2053
  bidx = chksize = 0
2054
2054
  dflags = {}
2055
- bpoint = 'rda-quasar'
2056
- dpoint = 'rda-quasar-drdata'
2055
+ bpoint = 'gdex-quasar'
2056
+ dpoint = 'gdex-quasar-drdata'
2057
2057
  PgLOG.pglog("Cross Copy {} Quasar file{} of {} ...".format(ALLCNT, s, dsid), PgLOG.WARNLG)
2058
2058
 
2059
2059
  PgOPT.validate_multiple_values(tname, ALLCNT)
@@ -3326,7 +3326,7 @@ def set_one_backfile(i, pgrec, file, flds, type, ndsid = None, record = None):
3326
3326
  record['dsid'] = dsid
3327
3327
  record['uid'] = PgOPT.PGOPT['UID']
3328
3328
  if 'status' not in record: record['status'] = 'A'
3329
- info = PgFile.check_backup_file("/{}/{}".format(dsid, file), 'rda-quasar', 1, PgOPT.PGOPT['emerol'])
3329
+ info = PgFile.check_backup_file("/{}/{}".format(dsid, file), 'gdex-quasar', 1, PgOPT.PGOPT['emerol'])
3330
3330
  if info:
3331
3331
  if not info['isfile']: return PgLOG.pglog(file + ": is a directory", PgOPT.PGOPT['emlerr'])
3332
3332
  record['data_size'] = info['data_size']
@@ -4156,8 +4156,8 @@ def move_backup_files():
4156
4156
  tname = 'bfile'
4157
4157
  dsid = PgOPT.params['DS']
4158
4158
  dcnd = "dsid = '{}'".format(dsid)
4159
- bkend = "rda-quasar"
4160
- drend = 'rda-quasar-drdata'
4159
+ bkend = "gdex-quasar"
4160
+ drend = 'gdex-quasar-drdata'
4161
4161
  bidx = chksize = 0
4162
4162
 
4163
4163
  tmpds = None
@@ -4566,8 +4566,8 @@ def delete_backup_files():
4566
4566
  dsid = PgOPT.params['DS']
4567
4567
  dcnd = "dsid = '{}'".format(dsid)
4568
4568
  brec = {'bid' : 0}
4569
- bkend = "rda-quasar"
4570
- drend = "rda-quasar-drdata"
4569
+ bkend = "gdex-quasar"
4570
+ drend = "gdex-quasar-drdata"
4571
4571
  s = 's' if ALLCNT > 1 else ''
4572
4572
  PgLOG.pglog("Delete {} Backup file{} from {} ...".format(ALLCNT, s, dsid), PgLOG.WARNLG)
4573
4573
 
@@ -1657,7 +1657,6 @@ IMMA_2.4_2007.tar<:>37<:>IMMA<:>Z.TAR<:>D<:>656820224<:>
1657
1657
  [-(LN|LoginName) LoginAccountName]
1658
1658
  [-(DB|Debug) DebugModeInfo]
1659
1659
 
1660
-
1661
1660
  Mode options that can be specified for this action:
1662
1661
  -(MD|MyDataset) - overrides the default specialist and enables RDADB
1663
1662
  information to be set by any one
@@ -2178,8 +2177,8 @@ Information options are used to pass information, one or multiple values, into
2178
2177
  dataset, or begin time of a version control record.
2179
2178
 
2180
2179
  -DA or -AcessFlag, (Alias: -DataAccessFlag, -FileListFlag). flags to show web file
2181
- lists at Dataset and/or top group levels; B-Both Filelists (default value),
2182
- C-Complete File List, F-Faceted Browse or N-No File List.
2180
+ lists at Dataset and/or top group levels; B-Both Filelists,
2181
+ C-Complete File List (default value), F-Faceted Browse or N-No File List.
2183
2182
 
2184
2183
  -DB or -Debug, to turn on debug mode with specified information. This option
2185
2184
  provides up to 3 values, they are Debug Level, debug log file path and debug
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rda_python_dsarch
3
- Version: 1.0.16
3
+ Version: 1.0.19
4
4
  Summary: RDA Python package for utility program dsarch archive RDA data
5
5
  Author-email: Zaihua Ji <zji@ucar.edu>
6
6
  Project-URL: Homepage, https://github.com/NCAR/rda-python-dsarch