Example #1
0
def plone_local_config():
    """
    Generate local config for plone build
    """

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

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

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

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

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

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

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

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

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

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

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

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