Top level function to invoke ingests.
|
|
__init__(self,
info=False,
curator='rsc',
database='WSA',
serverNames=set(['ini', 'menkaure', 'neferefre', 'sahure', 'shepseskaf', '...,
janet=False,
cuNums=False,
casuDisks=False,
dateRegExpStr=False,
comment='A useful comment')
Initialises data members for all database state flags and details for
this curation session. |
source code
|
|
|
|
|
|
dict(int:set(str))
|
|
|
|
|
|
list(str)
|
|
|
dict(str:list(str))
|
|
|
list((st, str))
|
|
|
dict(str:dict(str:list))
|
|
|
dict(str:float)
|
|
|
list(str)
|
|
|
list(str)
|
|
|
list(str)
|
|
|
dict(str:str)
|
|
|
|
| runContinuousIngests(self,
cuNums,
curator,
comment) |
source code
|
|
|
|
|
|
|
deleteFiles(self,
serverName,
filesPath,
isTest,
archive,
verbose=False)
Remove files from given server and path. |
source code
|
|
|
|
runMonitor(self,
semester,
excludedCUs,
remStats,
versions)
Run the createCalendar script to update the monitor pages. |
source code
|
|
|
|
svnupdate(self,
updateDir,
serverList)
Update sandboxes on servers given in the serverList. |
source code
|
|
|
|
assertComp(self,
sandbox,
serverList)
Assert that the compilation of sandboxes on servers is up-to-date. |
source code
|
|
|
|
|
|
list(str), list(str)
|
|
|
list(str), list(str)
|
|
|
list(str), list(str)
|
|
|
list(str), list(str)
|
|
|
list(str), list(str)
|
|
|
|
runCUs(self,
cuRunDict)
Print out commands to run the CUs on the servers. |
source code
|
|
|
|
|
|
|
|
|
Inherited from wsatools.DbConnect.IngCuSession.IngCuSession:
__del__,
attributesFromArguments,
createFileList,
createLogFileName,
createMonthlyDetSchema,
createWorkingDir,
getDetTable,
getErrorFileName,
getMultiframeIDs,
getProcessOrder,
getProgramIDs,
makeSysCmd,
removeWorkingDir,
runSysCmd,
setupDetectionTable,
testForProgs,
translateProgID,
writeErrorFiles,
writeIngestList
Inherited from wsatools.DbConnect.IngCuSession.IngCuSession (private):
_connectToDb,
_createProgrammeTranslation,
_disconnectFromDb,
_getNextCuEventID,
_getNextID,
_historyCommentPrefix,
_onException,
_onRun,
_prepareDbLock,
_updateACHComment,
_updateArchiveCurationHistory,
_updateProgrammeCurationHistory
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
_defServerNames = set(['ini', 'menkaure', 'neferefre', 'sahure...
|
|
|
_defCuNums = [0, 1, 2, 3, 4]
|
|
|
_defDateRegExpStr = '20[01][90123].*'
|
|
|
builderloc = 'DataBuilder.py'
|
|
|
ingesterloc = ['IngestCUFiles.py', 'DataDaemon.py -I']
|
|
|
otherculoc = 'cu'
|
|
|
othercodeloc = ['AutoCurate.py', 'FinaliseFlatFileIngest.py', ...
|
|
|
casuDisk = None
hash(x)
|
|
|
maxLoad = 3.0
|
|
|
fullCommand = False
hash(x)
|
|
|
reqWorkDir = False
hash(x)
|
|
|
waitMins = 10
|
|
|
force = False
hash(x)
|
|
|
inclTestDb = False
hash(x)
|
|
|
omitObjIDUpdate = False
hash(x)
|
|
Inherited from wsatools.DbConnect.IngCuSession.IngCuSession:
beginDateDef,
endDateDef,
keepWorkDir,
sysc
|