An error occurred fetching the project authors.
  1. 05 Aug, 2020 1 commit
  2. 19 Nov, 2019 1 commit
  3. 08 Nov, 2019 1 commit
  4. 04 Oct, 2019 1 commit
    • Thomas Gambier's avatar
      do not create two wrappers for the same executable if hash change · ed707d3b
      Thomas Gambier authored
      Prevent creating 2 wrapper for the same service if hash changed. Here, one service is exited because port is used by the firt to service to start:
      
          slappart6:runner-sshd-4248650e36a9a26a6481df1baffd9f58-on-watch                RUNNING   pid 27835, uptime 0:03:45
          slappart6:runner-sshd-b3b68f4278ceb84691ec27521ea229eb-on-watch                EXITED    Mar 06 04:52 PM
      
      To achieve that, update slapos.cookbook and use hash-existing-files option of wrapper recipe
      
      hash-existing-files list all the files used for hash that are not
      handled by buildout. For those files, the hash is calculated as soon as
      the __init__ function so that if there is a change in those files,
      buildout will remove the existing wrapper (it will uninstall the
      section) and replace it with the new wrapper.
      
      /reviewed-on nexedi/slapos!525
      ed707d3b
  5. 09 Nov, 2018 1 commit
  6. 19 Oct, 2018 1 commit
  7. 08 Oct, 2018 1 commit
  8. 22 Jun, 2018 1 commit
  9. 22 May, 2018 2 commits
  10. 16 Apr, 2018 1 commit
  11. 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
  12. 28 Mar, 2018 1 commit
  13. 27 Mar, 2018 1 commit
    • Alain Takoudjou's avatar
      monitor: move scripts wrapper and logrotate conf to buildout, uses some new... · 47644132
      Alain Takoudjou authored
      monitor: move scripts wrapper and logrotate conf to buildout, uses some new promises from slapos.toolbox
      
      monitor was updated in slapos.toolbox to not generate promise launcher scripts anymore. All
      generated scripts are now in buildout.
      Monitor promise run script is removed from cron, slapgrid is used to run promises.
      Replace some old promises by the new ones from slapos.toolbox. Cleanup monitor configuration.
      Monitor report and monitor-promises directory are now obsolete.
      47644132
  14. 16 Mar, 2018 1 commit
  15. 12 Feb, 2018 1 commit
  16. 01 Feb, 2018 1 commit
  17. 31 Jan, 2018 3 commits
  18. 26 Jan, 2018 1 commit
  19. 20 Jun, 2017 1 commit
  20. 12 Jun, 2017 1 commit
  21. 02 Jun, 2017 1 commit
  22. 01 Jun, 2017 1 commit
  23. 12 Apr, 2017 1 commit
  24. 06 Apr, 2017 1 commit
  25. 03 Mar, 2017 1 commit
  26. 16 Feb, 2017 1 commit