[Erp5-report] r33131 luke - in /erp5/trunk/buildout: local-eggs/erp5.recipe.bt5checkout/ lo...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 25 18:49:31 CET 2010
Author: luke
Date: Thu Feb 25 18:49:31 2010
New Revision: 33131
URL: http://svn.erp5.org?rev=33131&view=rev
Log:
- group business templates instead of fetching all
- add wrapper around infra.subverion to do easy task in easy way
- reuse buildout macros (<=)
Added:
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/CHANGES.txt (with props)
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/README.txt (with props)
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/setup.py
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/__init__.py
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/__init__.py
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/bt5checkout/
erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/bt5checkout/__init__.py
Modified:
erp5/trunk/buildout/profiles/official.cfg
erp5/trunk/buildout/software-profiles/erp5.cfg
Added: erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/CHANGES.txt
URL: http://svn.erp5.org/erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/CHANGES.txt?rev=33131&view=auto
==============================================================================
--- erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/CHANGES.txt (added)
+++ erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/CHANGES.txt [utf8] Thu Feb 25 18:49:31 2010
@@ -1,0 +1,8 @@
+Changelog
+=========
+
+0.1 (2010-02-25)
+----------------
+
+ - intial version
+ [luke]
Propchange: erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/CHANGES.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/README.txt
URL: http://svn.erp5.org/erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/README.txt?rev=33131&view=auto
==============================================================================
--- erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/README.txt (added)
+++ erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/README.txt [utf8] Thu Feb 25 18:49:31 2010
@@ -1,0 +1,14 @@
+infrae.subversion wrapper for Business Templates
+================================================
+
+Easy way to define which Business Templates to download to which folders.
+
+[infrae]
+urls =
+ http://server/path/SOMETHING/revision SOMETHING
+
+[bt5checkout]
+base = http://server/path/
+revision = revision
+urls =
+ SOMETHING # it will become http://server/path/SOMETHING/revision SOMETHING for infrae.subversion
Propchange: erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/README.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/setup.py
URL: http://svn.erp5.org/erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/setup.py?rev=33131&view=auto
==============================================================================
--- erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/setup.py (added)
+++ erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/setup.py [utf8] Thu Feb 25 18:49:31 2010
@@ -1,0 +1,38 @@
+from setuptools import setup, find_packages
+
+name = "erp5.recipe.bt5checkout"
+version = '0.1'
+
+def read(name):
+ return open(name).read()
+
+long_description=(
+ read('README.txt')
+ + '\n' +
+ read('CHANGES.txt')
+ )
+
+setup(
+ name = name,
+ version = version,
+ author = "Lukasz Nowak",
+ author_email = "luke at nexedi.com",
+ description = "ZC Buildout recipe to fetch easily BT5 from SVN",
+ long_description=long_description,
+ license = "ZPL 2.1",
+ keywords = "zope2 buildout",
+ classifiers=[
+ "License :: OSI Approved :: Zope Public License",
+ "Framework :: Buildout",
+ "Framework :: Zope2",
+ ],
+ packages = find_packages('src'),
+ include_package_data = True,
+ package_dir = {'':'src'},
+ namespace_packages = ['erp5', 'erp5.recipe'],
+ install_requires = [
+ 'infrae.subversion',
+ ],
+ zip_safe=False,
+ entry_points = {'zc.buildout': ['default = %s:Recipe' % name]},
+ )
Added: erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/__init__.py
URL: http://svn.erp5.org/erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/__init__.py?rev=33131&view=auto
==============================================================================
--- erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/__init__.py (added)
+++ erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/__init__.py [utf8] Thu Feb 25 18:49:31 2010
@@ -1,0 +1,6 @@
+# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
+try:
+ __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+ from pkgutil import extend_path
+ __path__ = extend_path(__path__, __name__)
Added: erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/__init__.py
URL: http://svn.erp5.org/erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/__init__.py?rev=33131&view=auto
==============================================================================
--- erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/__init__.py (added)
+++ erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/__init__.py [utf8] Thu Feb 25 18:49:31 2010
@@ -1,0 +1,6 @@
+# See http://peak.telecommunity.com/DevCenter/setuptools#namespace-packages
+try:
+ __import__('pkg_resources').declare_namespace(__name__)
+except ImportError:
+ from pkgutil import extend_path
+ __path__ = extend_path(__path__, __name__)
Added: erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/bt5checkout/__init__.py
URL: http://svn.erp5.org/erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/bt5checkout/__init__.py?rev=33131&view=auto
==============================================================================
--- erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/bt5checkout/__init__.py (added)
+++ erp5/trunk/buildout/local-eggs/erp5.recipe.bt5checkout/src/erp5/recipe/bt5checkout/__init__.py [utf8] Thu Feb 25 18:49:31 2010
@@ -1,0 +1,28 @@
+# -*- coding: utf-8 -*-
+##############################################################################
+#
+# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved.
+# Copyright (c) 2006-2008 Zope Corporation and Contributors.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+
+import infrae.subversion
+
+class Recipe(infrae.subversion.Recipe):
+ def __init__(self, buildout, name, options):
+ base, revision, urls = options['base'], options['revision'], \
+ options['urls']
+ new_url_list = []
+ for url in options['urls'].split('\n'):
+ if url:
+ url = '%s/%s/%s %s' % (base, url, revision, url)
+ new_url_list.append(url)
+ options['urls'] = '\n'.join(new_url_list)
+ infrae.subversion.Recipe.__init__(self, buildout, name, options)
Modified: erp5/trunk/buildout/profiles/official.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/profiles/official.cfg?rev=33131&r1=33130&r2=33131&view=diff
==============================================================================
--- erp5/trunk/buildout/profiles/official.cfg [utf8] (original)
+++ erp5/trunk/buildout/profiles/official.cfg [utf8] Thu Feb 25 18:49:31 2010
@@ -38,6 +38,15 @@
products-erp5-development
products-other
bt5-erp5
+ bt5-erp5-core
+ bt5-erp5-ui-test
+ #bt5-erp5-test
+ #bt5-erp5-compatibility
+ #bt5-erp5-tiolive
+ #bt5-erp5-test
+ #bt5-erp5-ui-test
+ #bt5-erp5-l10n
+ #bt5-erp5-extra
openoffice-bin
oood
pythonbin
Modified: erp5/trunk/buildout/software-profiles/erp5.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/erp5.cfg?rev=33131&r1=33130&r2=33131&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/erp5.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/erp5.cfg [utf8] Thu Feb 25 18:49:31 2010
@@ -7,18 +7,174 @@
products-deps
products-erp5
bt5-erp5
-
-[bt5-erp5]
-recipe = infrae.subversion
+ bt5-erp5-core
+ bt5-erp5-ui-test
+ #bt5-erp5-test
+ #bt5-erp5-compatibility
+ #bt5-erp5-tiolive
+ #bt5-erp5-test
+ #bt5-erp5-ui-test
+ #bt5-erp5-l10n
+ #bt5-erp5-extra
+
+develop +=
+ local-eggs/erp5.recipe.bt5checkout
+
+[bt5-erp5-template]
+recipe = erp5.recipe.bt5checkout
base = https://svn.erp5.org/repos/public/erp5/trunk/bt5
ignore_verification = true
revision = ${versions:erp5_bt5_revision}
-public_bootstrap = ${products-erp5:base}/ERP5/bootstrap
-urls =
- ${:public_bootstrap}/erp5_core/${:revision} erp5_core
- ${:public_bootstrap}/erp5_mysql_innodb_catalog/${:revision} erp5_mysql_innodb_catalog
- ${:public_bootstrap}/erp5_xhtml_style/${:revision} erp5_xhtml_style
- ${:base}/${:revision} .
+
+[bt5-erp5-core]
+<= bt5-erp5-template
+base = ${products-erp5:base}/ERP5/bootstrap
+urls =
+ erp5_core
+ erp5_mysql_innodb_catalog
+ erp5_xhtml_style
+
+[bt5-erp5-compatibility]
+<= bt5-erp5-template
+urls =
+ erp5_open_trade_legacy_tax_system
+ erp5_legacy_tax_system
+ erp5_discount_resource
+ erp5_tax_resource
+
+[bt5-erp5-extra]
+# additional, experimental, obsoleted
+<= bt5-erp5-template
+urls =
+ erp5_ingestion_mysql_innodb_catalog
+ delivery_patch
+ erp5_auto_logout
+ erp5_bpm
+ erp5_csv_style
+ erp5_simulation
+
+[bt5-erp5]
+<= bt5-erp5-template
+urls =
+ erp5_trade
+ erp5_utils
+ erp5_web
+ erp5_web_blog
+ erp5_web_multiflex5_theme
+ erp5_wizard
+ erp5_worklist_sql
+ erp5_payroll
+ erp5_pdf_editor
+ erp5_pdf_style
+ erp5_pdm
+ erp5_popup_ui
+ erp5_project
+ erp5_project_mysql_innodb_catalog
+ erp5_public_accounting_budget
+ erp5_publication
+ erp5_registry_ohada
+ erp5_rss_reader
+ erp5_rss_style
+ erp5_simplified_invoicing
+ erp5_open_trade
+ erp5_mobile
+ erp5_mrp
+ erp5_ods_style
+ erp5_odt_style
+ erp5_ooo_import
+ erp5_invoicing
+ erp5_item
+ erp5_knowledge_pad
+ erp5_ldap_catalog
+ erp5_deferred_style
+ erp5_discussion
+ erp5_egov
+ erp5_egov_mysql_innodb_catalog
+ erp5_forge
+ erp5_forge_release
+ erp5_hr
+ erp5_ical_style
+ erp5_immobilisation
+ erp5_ingestion
+ erp5_dms
+ erp5_documentation
+ erp5_administration
+ erp5_advanced_invoicing
+ erp5_apparel
+ erp5_archive
+ erp5_accounting
+ erp5_banking_cash
+ erp5_banking_check
+ erp5_banking_core
+ erp5_banking_inventory
+ erp5_barcode
+ erp5_base
+ erp5_budget
+ erp5_calendar
+ erp5_commerce
+ erp5_computer_immobilisation
+ erp5_consulting
+ erp5_content_translation
+ erp5_social_contracts
+ erp5_syncml
+ erp5_crm
+
+[bt5-erp5-tiolive]
+<= bt5-erp5-template
+urls =
+ tiolive_base
+
+[bt5-erp5-test]
+<= bt5-erp5-template
+urls =
+ test_accounting
+ test_accounting_fr
+ test_accounting_in
+ test_accounting_pl
+ test_core
+ test_html_style
+ test_web
+ test_xhtml_style
+ erp5_dummy_movement
+
+[bt5-erp5-ui-test]
+<= bt5-erp5-template
+urls =
+ erp5_accounting_ui_test
+ erp5_dms_ui_test
+ erp5_mobile_ui_test
+ erp5_payroll_ui_test
+ erp5_pdm_ui_test
+ erp5_ui_test
+ erp5_ui_test_core
+ erp5_web_ui_test
+
+[bt5-erp5-l10n]
+<= bt5-erp5-template
+urls =
+ erp5_accounting_l10n_br_extend
+ erp5_accounting_l10n_br_sme
+ erp5_accounting_l10n_fr
+ erp5_accounting_l10n_fr_m14
+ erp5_accounting_l10n_fr_m4
+ erp5_accounting_l10n_fr_pca
+ erp5_accounting_l10n_ifrs
+ erp5_accounting_l10n_in
+ erp5_accounting_l10n_jp
+ erp5_accounting_l10n_mt
+ erp5_accounting_l10n_pl
+ erp5_accounting_l10n_pl_default_gap
+ erp5_accounting_l10n_sn
+ erp5_egov_l10n_fr
+ erp5_hr_l10n_jp
+ erp5_l10n_fr
+ erp5_l10n_ja
+ erp5_l10n_ko
+ erp5_l10n_pl_PL
+ erp5_l10n_pt-BR
+ erp5_payroll_l10n_fr
+ erp5_payroll_l10n_jp
+ erp5_registry_ohada_l10n_fr
[cmf15]
recipe = plone.recipe.distros
More information about the Erp5-report
mailing list