1. 30 Aug, 2018 1 commit
  2. 29 Aug, 2018 1 commit
  3. 28 Aug, 2018 1 commit
  4. 13 Aug, 2018 1 commit
  5. 31 Jul, 2018 1 commit
  6. 21 Jul, 2018 1 commit
  7. 18 Jul, 2018 3 commits
  8. 11 Jul, 2018 1 commit
  9. 22 Jun, 2018 1 commit
  10. 04 Apr, 2018 1 commit
    • Jérome Perrin's avatar
      slapos-testing: rework to use buildout to install eggs and dependencies · c91c4722
      Jérome Perrin authored
      Instead of letting `python setup.py test` install the depencies, use
      buildout way of installing the eggs.
      
      This software use `interpreter` recipe of `zc.recipe.egg` to install a
      python with all eggs pre-installed. This is a way to get all the
      dependencies at install time instead of getting them at run time from
      pypi when running `python setup.py test`.
      `erp5.util.testsuite` has been extended to support a parameter to
      specify which python interpreter to use.
      
      One issue is that this way of installing eggs by buildout cause chicken
      and egg problem: cloning repository containing `slapos.recipe.cmmi`
      needs git, and to compiling git needs `slapos.recipe.cmmi`.
      The consequence of this is that re-running software will install too
      many parts again.
      One solution for this would be to clone `slapos.recipe.cmmi` with a
      `git` command provided by testnode or system package.
      Another solution would be to not install `slapos.recipe.cmmi` develop
      egg, simply install the egg from it's current pypi version while
      installing the software (running tests will be from the git checkout
      anyway).
      For now this is open issue.
      
      Another point of attention is that `python setup.py test` install the
      requirements listed in `test_requires`, but `zc.recipe.egg` does not
      provide a way of installing these. Some of our packages have `[test]`
      entrypoints, in this case, the software installs the test entrypoints.
      For others, we install the eggs.
      
      Other improvements:
       * use a simple `slapos.recipe:wrapper` instead of `slapos.cookbook:egg_test`
       * fix the typo in repository name erp5-util-repository ->
         erp5.util-repository ( this mean we will have to fix the test suites in
         nexedi ERP5 )
       * document "what is this software" and a scenario of how this software
         can be used to develop slapos eggs.
       * switch to buildout-hash.cfg for easier template hash management.
      c91c4722
  11. 16 Mar, 2018 2 commits
  12. 25 Jan, 2018 1 commit
  13. 11 Dec, 2017 1 commit
  14. 18 Oct, 2017 1 commit
  15. 13 Oct, 2017 1 commit
  16. 03 Jun, 2017 1 commit
  17. 19 May, 2017 3 commits
  18. 04 Nov, 2016 1 commit
  19. 29 Sep, 2016 1 commit
  20. 22 Sep, 2016 1 commit
  21. 05 Aug, 2016 2 commits
  22. 04 Aug, 2016 1 commit
  23. 15 Feb, 2016 3 commits
  24. 28 Sep, 2015 2 commits
  25. 21 Sep, 2015 1 commit
  26. 19 Aug, 2015 1 commit
  27. 19 May, 2015 1 commit
  28. 12 Dec, 2014 1 commit
  29. 03 Nov, 2014 1 commit
  30. 29 Oct, 2014 1 commit
  31. 28 Oct, 2014 1 commit