1. 22 Apr, 2022 2 commits
  2. 05 Apr, 2022 2 commits
  3. 28 Mar, 2022 1 commit
  4. 14 Mar, 2022 2 commits
  5. 03 Mar, 2022 1 commit
  6. 12 Feb, 2022 1 commit
  7. 11 Feb, 2022 2 commits
  8. 07 Jan, 2022 3 commits
  9. 29 Dec, 2021 1 commit
  10. 27 Dec, 2021 2 commits
  11. 14 Dec, 2021 1 commit
  12. 25 Sep, 2021 2 commits
  13. 24 Sep, 2021 2 commits
    • Julien Muchembled's avatar
      Extend Download API with a new parameter to use an alternate URL as fallback · a2bcbf2d
      Julien Muchembled authored
      This alternate URL is used in case of HTTPError with the main one.
      In any case, the main URL is used for both downloading & uploading
      from/to networkcache.
      
      This will be exposed by slapos.recipe.build:download* and
      slapos.recipe.cmmi recipes.
      a2bcbf2d
    • Julien Muchembled's avatar
      download: clean-up, fix, optimization · 4ccb79e9
      Julien Muchembled authored
      An optimization is to avoid temporary file when possible: a rename
      (or hard link) is not always possible (different mount points).
      
      Another one is to not check md5sum twice when using cache file.
      
      Fall-back mode is ignored if an MD5 checksum is given.
      
      In case of checksum mismatch for a cached path, remove it and
      download again, mainly to cover the following cases:
      - the url content changes and the user updates the checksum
      - buildout killed while downloading directly to cache
        (see above optimization)
      - shutil.copyfile is interrupted
      4ccb79e9
  14. 15 May, 2021 3 commits
  15. 14 May, 2021 1 commit
  16. 12 May, 2021 2 commits
  17. 11 May, 2021 2 commits
  18. 23 Dec, 2020 2 commits
  19. 22 Dec, 2020 1 commit
  20. 11 Sep, 2020 2 commits
  21. 10 Sep, 2020 5 commits
    • Jérome Perrin's avatar
      Reject invalid options set by recipes · 6ee519d2
      Jérome Perrin authored
      When recipes mutate the options, we should not allow invalid syntax otherwise
      it gets written in .installed.cfg and generate invalid configparser syntax.
      6ee519d2
    • Jérome Perrin's avatar
      Escape option values set by recipes · d42b790b
      Jérome Perrin authored
      When recipe mutate options, options values are written to .installed.cfg
      without escaping buildout substitution syntax, so if a recipe sets an option
      value that could be interpreted as a buildout substitution, it is written as is
      in .installed.cfg.
      This can be a problem if options read from _read_installed_part_options are
      accessed, like it's the case with slapos patched buildout which saves
      installed options after an error with part installation or after each part
      installation when running in verbose mode.
      d42b790b
    • Jérome Perrin's avatar
      tests: use _ instead of - in environment variables · 32facc78
      Jérome Perrin authored
      Contrary to bash, dash filters out environment variables containing
      '-' characters. And for example, /bin/sh is dash on Debian.
      
      Rebase instructions:
      - squash with 93369b04
        and keep the above commit message
      
      fixup! Fix testing index when /bin/sh is dash (like on Debian)
      32facc78
    • Jérome Perrin's avatar
      tests: Fix makeNewRelease when installed as a zipped egg · 121b182f
      Jérome Perrin authored
      python ZipFile module does not support updating an entry in place, instead make
      a new zip file and copy all entries.
      121b182f
    • Godefroid Chapelle's avatar
      shut up easy_install deprecation · 64ac43b1
      Godefroid Chapelle authored
      64ac43b1