Пример #1
0
def plone_local_config():
    """
    Generate local config for plone build
    """

    tasks = bungeni.PloneTasks()
    tasks.local_config()
Пример #2
0
def plone_conf():
    """
    Updates the zope.conf file for the plone installation
    """

    tasks = bungeni.PloneTasks()
    tasks.update_conf()
Пример #3
0
def plone_check():
    """
    Check the plone index for missing packages
    """

    tasks = bungeni.PloneTasks()
    __check(tasks)
Пример #4
0
def plone_build_minimal():
    """
    Run the plone build minimally: only workspaces installed. 
    """

    tasks = bungeni.PloneTasks()
    tasks.build_minimal()
Пример #5
0
def plone_update():
    """
    Update the plone installation 
    """

    tasks = bungeni.PloneTasks()
    tasks.update()
Пример #6
0
def plone_build():
    """
    Run the plone buildout
    """

    tasks = bungeni.PloneTasks()
    tasks.build()
Пример #7
0
def plone_build_opt():
    """
    Run the plone build optimistically (-N) 
    """

    tasks = bungeni.PloneTasks()
    tasks.build_opt()
Пример #8
0
def plone_bootstrap():
    """
    Bootstrap the installation
    """

    tasks = bungeni.PloneTasks()
    tasks.bootstrap_instance()
Пример #9
0
def plone_setup():
    """
    Checkout and bootstrap plone
    """

    tasks = bungeni.PloneTasks()
    tasks.setup()
Пример #10
0
def plone_import_site():
    """
    Import site content for Plone;This will overwrite existing content
    """

    tasks = bungeni.PloneTasks()
    tasks.import_site_content()
Пример #11
0
def plone_update(version="default"):
    """
    Update the plone installation 
    """

    tasks = bungeni.PloneTasks()
    tasks.update(version)
Пример #12
0
def plone_install():
    """
    Setup and build plone
    """

    tasks = bungeni.PloneTasks()
    tasks.setup()
    tasks.local_config()
    tasks.build()
Пример #13
0
def plone_install():
    """
    Setup and build plone
    Revision used is based on the 'release' parameter in setup.ini
    """

    tasks = bungeni.PloneTasks()
    tasks.setup()
    tasks.local_config()
    tasks.build()
Пример #14
0
def config_ini(which_ini):
    """
    Config deployment ini files : bungeni, plone, portal
    """

    tasks = None
    if which_ini == "bungeni":
        tasks = bungeni.BungeniTasks()
    elif which_ini == "plone":
        tasks = bungeni.PloneTasks()
    elif which_ini == "portal":
        tasks = bungeni.PortalTasks()
    else:
        abort("Nothing to do!option must be one of: bungeni, plone or portal")
        return
    tasks.deploy_ini()
    tasks.update_deployini()