|
|
|
|
|
|
|
|
|
|
|
| _resolveDependencies(self,
uJob,
jobSet,
split=False,
resolveDeps=True,
useRepos=True,
resolveSource=None,
keepRequired=True,
criticalUpdateInfo=None) |
source code
|
|
|
|
_processRedirects(self,
csSource,
uJob,
jobSet,
transitiveClosure,
recurse)
Looks for redirects in the change set, and returns a list of
troves which need to be included in the update. |
source code
|
|
|
|
| _mergeGroupChanges(self,
uJob,
primaryJobList,
transitiveClosure,
redirectHack,
recurse,
ineligible,
checkPrimaryPins,
installedPrimaries,
installMissingRefs=False,
updateOnly=False,
respectBranchAffinity=True,
alwaysFollowLocalChanges=False,
removeNotByDefault=False) |
source code
|
|
|
|
| _splitPinnedJob(self,
uJob,
troveSource,
job,
force=False) |
source code
|
|
|
|
|
|
|
_trovesNotFound(self,
notFound)
Raises a nice error message when changeset creation failed to
include all the necessary troves. |
source code
|
|
|
|
| _confirmLaterPackages(self,
findTroveResults) |
source code
|
|
|
|
_updateChangeSet(self,
itemList,
uJob,
keepExisting=None,
recurse=True,
updateMode=True,
sync=False,
useAffinity=True,
checkPrimaryPins=True,
forceJobClosure=False,
ineligible=set([]),
syncChildren=False,
updateOnly=False,
installMissing=False,
removeNotByDefault=False,
exactFlavors=False)
Updates a trove on the local system to the latest version in the
respository that the trove was initially installed from. |
source code
|
|
|
|
|
|
|
| _processJobList(self,
jobList,
updJob,
troveSourceCallback) |
source code
|
|
|
|
| _fullMigrate(self,
itemList,
uJob,
recurse=True) |
source code
|
|
|
list
|
|
|
|
|
|
list of jobs
|
getPrimaryLocalUpdates(self,
troveNames=None)
Returns a set of changes (jobs) that explain how the user is
likely to have modified their system to get it to its current
state. |
source code
|
|
|
|
getChildLocalUpdates(self,
searchSource,
localUpdates,
installedTroves=None,
missingTroves=None)
Given a set of primary local updates (the updates the user is
likely to have typed at the command line, return their child
updates). |
source code
|
|
|
|
| _replaceIncomplete(self,
cs,
localSource,
db,
repos) |
source code
|
|
|
|
loadRestartInfo(self,
restartInfo,
updJob)
Load the restart information (generally happening after installing
a critical update), generated with saveRestartInfo |
source code
|
|
|
|
saveRestartInfo(self,
updJob,
remainingJobs)
Save the restart information after applying a critical update, in
order to continue after restart. |
source code
|
|
|
|
|
|
|
|
|
dict
|
prepareUpdateJob(self,
updJob,
itemList,
keepExisting=False,
recurse=True,
resolveDeps=True,
test=False,
updateByDefault=True,
split=True,
sync=False,
fromChangesets=[],
checkPathConflicts=True,
checkPrimaryPins=True,
resolveRepos=True,
syncChildren=False,
updateOnly=False,
resolveGroupList=None,
installMissing=False,
removeNotByDefault=False,
keepRequired=None,
migrate=False,
criticalUpdateInfo=None,
resolveSource=None,
applyCriticalOnly=False,
restartInfo=None,
exactFlavors=False)
PUBLIC API |
source code
|
|
|
|
applyUpdateJob(self,
updJob,
replaceFiles=None,
tagScript=None,
test=False,
justDatabase=False,
journal=None,
localRollbacks=None,
autoPinList=None,
keepJournal=False,
noRestart=False,
replaceManagedFiles=False,
replaceUnmanagedFiles=False,
replaceModifiedFiles=False,
replaceModifiedConfigFiles=False)
PUBLIC API |
source code
|
|
|
|
recordManifest(self)
Records the list of currently installed troves to a file |
source code
|
|
|
|
_combineJobs(self,
uJob,
splitJob,
criticalJobs)
Coming the dependency-ordered list of individual jobs into large jobs
for update efficiency. |
source code
|
|
|
|
updateChangeSet(self,
itemList,
keepExisting=False,
recurse=True,
resolveDeps=True,
test=False,
updateByDefault=True,
callback=None,
split=True,
sync=False,
fromChangesets=[],
checkPathConflicts=True,
checkPrimaryPins=True,
resolveRepos=True,
syncChildren=False,
updateOnly=False,
resolveGroupList=None,
installMissing=False,
removeNotByDefault=False,
keepRequired=None,
migrate=False,
criticalUpdateInfo=None,
resolveSource=None,
updateJob=None,
exactFlavors=False)
PUBLIC API |
source code
|
|
|
|
|
|
|
|
|
|
_applyCs(self,
cs,
uJob,
removeHints={},
**kwargs) |
source code
|
|
|
|
| _createAllCs(self,
q,
allJobs,
uJob,
cfg,
stopSelf) |
source code
|
|
|
list
|
|
|
|
|
|
|
applyUpdate(self,
uJob,
replaceFiles=False,
tagScript=None,
test=False,
justDatabase=False,
journal=None,
callback=None,
localRollbacks=False,
autoPinList=RegularExpressionList([]),
keepJournal=False)
DEPRECATED, use applyUpdateJob instead. |
source code
|
|
|
|
|
|
|
| _applyUpdateL(self,
uJob,
tagScript=None,
journal=None,
callback=None,
autoPinList=None,
commitFlags=None) |
source code
|
|