An error occurred fetching the project authors.
  1. 02 May, 2022 1 commit
  2. 28 Apr, 2022 1 commit
  3. 11 Jan, 2022 1 commit
    • Jérome Perrin's avatar
      component/userhosts: use github.com/figiel/hosts for compatibility with recent libc · b1acdb0a
      Jérome Perrin authored
      In ubuntu 21.04 (libc6 2.33-0ubuntu5) or current debian testing
      (libc6 2.32-5) no longer use open to open /etc/hosts, but what appears
      as "openat" in strace output - but can not be replaced by defining an
      openat function.
      
      This uses https://github.com/figiel/hosts which uses another approach
      of replacing getaddrinfo, gethostbyname* and inet_aton.
      
      Users have been updated a bit, because there are some small differences:
       - the /etc/hosts replacement file is defined by HOSTS_FILE environment
         variable, not HOSTS
       - the library name is libuserhosts.so, not userhosts.so
      
      Other notable differences, for which we did not need code change are:
       - the new library also try to load a file when HOSTS_FILE is not set
       - the new library still use original /etc/hosts file
       - the new library supports aliases to hostnames, not only ip addresses
      b1acdb0a
  4. 12 Nov, 2021 1 commit
  5. 09 Nov, 2021 2 commits
  6. 29 Mar, 2021 1 commit
    • Jérome Perrin's avatar
      slapos.cookbook test: use environment variables to pass eggs directories · 56a2d7a4
      Jérome Perrin authored
      slapos.cookbook recipe tests sometimes manipulate buildout eggs working set,
      which will install packages from pypi. makeRecipe utilty function was
      guessing buildout egg folders by parsing builout.cfg, but since a33844a2
      (slapos-testing, slapos-sr-testing: Don't duplicate instance.cfg prologue
      that is already provided by stack/nxdtest/instance.cfg, 2021-03-22),
      these are defined in an extended profile, so this stopped working.
      
      Instead of this fragile pattern, make the test software release pass the eggs
      directories with an explicit environment variable.
      56a2d7a4
  7. 23 Mar, 2021 1 commit
  8. 27 Nov, 2020 1 commit
  9. 26 Oct, 2020 1 commit
  10. 15 Sep, 2020 1 commit
  11. 05 Aug, 2020 1 commit
  12. 17 Feb, 2020 1 commit
  13. 07 Oct, 2019 1 commit
  14. 21 Dec, 2018 1 commit
  15. 12 Dec, 2018 1 commit
  16. 10 Dec, 2018 1 commit
  17. 26 Nov, 2018 1 commit
  18. 21 Jul, 2018 1 commit
  19. 11 Jul, 2018 1 commit
  20. 22 Jun, 2018 1 commit
  21. 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
  22. 28 Mar, 2018 1 commit
  23. 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
  24. 16 Mar, 2018 1 commit
  25. 12 Feb, 2018 1 commit
  26. 01 Feb, 2018 1 commit
  27. 31 Jan, 2018 3 commits
  28. 26 Jan, 2018 1 commit
  29. 20 Jun, 2017 1 commit
  30. 12 Jun, 2017 1 commit
  31. 02 Jun, 2017 1 commit
  32. 01 Jun, 2017 1 commit
  33. 12 Apr, 2017 1 commit
  34. 06 Apr, 2017 1 commit
  35. 03 Mar, 2017 1 commit
  36. 16 Feb, 2017 1 commit