1. 04 Dec, 2020 8 commits
  2. 01 Dec, 2020 3 commits
  3. 30 Nov, 2020 1 commit
  4. 27 Nov, 2020 3 commits
  5. 26 Nov, 2020 8 commits
  6. 25 Nov, 2020 1 commit
    • Thomas Gambier's avatar
      slapgrid: compare os name in lower case · bc79d780
      Thomas Gambier authored
      When comparing OS to see if they match for binary cache, we only compare
      the lower case distribution name because sometimes "Debian' is
      capitalized and sometimes not.
      bc79d780
  7. 24 Nov, 2020 9 commits
  8. 20 Nov, 2020 2 commits
    • Jérome Perrin's avatar
      slapos node prune: check running as root according to config · e64714f6
      Jérome Perrin authored
      When config specifies root_check=true, check that user is root instead
      of probably failing with error messages because some permissions would
      be refused.
      e64714f6
    • Jérome Perrin's avatar
      slapos node prune: write software pid file · 7049d6c8
      Jérome Perrin authored
      slapos node prune already detected the case where software was running
      and refused to run while software was runnning, to prevent a case where
      software writes files and prune removes them because they are not yet
      referenced, but nothing prevented the other way around: slapos node
      software should not start while slapos node prune is deleting files. To
      prevent this, make slapos node prune actually use software pid file,
      then software will refuse to start while prune is running.
      7049d6c8
  9. 16 Nov, 2020 3 commits
    • Jérome Perrin's avatar
      grid/utils: set PYTHONNOUSERSITE · 8c1a4892
      Jérome Perrin authored
      When PYTHONNOUSERSITE environemnt variable is set, python does not load user
      site.
      User site packages may contain a different version of buildout, which would
      be selected when slapos runs buildout, causing unexpected behaviours.
      8c1a4892
    • Jérome Perrin's avatar
      test_slapgrid: check that $HOME is set when processing partition · fe539da3
      Jérome Perrin authored
      Some buildout profiles are expecting this.
      fe539da3
    • Jérome Perrin's avatar
      grid/utils: minor cleanups · 7dbf0ba4
      Jérome Perrin authored
       - Use dict.items() to iterate on dict, instead of dict.keys() then dict[key]
       - don't use six.iterkeys(), this dict is small, so we don't need iterkeys()
         on python2 and can already write python3 version
       - don't % string when invoking logger, logging framework do it for us and do
         it only if message will be logged.
      7dbf0ba4
  10. 12 Nov, 2020 2 commits