def post_renderer(configurator): """ """ _update_package_configure_zcml(configurator) _update_behaviors_configure_zcml(configurator) git_commit( configurator, 'Add behavior: {0}'.format(configurator.variables['behavior_name'], ), ) behavior_name = '{0}.behaviors.{1}.{2}'.format( configurator.variables['package.dottedname'], configurator.variables['behavior_name_normalized'], configurator.variables['behavior_name_klass'], ) behavior_name_short = '{0}.{1}'.format( configurator.variables['package.dottedname'], configurator.variables['behavior_name_normalized'], ) echo( '===================================================\n' '=> Sucessfully added: {0} template. \\o/ \n\n'.format( configurator.variables['template_id'], ), 'info', ) echo( 'You can lookup your behavior by the name:\n "{0}"\n' 'or by the shorter version:\n "{1}"\n'.format( behavior_name, behavior_name_short, ), 'info', )
def post_renderer(configurator): """ """ _update_package_configure_zcml(configurator) _update_behaviors_configure_zcml(configurator) git_commit( configurator, 'Add behavior: {0}'.format( configurator.variables['behavior_name'], ), ) behavior_name = '{0}.behaviors.{1}.{2}'.format( configurator.variables['package.dottedname'], configurator.variables['behavior_name_normalized'], configurator.variables['behavior_name_klass'], ) behavior_name_short = '{0}.{1}'.format( configurator.variables['package.dottedname'], configurator.variables['behavior_name_normalized'], ) echo( '===================================================\n' '=> Sucessfully added: {0} template. \\o/ \n\n'.format( configurator.variables['template_id'], ), 'info', ) echo( 'You can lookup your behavior by the name:\n "{0}"\n' 'or by the shorter version:\n "{1}"\n'.format( behavior_name, behavior_name_short, ), 'info', )
def post_renderer(configurator): """""" _update_configure_zcml(configurator) _update_setup_py(configurator) _update_metadata_xml(configurator) git_commit( configurator, "Add theme: {0}".format(configurator.variables["theme.name"]) )
def post_render(configurator): _cleanup_package(configurator) git_init(configurator) git_commit( configurator, 'Create addon: {0}'.format( configurator.variables['package.dottedname'], ), )
def post_renderer(configurator): """Post rendering.""" _update_configure_zcml(configurator) git_commit( configurator, 'Add Svelte app: in svelte_apps/{0}'.format( configurator.variables['svelte_app_name'], ), )
def post_renderer(configurator): """Post rendering.""" _update_package_configure_zcml(configurator) _update_indexers_configure_zcml(configurator) _remove_unwanted_files(configurator) git_commit( configurator, 'Add indexer: {0}'.format(configurator.variables['indexer_name'], ), )
def post_renderer(configurator): """Post rendering.""" _update_configure_zcml(configurator) _update_views_configure_zcml(configurator) _delete_unwanted_files(configurator) git_commit( configurator, 'Add view: {0}'.format(configurator.variables['view_name'], ), )
def post_render(configurator): _cleanup_package(configurator) if configurator.variables.get('package.git.init'): git_init(configurator) git_commit( configurator, 'Create theme_package: {0}'.format( configurator.variables['package.dottedname'], ), )
def post_renderer(configurator): """""" _update_configure_zcml(configurator) _update_setup_py(configurator) _update_metadata_xml(configurator) git_commit( configurator, 'Add theme: {0}'.format(configurator.variables['theme.name']), )
def post_renderer(configurator): """Post rendering.""" _update_configure_zcml(configurator) _update_portlets_configure_zcml(configurator) _update_portlets_xml(configurator) _delete_unnecessary_files(configurator) git_commit( configurator, u'Add portlet: {0}'.format(configurator.variables['portlet_name'], ), )
def post_renderer(configurator): """Post rendering.""" _update_package_configure_zcml(configurator) _update_upgrades_configure_zcml(configurator) _write_dest_version(configurator) _remove_unwanted_files(configurator) git_commit( configurator, 'Add upgrade_step: {0}'.format( configurator.variables['upgrade_step_title'], ), )
def post_renderer(configurator): """Post rendering.""" _update_package_configure_zcml(configurator) _update_api_configure_zcml(configurator) _update_services_configure_zcml(configurator) # _remove_unwanted_files(configurator) git_commit( configurator, 'Add restapi_service: {0}'.format( configurator.variables['service_name'], ), )
def post_renderer(configurator): """Post rendering.""" _update_configure_zcml(configurator) _update_portlets_configure_zcml(configurator) _update_portlets_xml(configurator) _delete_unnecessary_files(configurator) git_commit( configurator, u'Add portlet: {0}'.format( configurator.variables['portlet_name'], ), )
def post_renderer(configurator): """Post rendering.""" _update_types_xml(configurator) _update_parent_types_fti_xml(configurator) _update_permissions_zcml(configurator) _update_rolemap_xml(configurator) _update_metadata_xml(configurator) _update_setup_py(configurator) git_commit( configurator, 'Add content_type: {0}'.format( configurator.variables['dexterity_type_name'], ), )
def post_renderer(configurator): """Post rendering.""" _update_package_configure_zcml(configurator) _update_api_configure_zcml(configurator) _update_services_configure_zcml(configurator) _update_metadata_xml(configurator) _remove_unwanted_files(configurator) git_commit( configurator, 'Add restapi_service: {0}'.format( configurator.variables['service_name'], ), )
def post_renderer(configurator): """""" _update_package_configure_zcml(configurator) _update_vocabularies_configure_zcml(configurator) git_commit( configurator, 'Add vocabulary: {0}'.format( configurator.variables['vocabulary_name'], ), ) registered_vocabulary = '{0}.{1}'.format( configurator.variables['package.dottedname'], configurator.variables['vocabulary_name_normalized'], ) echo( '------------------------\nSucessfully added: {0} template.\n'.format( configurator.variables['template_id'], ), ) echo( 'You can lookup your vocabulary by the name: {0}\n'.format( registered_vocabulary, ), 'info', )
def post_renderer(configurator): _update_setup_py(configurator) _update_configure_zcml(configurator) git_commit(configurator, "Added migration")
def post_renderer(configurator): fix_process_manager(configurator) git_init_status = git_init(configurator) name = os.path.basename(configurator.target_directory) if git_init_status: git_commit(configurator, 'Create Plone buildout: {0}'.format(name))