1. 18 Mar, 2024 1 commit
  2. 22 Jan, 2024 1 commit
    • Xavier Thompson's avatar
      Move non-trivial code from namespace __init__.py · a200483b
      Xavier Thompson authored
      Move code from slapos/recipe/__init__.py to slapos/recipe/utils.py,
      so that __init__.py only contains legacy namespace-mechanism code.
      
      This is needed for buildout 3 because pip seems not to install
      __init__.py files from packages declared as namespace packages.
      
      slapos.recipe.cmmi and rubygemsrecipe will need to adapt to the
      changed path.
      a200483b
  3. 21 Dec, 2023 2 commits
    • Jérome Perrin's avatar
      tests: support python 3.11 tracebacks · 79832abd
      Jérome Perrin authored
      79832abd
    • Jérome Perrin's avatar
      tests: set branch name when initializing git repositories · 8fababe1
      Jérome Perrin authored
      prevent these warnings to pollute the output:
      
      hint: Using 'master' as the name for the initial branch. This default branch name
      hint: is subject to change. To configure the initial branch name to use in all
      hint: of your new repositories, which will suppress this warning, call:
      hint:
      hint: 	git config --global init.defaultBranch <name>
      hint:
      hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
      hint: 'development'. The just-created branch can be renamed via this command:
      hint:
      hint: 	git branch -m <name>
      8fababe1
  4. 10 Nov, 2022 1 commit
  5. 08 Nov, 2022 1 commit
  6. 29 Aug, 2022 1 commit
    • Jérome Perrin's avatar
      drop slapos.recipe.build:npm · 1e0c4423
      Jérome Perrin authored
      This is not used, not tested and causes SyntaxWarning on python 3.8:
      
          slapos/recipe/npm.py:128: SyntaxWarning: "is not" with a literal. Did you mean "!="?
            if npm_process.returncode is not 0:
      1e0c4423
  7. 07 Jul, 2022 2 commits
  8. 06 Jun, 2022 2 commits
  9. 10 Mar, 2022 1 commit
  10. 11 Feb, 2022 2 commits
  11. 20 Jan, 2022 1 commit
  12. 12 Jan, 2022 2 commits
  13. 27 Dec, 2021 3 commits
  14. 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
  15. 13 Dec, 2021 1 commit
  16. 10 Dec, 2021 1 commit
  17. 09 Dec, 2021 3 commits
  18. 08 Dec, 2021 4 commits
  19. 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
  20. 29 Nov, 2021 3 commits
  21. 04 Oct, 2021 3 commits
  22. 28 Sep, 2021 1 commit
  23. 27 Sep, 2021 1 commit