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.
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/PKG-INFO +1 -1
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/pyproject.toml +1 -1
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/PgMeta.py +5 -5
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/dsarch.py +8 -8
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/dsarch.usg +2 -3
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/PKG-INFO +1 -1
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/LICENSE +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/MANIFEST.in +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/README.md +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/setup.cfg +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/PgArch.py +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch/__init__.py +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/SOURCES.txt +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/dependency_links.txt +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/entry_points.txt +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/requires.txt +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/top_level.txt +0 -0
- {rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/tests/test_dsarch.py +0 -0
|
@@ -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
|
|
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 = '
|
|
2056
|
-
dpoint = '
|
|
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), '
|
|
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 = "
|
|
4160
|
-
drend = '
|
|
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 = "
|
|
4570
|
-
drend = "
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/requires.txt
RENAMED
|
File without changes
|
{rda_python_dsarch-1.0.16 → rda_python_dsarch-1.0.19}/src/rda_python_dsarch.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|