1. 13 Mar, 2023 1 commit
    • Jérome Perrin's avatar
      roles/package: tolerate errors while updating apt cache · 38e02386
      Jérome Perrin authored
      If for example a repository key is expired, this should not
      block the whole processing, except when the package state is
      "latest".
      
      To achieve this, before installing package, we always try to
      update apt cache in a separate step for which we tolerate
      errors and in a second step we only install the package without
      updating cache - unless the package state is latest.
      
      The idea is when we want to install the latest package, it's a
      problem if we can't update cache before, but when we just want
      the package to be present, errors during apt update should are
      not a problem.
      
      Only debian was adjusted with this logic.
      38e02386
  2. 10 Mar, 2023 2 commits
  3. 07 Mar, 2023 1 commit
  4. 24 Feb, 2023 1 commit
  5. 10 Feb, 2023 1 commit
  6. 03 Feb, 2023 2 commits
  7. 02 Feb, 2023 2 commits
  8. 24 Jan, 2023 1 commit
  9. 06 Jan, 2023 1 commit
  10. 05 Jan, 2023 2 commits
  11. 04 Jan, 2023 2 commits
  12. 02 Jan, 2023 1 commit
  13. 26 Dec, 2022 1 commit
  14. 20 Dec, 2022 1 commit
  15. 16 Dec, 2022 1 commit
  16. 13 Dec, 2022 1 commit
  17. 07 Dec, 2022 1 commit
  18. 06 Dec, 2022 1 commit
  19. 01 Dec, 2022 2 commits
  20. 21 Nov, 2022 1 commit
  21. 18 Nov, 2022 2 commits
  22. 17 Nov, 2022 3 commits
  23. 15 Nov, 2022 2 commits
  24. 09 Nov, 2022 3 commits
    • Ophélie Gagnard's avatar
      6f6222ab
    • Thomas Gambier's avatar
      obs/slapos: fix buildout version for bootstrapping · 9bdb1695
      Thomas Gambier authored
      by default, the bootstrap script will install newest buildout, but
      starting with buildout 3.0.0, there is a problem of wheel like this:
      
      ez_setup.py is deprecated and when using it setuptools will be pinned to 33.1.1 since it's the last version that supports setuptools self upgrade/installation, check https://github.com/pypa/setuptools/issues/581 for more info; use pip to install setuptools
      Downloading https://pypi.io/packages/source/s/setuptools/setuptools-41.6.0.zip
      Extracting in /tmp/tmpyglw2hza
      Now working in /tmp/tmpyglw2hza/setuptools-41.6.0
      Building a Setuptools egg in /root/slapos.package/obs/slapos/sn_1.8.3+1.0.290+1/slapos/build/opt/slapos/eggs
      warning: no files found matching '*.py' under directory 'tests'
      warning: no previously-included files found matching 'pyproject.toml'
      /root/slapos.package/obs/slapos/sn_1.8.3+1.0.290+1/slapos/build/opt/slapos/eggs/setuptools-41.6.0-py3.9.egg
      Traceback (most recent call last):
        File "/root/slapos.package/obs/slapos/sn_1.8.3+1.0.290+1/slapos/build/opt/slapos/bootstrap.py", line 199, in <module>
          ws.require(requirement)
        File "/root/slapos.package/obs/slapos/sn_1.8.3+1.0.290+1/slapos/build/opt/slapos/eggs/setuptools-41.6.0-py3.9.egg/pkg_resources/__init__.py", line 900, in require
        File "/root/slapos.package/obs/slapos/sn_1.8.3+1.0.290+1/slapos/build/opt/slapos/eggs/setuptools-41.6.0-py3.9.egg/pkg_resources/__init__.py", line 786, in resolve
      pkg_resources.DistributionNotFound: The 'wheel' distribution was not found and is required by zc.buildout
      Impossible to build SlapOS, exiting.
      make: *** [Makefile:9: download_cache] Error 1
      9bdb1695
    • Ophélie Gagnard's avatar
      84e13551
  25. 07 Nov, 2022 2 commits
  26. 02 Nov, 2022 1 commit
  27. 31 Oct, 2022 1 commit