1. 12 Feb, 2019 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: Likewise Document, add Mixin (erp5.component.mixin) and... · e84d2b51
      Arnaud Fontaine authored
      ZODB Components: Likewise Document, add Mixin (erp5.component.mixin) and Interface (erp5.component.interface).
      
      * One Mixin/Interface class per ZODB Component.
        => Already the case for FS Mixin, not for Interfaces.
      * ZODB Components module name ('reference' property) and class name:
        + Mixin: FooMixin.
        + Interface: IFoo.
      
      Rationale:
        + Avoid current FS hacks: registry (Mixins, mixin_class_registry) or import
          all classes explicitly in __init__.py (Products.ERP5Type.interfaces).
        + Consistent naming.
        + Consistent with ZODB Documents Components.
      
      Also, modify pylint checker to handle Zope Interfaces:
        + E: 4, 0: Inheriting 'Interface', which is not a class. (inherit-non-class)
        + E: 5, 2: Method has no argument (no-method-argument)
      e84d2b51
  2. 24 May, 2016 1 commit
  3. 15 Jul, 2015 1 commit
  4. 24 Sep, 2014 1 commit
  5. 15 Sep, 2014 3 commits
  6. 11 Sep, 2014 2 commits
    • Julien Muchembled's avatar
      BT: don't export 'revision' anymore · f73b625c
      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
      f73b625c
    • Julien Muchembled's avatar
      BT: make genbt5list safer for reuse in another process · 46eb9884
      Julien Muchembled authored
      - stop using chdir
      - make logging to stdout/stderr optional
      - generateInformation: return a StringIO instead of writing to a temporary file
      46eb9884
  7. 10 Sep, 2013 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: Revert 'Allow to execute runUnitTest for bt5 Test Components'... · c35d24e8
      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.
      c35d24e8
  8. 17 Oct, 2011 1 commit
    • Julien Muchembled's avatar
      Drop support for Zope 2.8 · 48212534
      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
      48212534
  9. 16 Apr, 2010 1 commit
  10. 25 Nov, 2009 1 commit
  11. 10 Sep, 2009 2 commits
  12. 07 Sep, 2009 1 commit
  13. 05 Sep, 2008 1 commit
  14. 11 Jul, 2006 1 commit
  15. 04 Jul, 2006 1 commit
  16. 30 May, 2006 1 commit
  17. 01 Feb, 2006 1 commit
  18. 30 Jan, 2006 1 commit
  19. 17 Jan, 2006 1 commit
  20. 16 Dec, 2005 1 commit