def portal_check(): """ Check missing packages for portal.buildout """ tasks = bungeni.PortalTasks() __check(tasks)
def portal_setup(): """ Checkout and bootstrap portal source """ tasks = bungeni.PortalTasks() tasks.setup()
def portal_build_opt(): """ Build the portal with (-N) """ tasks = bungeni.PortalTasks() tasks.build_opt()
def portal_bootstrap(): """ Bootstrap the installation """ tasks = bungeni.PortalTasks() tasks.bootstrap_instance()
def portal_build(): """ Build the portal """ tasks = bungeni.PortalTasks() tasks.build()
def portal_local_config(): """ Generate a local buildout configuration. This is relevant only if you are using a local cache """ tasks = bungeni.PortalTasks() tasks.local_config()
def portal_install(): """ Setup and builds the portal """ tasks = bungeni.PortalTasks() tasks.setup() tasks.local_config() tasks.build() enable_country_theme()
def portal_install(): """ Setup and builds the portal Revision used is based on the 'release' parameter in setup.ini """ tasks = bungeni.PortalTasks() tasks.setup() tasks.local_config() tasks.build() enable_demo_theme()
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()
def portal_update(): """ Update the portal """ tasks = bungeni.PortalTasks() tasks.update()
def portal_update(version="default"): """ Update the portal """ tasks = bungeni.PortalTasks() tasks.update(version)