4Suite repository init command (4ss_manager init)
Copyright 2005 Fourthought, Inc. (USA).
Detailed license and copyright information: http://4suite.org/COPYRIGHT
Project home, documentation, distributions: http://4suite.org/
Classes
- class CoreProduct(Ft.Server.Common.Install.InstallUtil.Product)
-
Methods
- __init__(self, destroyRepo, users)
- Overrides: __init__ from class Product
- commit(self, driver)
- getRepo(self, userName, password, properties)
-
For the core product, our repo is the driver
- install(self, driver, basePath, quiet, confirm, do_update=False)
-
Perform a few extra installation features.
- Overrides: install from class Product
- rollback(self, driver)
- setIndicator(self)
- Overrides: setIndicator from class Product
Members
- coreResources = [<Container to be installed at ftss id=0x41aeaf8c>, <Container to be installed at ftss/users id=0x41a71b2c>, <Container to be installed at ftss/groups id=0x41a71b6c>]
- users = []
- class ExtendedCommand(Ft.Server.Common.Install.InstallUtil.Command)
-
Methods
- __init__(self, path, acl, owner, imt, docDef, command, cmdPath)
- Overrides: __init__ from class Command
- buildOptionDoc(self, option, command)
- class OtherProduct
-
Methods
- __init__(self, baseProduct, users)
- commit(self, repo)
- getRepo(self, userName, password, properties)
- install(self, repo, basePath, quiet, confirm, do_update=False)
- rollback(self, repo)
Functions
- BuildCommandDocs(command, baseName, acl)
- BuildCommandProduct()
- BuildDataProduct()
- BuildDocProduct(do_update=False)
- BuildProductList(components, destroyRepo, users, do_update=False)
- BuildServerProduct()
- CommandLineInit(options, args)
-
Init function called from the command line tool.
Parse options and args, do validation, and then
call the common Initialization routines.
- DoInit(properties, userName, password, components, confirm=False, destroyRepo=False, users=None, quiet=False, do_update=False)
-
Do the actual initialization.
Iterate over the components and do each one.
- Register()
- VerifyComponent(comp)
Globals
- FTSERVER_NAMESPACE = 'http://xmlns.4suite.org/reserved'
- XLINK_NAMESPACE = u'http://www.w3.org/1999/xlink'
- c = 'Data'
- g_allComponentNames = ['data', 'commands', 'docs', 'servers', 'demos', 'dashboard']
- g_allComponents = {'Commands': '4ss and 4ss_manager commands and documentation; ...o use the 4ss and 4ss_manager command-line 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...s (required; must be first component installed).'
- generators = _Feature((2, 2, 0, 'alpha', 1), (2, 3, 0, 'final', 0), 4096)
- name = 'Data'
- value = 'Commonly used 4Suite data and icons (required; must be first component installed)'