1. 06 Jun, 2022 2 commits
  2. 10 Mar, 2022 1 commit
  3. 11 Feb, 2022 2 commits
  4. 20 Jan, 2022 1 commit
  5. 12 Jan, 2022 2 commits
  6. 27 Dec, 2021 3 commits
  7. 26 Dec, 2021 1 commit
    • Julien Muchembled's avatar
      Drop multiarch support · 25369e03
      Julien Muchembled authored
      It was redundant with conditional configuration sections.
      SlapOS fork of zc.buildout has 'multiarch' value since 2.7.1+slapos015
      25369e03
  8. 13 Dec, 2021 1 commit
  9. 10 Dec, 2021 1 commit
  10. 09 Dec, 2021 3 commits
  11. 08 Dec, 2021 4 commits
  12. 03 Dec, 2021 2 commits
    • Julien Muchembled's avatar
      gitclone: new 'depth' option · 051d8f09
      Julien Muchembled authored
      051d8f09
    • Julien Muchembled's avatar
      tests: check hardlinking in case of local download from Git working copy · 03a41274
      Julien Muchembled authored
      The download recipe relies on buildout's download, which uses hardlinking for
      performance reasons in 2 cases: downloading from cache or from local file.
      
      This means 2 things:
      - the user shall not modify downloaded files without first making sure
        that st_nlink == 1
      - the source file shall not be modified in-place, which is reasable to assume
        for both cache and local file
      
      In-place modification of files is more and more rare because it has many
      drawbacks and it tends to be limited to things like logs and databases.
      This commit adds a test to check that Git does not do that when managing
      working copies: and actually, this may be our only use case of local download.
      
      This commit does not mean that the current way of hardlinking is fully fine.
      There remains at least the issue that file permissions may be changed at the
      end of the recipe, either with `shared=true` or with `mode` option.
      03a41274
  13. 29 Nov, 2021 3 commits
  14. 04 Oct, 2021 3 commits
  15. 28 Sep, 2021 1 commit
  16. 27 Sep, 2021 2 commits
  17. 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
  18. 25 Sep, 2021 1 commit
  19. 24 Sep, 2021 2 commits
  20. 21 Sep, 2021 1 commit
  21. 26 Jul, 2021 3 commits
    • Jérome Perrin's avatar
      Release 0.47 · 6d809e51
      Jérome Perrin authored
      6d809e51
    • 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