Ft.Server.Server.Commands.Init

Modules

AclConstants  PathImp  Uri  sha 
ClAuthenticate  RepositoryImp  XmlLib  sys 
ConfigFile  ResourceTypes  getpass  time 
Drivers  SCore  glob   
InstallUtil  Schema  os   
LogUtil  Serialize  posixpath   

Classes

__init__(self, destroyRepo, users)
commit(self, driver)
getRepo(self, userName, password, properties)
install(self, driver, baseDir, quiet, confirm, do_update=0)
rollback(self, driver)
setIndicator(self)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Commands.Init'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
coreResources = [<Container to be installed at ftss id=0x107fd810>, <Container to be installed at ftss/users id=0x107ac440>, <Container to be installed at ftss/groups id=0x107b6850>]
useIndicator = 0
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
users = []
class Error

Data and other non-method functions defined here:

ALREADY_GROUP_MEMBER = 3000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
BROKEN_ALIAS = 30
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_FILE_MISSING = 14
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_INVALID_CORE_ID = 15
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_INVALID_REPOSITORY = 16
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_INVALID_VALUE = 13
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_MISSING_PROPERTY = 11
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_MULTIPLE_PROPERTIES = 12
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
CONFIG_NOT_FOUND = 10
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
DRIVER_UNAVAILABLE = 18
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
EXTENSION_MISSING_REQUIRED_ATTRIBUTE = 2500
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
GROUP_EXISTS = 35
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INTERNAL_ERROR = 1
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_ACL_IDENT = 33
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_LOGIN = 22
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_PATH = 20
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_SESSION = 4
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
INVALID_XML = 1000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
LOG_URIREF_MISSING = 60
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NOT_SUPPORTED = 51
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
NO_REMOTE_REPO_ACCESS = 28
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
OBJECT_DELETED = 31
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PATH_EXISTS = 23
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
PERMISSION_DENIED = 32
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RELATIVE_PATH_FOR_FTSS_URI = 27
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RELATIVE_PATH_IN_FTSS_URI = 26
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
RESOURCE_NOT_FOUND = 29
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
SWISH_NOT_SUPPORTED = 2000
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TRANSACTION_IN_PROGRESS = 2
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
TRANSACTION_NOT_IN_PROGRESS = 3
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNABLE_TO_INITALIZE_REPO = 100
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_DRIVER_ERROR = 17
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_PATH = 21
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_RESOURCE_TYPE = 24
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_RPC_COMMAND = 52
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_SERVER = 50
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNKNOWN_VALIDATION_TYPE = 1010
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
UNSUPPORTED_FTSS_URI_SCHEME = 25
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
USER_EXISTS = 34
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
USER_XSLT_DOCDEF_EXCEPTION = 42
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
VALIDATION_ERROR = 1001
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XML_PARSE_EXCEPTION = 40
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
XSLT_PARSE_EXCEPTION = 41
int(x[, base]) -> integer

Convert a string or number to an integer, if possible. A floating point
argument will be truncated towards zero (this does not include a string
representation of a floating point number!) When converting a string, use
the optional base. It is an error to supply a base when converting a
non-string.
__doc__ = None
__module__ = 'Ft.Server.Server.MessageSource'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__init__(self, path, acl, owner, imt, docDef, command, cmdPath)
_getContent(self)
buildOptionDoc(self, option, command)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Commands.Init'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class FtServerBaseException(exceptions.Exception)
__init__(self, errorCode, **args)
__repr__(self)
__str__(self)

Data and other non-method functions defined here:

MessageSource = None
__doc__ = None
__module__ = 'Ft.Server'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class FtServerServerException(Ft.Server.FtServerBaseException)

Data and other non-method functions defined here:

MessageSource = <module 'Ft.Server.Server.MessageSource' from 'b...linux-ppc-2.2/Ft/Server/Server/MessageSource.py'>
__doc__ = None
__module__ = 'Ft.Server.Server'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
class OtherProduct
__init__(self, baseProduct, users)
commit(self, repo)
getRepo(self, userName, password, properties)
install(self, repo, baseDir, quiet, confirm, do_update=0)
rollback(self, repo)

Data and other non-method functions defined here:

__doc__ = None
__module__ = 'Ft.Server.Server.Commands.Init'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

Functions

BuildCommandDocs(command, baseName, acl)
BuildCommandList()
BuildDataProductList()
BuildDocList(do_update=0)
BuildProductList(components, destroyRepo, users, do_update=0)
BuildServerList()
CommandLineInit(options, args)
DoInit(properties, userName, password, components, confirm=0, destroyRepo=0, users=None, quiet=0, do_update=0)
GetColumns(stream=<open file '<stdout>', mode 'w' at 0x100fe970>)
Register()
VerifyComponent(comp)
Wrap(text, width)

Data

DATADIR = '/home/bossekr/src/4suite/python-4suite-0.99cvs20040727/build/share'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
DOCDIR = '/usr/share/doc/python-4suite-doc'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
XLINK_NAMESPACE = u'http://www.w3.org/1999/xlink'
unicode(string [, encoding[, errors]]) -> object

Create a new Unicode object from the given encoded string.
encoding defaults to the current default string encoding and
errors, defining the error handling, to 'strict'.
__file__ = 'build/lib.linux-ppc-2.2/Ft/Server/Server/Commands/Init.py'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
__name__ = 'Ft.Server.Server.Commands.Init'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
g_allComponentNames = ['data', 'demos', 'commands', 'dashboard', 'docs', 'servers']
g_allComponents = {'Commands': '4ss and 4ss_manager commands and documentation. ... be able to use the 4ss and 4ss commandline tools', 'Dashboard': 'The web-based control panel for 4Suite', 'Data': 'Commonly used 4Suite data and icons (required; must be first component installed)', 'Demos': 'The default 4Suite Repository Demonstration applications and the server to access them', 'Docs': 'All 4Suite documentation', 'Servers': 'The default FtRpc and Ftp Server'}
g_componentHelp = "Specify which components to add/update in the re...d);\n'Servers' - The default FtRpc and Ftp Server."
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
name = 'Servers'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
value = 'The default FtRpc and Ftp Server'
str(object) -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.