Skip to content
  1. Feb 12, 2022
  2. Feb 11, 2022
  3. Jan 07, 2022
  4. Dec 29, 2021
  5. Dec 27, 2021
  6. Dec 14, 2021
  7. Sep 25, 2021
  8. Sep 24, 2021
    • 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
  9. May 15, 2021
  10. May 14, 2021
  11. May 12, 2021
  12. May 11, 2021
  13. Dec 23, 2020
  14. Dec 22, 2020
  15. Sep 11, 2020
  16. Sep 10, 2020
  17. Sep 08, 2020
    • 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
  18. May 22, 2020
  19. May 20, 2020