1. 11 Feb, 2022 2 commits
  2. 07 Jan, 2022 3 commits
  3. 29 Dec, 2021 1 commit
  4. 27 Dec, 2021 2 commits
  5. 14 Dec, 2021 1 commit
  6. 25 Sep, 2021 2 commits
  7. 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
  8. 15 May, 2021 3 commits
  9. 14 May, 2021 1 commit
  10. 12 May, 2021 2 commits
  11. 11 May, 2021 2 commits
  12. 23 Dec, 2020 2 commits
  13. 22 Dec, 2020 1 commit
  14. 11 Sep, 2020 2 commits
  15. 10 Sep, 2020 9 commits
  16. 08 Sep, 2020 1 commit
    • Jérome Perrin's avatar
      fixup! zc.recipe.egg: Improve on the fly pathces. · 45eb64b4
      Jérome Perrin authored
      Only build egg at this point if we have some patches to apply otherwise
      buildout would install dependent egg without logging this operation, which
      would cause many tests to fail.
      
      Also cover the whole scenario of egg patching in a new doctest.
      45eb64b4
  17. 22 May, 2020 1 commit
  18. 20 May, 2020 3 commits
    • Marius Gedminas's avatar
      Fix tests · 2f1d705a
      Marius Gedminas authored
      Add a RENormalizer so the easy_install.txt will be happy with scripts
      generated on Python 2 (using open(..., 'U')) and on Python 3 (using just
      open(...)).
      
      This was suggested by @sallner.
      
      (cherry picked from commit 2cf42066fc8238ffe72ce6aeaef0e66b5df13f79)
      2f1d705a
    • Laurence Rowe's avatar
      Avoid DeprecationWarning: 'U' mode is deprecated · 20adbdb6
      Laurence Rowe authored
      Python 3.7 began warning about open's 'U' mode. Universal newline mode (newline=None) is default in Python 3 so avoid specifying it on Python 3.
      
      (cherry picked from commit 978a6af9e78db44b9db25cb08c7f9d98c24bbc03)
      20adbdb6
    • Julien Muchembled's avatar
      Fix redo_pyc for Python 3 · e3f11c25
      Julien Muchembled authored
      e3f11c25