Esempio n. 1
0
def plone_local_config():
    """
    Generate local config for plone build
    """

    tasks = bungeni.PloneTasks()
    tasks.local_config()
Esempio n. 2
0
def plone_conf():
    """
    Updates the zope.conf file for the plone installation
    """

    tasks = bungeni.PloneTasks()
    tasks.update_conf()
Esempio n. 3
0
def plone_check():
    """
    Check the plone index for missing packages
    """

    tasks = bungeni.PloneTasks()
    __check(tasks)
Esempio n. 4
0
def plone_build_minimal():
    """
    Run the plone build minimally: only workspaces installed. 
    """

    tasks = bungeni.PloneTasks()
    tasks.build_minimal()
Esempio n. 5
0
def plone_update():
    """
    Update the plone installation 
    """

    tasks = bungeni.PloneTasks()
    tasks.update()
Esempio n. 6
0
def plone_build():
    """
    Run the plone buildout
    """

    tasks = bungeni.PloneTasks()
    tasks.build()
Esempio n. 7
0
def plone_build_opt():
    """
    Run the plone build optimistically (-N) 
    """

    tasks = bungeni.PloneTasks()
    tasks.build_opt()
Esempio n. 8
0
def plone_bootstrap():
    """
    Bootstrap the installation
    """

    tasks = bungeni.PloneTasks()
    tasks.bootstrap_instance()
Esempio n. 9
0
def plone_setup():
    """
    Checkout and bootstrap plone
    """

    tasks = bungeni.PloneTasks()
    tasks.setup()
Esempio n. 10
0
def plone_import_site():
    """
    Import site content for Plone;This will overwrite existing content
    """

    tasks = bungeni.PloneTasks()
    tasks.import_site_content()
Esempio n. 11
0
def plone_update(version="default"):
    """
    Update the plone installation 
    """

    tasks = bungeni.PloneTasks()
    tasks.update(version)
Esempio n. 12
0
def plone_install():
    """
    Setup and build plone
    """

    tasks = bungeni.PloneTasks()
    tasks.setup()
    tasks.local_config()
    tasks.build()
Esempio n. 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()
Esempio n. 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()