1. 18 Mar, 2024 1 commit
  2. 08 Jan, 2024 1 commit
    • Xavier Thompson's avatar
      Fix bootstrap to let it install recent zc.buildout · bf8d269f
      Xavier Thompson authored
      Remove hardcoded dependencies of zc.buildout in bootstrap: easy_install
      will anyway install all the actual dependencies of the pinned version
      of zc.buildout, and return a working set containing them all.
      
      Before this, when the pinned zc.buildout had other dependencies than
      the ones hardcoded, they were installed correctly but bootstrap took
      only the hardcoded ones into account and wrongly failed due to the
      other dependencies being missing.
      
      This is needed for buildout 3 because the dependencies now include
      pip and wheel in addition to setuptools.
      bf8d269f
  3. 20 Feb, 2023 1 commit
  4. 29 Apr, 2022 1 commit
  5. 22 Apr, 2022 2 commits
  6. 05 Apr, 2022 2 commits
  7. 28 Mar, 2022 1 commit
  8. 14 Mar, 2022 2 commits
  9. 03 Mar, 2022 1 commit
  10. 12 Feb, 2022 1 commit
  11. 11 Feb, 2022 2 commits
  12. 07 Jan, 2022 3 commits
  13. 29 Dec, 2021 1 commit
  14. 27 Dec, 2021 2 commits
  15. 14 Dec, 2021 1 commit
  16. 25 Sep, 2021 2 commits
  17. 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
  18. 15 May, 2021 3 commits
  19. 14 May, 2021 1 commit
  20. 12 May, 2021 2 commits
  21. 11 May, 2021 2 commits
  22. 23 Dec, 2020 2 commits
  23. 22 Dec, 2020 1 commit
  24. 11 Sep, 2020 2 commits
  25. 10 Sep, 2020 1 commit