1. 10 Dec, 2020 1 commit
    • Jérome Perrin's avatar
      cli: Output on the console even with --log-file · 1df64cbb
      Jérome Perrin authored
      In 51f89902 (slapos/cli/entry.py, slapos/cli/format.py, slapos/format.py:
      Do not double the log output when "slapos node boot" failed., 2017-05-11)
      we fixed a problem that every failure during boot causing twice more output
      (which filled up the disk very fast), but a side effect was that using
      --log-file no longer cause messages to also go to the console.
      
      The "Always send higher-level messages to the console via stderr" comment
      in entry.py seems that this was always intentional to output messages on
      the console.
      
      Keep the same "don't configure again logging system when it's already
      configured", but implemented in a slightly different way, because since
      a FileHandler is a StreamHandler, the check of already having a
      StreamHandler was true also for the case where --log-file added a
      FileHander (a few lines above, also in configure_logging method)
      1df64cbb
  2. 08 Dec, 2020 3 commits
  3. 05 Dec, 2020 2 commits
  4. 04 Dec, 2020 13 commits
  5. 02 Dec, 2020 2 commits
    • Jérome Perrin's avatar
      testing: don't reset PYTHONPATH · c83bb10e
      Jérome Perrin authored
      we no longer use python setup.py test
      c83bb10e
    • Jérome Perrin's avatar
      slap/standalone: don't unset PYTHONPATH · 9e5ba82d
      Jérome Perrin authored
      We were doing this because we use to run tests with `python setup.py test`
      which automatically sets PYTHONPATH, so it was affecting sub processes
      started by standalone.
      
      Nowadays we no longer use this method of running tests, so we are not really
      supposed to use PYTHONPATH, so we don't unset this environment variable,
      there might be valid cases where users want to force a different python path
      (but I can not think of any) and it simplifies the code a bit.
      9e5ba82d
  6. 01 Dec, 2020 3 commits
  7. 30 Nov, 2020 1 commit
  8. 27 Nov, 2020 3 commits
  9. 26 Nov, 2020 8 commits
  10. 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
  11. 24 Nov, 2020 3 commits