1. 11 Feb, 2022 1 commit
    • Julien Muchembled's avatar
      default: fix case where 'location' does not contain any directory separator · 0f0d1177
      Julien Muchembled authored
      This fixes:
      
        Traceback (most recent call last):
          ...
          File "slapos/recipe/build/__init__.py", line 268, in install
            return self._shared.install(self.__install)
          File "slapos/recipe/__init__.py", line 149, in install
            os.makedirs(parent)
          File "/usr/lib/python2.7/os.py", line 157, in makedirs
            mkdir(name, mode)
        OSError: [Errno 2] No such file or directory: ''
      0f0d1177
  2. 20 Jan, 2022 1 commit
  3. 12 Jan, 2022 2 commits
  4. 27 Dec, 2021 3 commits
  5. 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
  6. 13 Dec, 2021 1 commit
  7. 10 Dec, 2021 1 commit
  8. 09 Dec, 2021 3 commits
  9. 08 Dec, 2021 4 commits
  10. 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
  11. 29 Nov, 2021 3 commits
  12. 04 Oct, 2021 3 commits
  13. 28 Sep, 2021 1 commit
  14. 27 Sep, 2021 2 commits
  15. 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
  16. 25 Sep, 2021 1 commit
  17. 24 Sep, 2021 2 commits
  18. 21 Sep, 2021 1 commit
  19. 26 Jul, 2021 4 commits
  20. 10 May, 2021 1 commit
  21. 11 Sep, 2020 1 commit
  22. 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