An error occurred fetching the project authors.
- 24 Sep, 2014 1 commit
-
-
Klaus Wölfel authored
TemplateTool.upgradeSite: allow to define automatic catalog updating while keeping standard behaviour. fixes promises (full_text_table not available). Default behaviour of upgradeSite is not changed. Updating catalog should be handled outside upgradeSite. The update_catalog argument is only introduced in this commit so that it can be propagated to updateBusinessTemplateFromUrl in case one does not know which business templates need catalog updating.
-
- 17 Sep, 2014 1 commit
-
-
Gabriel Monnerat authored
Use _download_local instead of _importBT because this method was removed
-
- 11 Sep, 2014 5 commits
-
-
Julien Muchembled authored
Because on DVCS with branches, history is not always linear, we must stop using increasing integer for revisions because they cause too many conflicts and a higher revision number does not necessarily means the a BT newer. They're now a cryptographic hash of all the contents of the Business Template, and they're computed automatically: - by genbt5list - at download - at building (by default) - at export
-
Gabriel Monnerat authored
Add test to simulate the issue with the method TemplateTool.installBusinessTemplateListFromRepository Using the method try to install Business Templates that are already installed, the Business Templates is uploaded on ERP5 but not used. It creates a lot of garbage because in the end you have many bt5s not installed. (cherry picked from commit 28e0f0a2)
-
Arnaud Fontaine authored
Considering erp5_configurator_ung depending on erp5_configurator which in turn depends on erp5_workflow, if erp5_workflow and erp5_configurator_ung are specifically added to the list of bt5 installed with depends, then erp5_workflow ended up being installed *after* erp5_configurator. (cherry picked from commit 0101c3a0)
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 04 Sep, 2014 1 commit
-
-
Gabriel Monnerat authored
-
- 31 Mar, 2014 3 commits
-
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
Revert "TemplateTool: keep_bt5_id_set can't be None because the is expecting one set or list at least." This reverts commit b72cc56a.
-
Gabriel Monnerat authored
-
- 24 Mar, 2014 1 commit
-
-
Gabriel Monnerat authored
-
- 16 Mar, 2014 1 commit
-
-
Gabriel Monnerat authored
Add test to simulate the issue with the method TemplateTool.installBusinessTemplateListFromRepository Using the method try to install Business Templates that are already installed, the Business Templates is uploaded on ERP5 but not used. It creates a lot of garbage because in the end you have many bt5s not installed.
-
- 16 Jan, 2014 2 commits
-
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
- 10 Sep, 2013 2 commits
-
-
Arnaud Fontaine authored
ZODB Components: Revert 'Allow to execute runUnitTest for bt5 Test Components' (a771dca4) to fix tests bootstrap. The new syntax to load ZODB Tests Components is: runUnitTest BT_TITLE:TEST_NAME That commit was too adhoc as it was relying upon filesystem to load Tests Components and was not behaving like any other Components (versions was not available and other Components were not importable). At the end, it would have meant that a Test Component ran through runUnitTest and Live Tests (in ERP5 itself) would have behaved differently, thus instead: 1/ Install BT_TITLE dependencies and its test dependencies (new bt property to specify bt to be installed only for tests on a fresh instance). 2/ The site is loaded. 3/ Load the test by importing it like any other Components.
-
Arnaud Fontaine authored
Considering erp5_configurator_ung depending on erp5_configurator which in turn depends on erp5_workflow, if erp5_workflow and erp5_configurator_ung are specifically added to the list of bt5 installed with depends, then erp5_workflow ended up being installed *after* erp5_configurator.
-
- 19 Aug, 2013 2 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 24 Jun, 2013 2 commits
-
-
Julien Muchembled authored
In particular, 'transactional_cached' decorator was a noop the way it was used. This reapplies commit d806bdae, along with a fix to test_resolveBusinessTemplateListDependency.
-
Sebastien Robin authored
This reverts commit d806bdae. The test test_resolveBusinessTemplateListDependency (testTemplateTool.TestTemplateTool) is failing. Please review change/test, and commit again later once all tests work.
-
- 20 Jun, 2013 1 commit
-
-
Julien Muchembled authored
-
- 26 Jan, 2013 1 commit
-
-
Aurel authored
This must prevent the useless download of bt5 which are already installed And so this is supposed to reduced the number of bt5 installed by configurator and make it faster
-
- 21 Dec, 2012 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 17 Dec, 2012 1 commit
-
-
Jérome Perrin authored
-
- 16 Oct, 2012 2 commits
-
-
Rafael Monnerat authored
use by using "self" on transactional_cached decorator breaks ERP5Site creation due aq_base.
-
Rafael Monnerat authored
If the list of bt5 is huge same dependencies are calculated several types due recursivity at the same transaction making this method useless
-
- 15 Oct, 2012 3 commits
-
-
Rafael Monnerat authored
-
Sebastien Robin authored
- when upgradeSite is called, it will delete orphaned bt is we set delete_orphaned to true - when there is provider calculation in the dependency list, look at both installed bt and to all the dependency tree
-
Sebastien Robin authored
* fix the state of bt (new, old, present) * make resolveBusinessTemplateListDependency returning all dependencies, even installed ones * add upgradeSite method to install everything from top level bt * the code to check version restriction has been removed but it should be moved to another method
-
- 23 Aug, 2012 1 commit
-
-
Rafael Monnerat authored
This exception is required to be used in ZODB due erp5_promise.
-
- 23 Dec, 2011 1 commit
-
-
Julien Muchembled authored
-
- 17 Oct, 2011 2 commits
-
-
Julien Muchembled authored
- PEP 308: Conditional Expressions - PEP 341: Unified try/except/finally - PEP 343: The ‘with’ statement
-
Julien Muchembled authored
Checked following occurrences in comments: - "Python 2.[456]" - "Zope 2.[891]" - "BBB" - "BACK" Checked uses of: - email, hashlib, numpy & tarfile (modules) - ImportError - string.Template - suppress_events (parameter of _setObject) Excluded: - some forked modules (MailTemplates, PortalTransforms...) - some i18n compatibility code
-
- 02 Sep, 2011 1 commit
-
-
Aurel authored
-
- 21 Jul, 2011 5 commits
-
-
Rafael Monnerat authored
-
Rafael Monnerat authored
This method was refactored to: - automatically resolve and install business templates dependencies if requested. - Make possible use activities and prevent long transactions.
-
Rafael Monnerat authored
Due the presence of object_to_update, the API will never update the catalog if we do not provide explicitly values.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
-