1. 26 Sep, 2021 1 commit
    • Julien Muchembled's avatar
      default: fix error handling in pipeCommand() · 30e20b79
      Julien Muchembled authored
      Traceback (most recent call last):
        ...
        File "slapos/recipe/build/__init__.py", line 191, in pipeCommand
          raise zc.buildout.UserError('Failed while running command:'
        File "slapos/recipe/build/__init__.py", line 192, in <genexpr>
          + ''.join('\n  ' + q for q in failed))
      TypeError: cannot concatenate 'str' and 'tuple' objects
      30e20b79
  2. 24 Sep, 2021 2 commits
  3. 21 Sep, 2021 1 commit
  4. 26 Jul, 2021 2 commits
    • Jérome Perrin's avatar
      tests: include load_tests for python -m unittest discover · a180ce44
      Jérome Perrin authored
      Since we switched to running tests with python -m unittest discover,
      doctests were not longer ran.
      a180ce44
    • Jérome Perrin's avatar
      default: interact with linecache for complete traceback · 7b6a3085
      Jérome Perrin authored
      When using init or install option of slapos.recipe.build to
      write python code, the traceback were hard to understand, because
      the current line was not included in the traceback.
      
      This put the script in linecache before compiling it, so that in
      case of error the problematic line appears in traceback.
      
      There is still the "problem" that the traceback line numbers starts
      from the beginning of the script and not the actual line from
      buildout profile, but this does not seem feasible to adjust the line
      numbers, so let's ignore this.
      7b6a3085
  5. 03 Sep, 2020 1 commit
    • Jérome Perrin's avatar
      gitclone: let errors on update propagate · dd61ddf3
      Jérome Perrin authored
      Update use to tolerate errors in develop mode, to prevent buildout from
      deleting develop working copies if anything happens, then this behavior was
      extended to non-develop mode, apparently by mistake.
      
      In non-develop mode, we want error to propagate, if something went wrong with
      updating this repository, buildout should delete and retry.
      dd61ddf3
  6. 15 Apr, 2020 1 commit
  7. 20 Mar, 2020 5 commits
  8. 27 Feb, 2020 7 commits
  9. 11 Oct, 2019 3 commits
  10. 11 Feb, 2019 1 commit
  11. 27 Nov, 2018 1 commit
  12. 29 Oct, 2018 1 commit
  13. 26 Oct, 2018 1 commit
  14. 11 Sep, 2018 1 commit
  15. 22 Aug, 2018 3 commits
  16. 21 Aug, 2018 3 commits
  17. 20 Aug, 2018 1 commit
  18. 03 Aug, 2018 1 commit
  19. 01 Aug, 2018 1 commit
  20. 31 Jul, 2018 1 commit
  21. 03 Jul, 2018 2 commits