|
|
__init__(self,
cfg,
basicUrl,
db=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
callWrapper(self,
protocol,
port,
methodname,
authToken,
orderedArgs,
kwArgs,
remoteIp=None,
rawUrl=None,
isSecure=False)
Returns a tuple of (Exception, result). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| addAcl(self,
authToken,
clientVersion,
role,
trovePattern,
label,
write=False,
remove=False) |
source code
|
|
|
|
|
|
|
| editAcl(self,
authToken,
clientVersion,
role,
oldTrovePattern,
oldLabel,
trovePattern,
label,
write=False,
canRemove=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| updateMetadata(self,
authToken,
clientVersion,
troveName,
branch,
shortDesc,
longDesc,
urls,
categories,
licenses,
source,
language) |
source code
|
|
|
|
|
|
|
|
|
|
| _setupTroveFilter(self,
cu,
troveSpecs,
flavorIndices) |
source code
|
|
|
|
|
|
|
| _getTroveList(self,
authToken,
clientVersion,
troveSpecs,
versionType=0,
latestFilter=1,
flavorFilter=2,
withFlavors=False,
troveTypes=1) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| _getTroveVerInfoByVer(self,
authToken,
clientVersion,
troveSpecs,
bestFlavor,
versionType,
latestFilter,
troveTypes=1) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| _checkTrovePermission(self,
authToken,
n,
v,
f) |
source code
|
|
|
|
| _checkPermissions(self,
authToken,
chgSetList) |
source code
|
|
|
|
|
|
|
| _getChangeSetObj(self,
authToken,
chgSetList,
recurse,
withFiles,
withFileContents,
excludeAutoSource) |
source code
|
|
|
|
| _createChangeSet(self,
path,
jobList,
**kwargs) |
source code
|
|
|
|
| getChangeSet(self,
authToken,
clientVersion,
chgSetList,
recurse,
withFiles,
withFileContents,
excludeAutoSource,
changeSetVersion=None,
mirrorMode=False,
infoOnly=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| _checkCommitPermissions(self,
authToken,
verList,
mirror,
hidden) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
| _commitChangeSet(self,
authToken,
cs,
mirror=False,
hidden=False) |
source code
|
|
|
|
| _getFileStreams(self,
authToken,
fileIdGen) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
| _lookupTroves(self,
authToken,
troveList,
hidden=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getConaryUrl(self,
authtoken,
clientVersion,
revStr,
flavorStr)
Returns a url to a downloadable changeset for the conary client
that is guaranteed to work with this server's version. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| _setTroveInfo(self,
authToken,
clientVersion,
infoList,
requireMirror=False) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getTroveInfo(self,
authToken,
clientVersion,
infoType,
troveList)
we return tuples (present, data) to aid netclient in making its
decoding decisions present values are: -2 = insufficient permission
-1 = trovemissing 0 = valuemissing 1 = valueattached |
source code
|
|
|
|
|
|
|
|
|
|
checkVersion(self,
authToken,
clientVersion)
Check the repository's protocol version to see that it's
compatible with the client |
source code
|
|
|
Inherited from xmlshims.NetworkConvertors:
freezeVersion,
fromBranch,
fromDepSet,
fromEntitlement,
fromFile,
fromFileAsStream,
fromFileId,
fromFlavor,
fromLabel,
fromPath,
fromPathId,
fromTroveTup,
fromVersion,
thawVersion,
toBranch,
toDepSet,
toEntitlement,
toFile,
toFileAsStream,
toFileId,
toFlavor,
toLabel,
toPath,
toPathId,
toTroveTup,
toVersion
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|