1. 22 Sep, 2022 6 commits
  2. 15 Sep, 2022 1 commit
  3. 14 Sep, 2022 3 commits
  4. 12 Sep, 2022 1 commit
  5. 09 Sep, 2022 1 commit
  6. 07 Sep, 2022 2 commits
  7. 01 Sep, 2022 2 commits
  8. 26 Aug, 2022 2 commits
  9. 22 Aug, 2022 1 commit
  10. 03 Aug, 2022 4 commits
    • Paolo Bonzini's avatar
      lcitool: restrict binary wheels to MacOS · cec90d33
      Paolo Bonzini authored
      Packages that depend on native -devel packages cannot be build on Linux
      distros, but they can be built on MacOS which has no separate -devel
      packages.  Mark them explicitly as being available on MacOS only.
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
    • Paolo Bonzini's avatar
      lcitool: allow disabling pypi and cpan packages · 2ecaab67
      Paolo Bonzini authored
      Right now, it is not possibly to disable pypi and cpan packages.
      However, this means that whenever a Python (or Perl, though that is
      really done only for completeness) package is not available as a native
      package, lcitool needs to know about all -devel packages for all of its
      dependencies; otherwise, pypi fails to build the package's non-Python
      This may be very complicated to do if the distro only has a very small
      number of Python packages available to install; this is the case for
      RHEL's Python modules (e.g. python38) and for OpenSUSE's auxiliary
      Python runtimes (e.g. python39).  The simplest thing is to just punt
      and block those packages; lcitool will not be able to build dockerfiles
      that require them, but otherwise everything will work.
      To achieve this effect, look up all the keys even for pypi and cpan
      packages.  An empty key will cause the package not to be installed.
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
    • Paolo Bonzini's avatar
      lcitool: remove unnecessary super() · bd36ac8a
      Paolo Bonzini authored
      CPANPackage and PyPIPackage can reuse Package's implementation of _eval
      if it is not declared abstract.
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
    • Paolo Bonzini's avatar
      lcitool: move multiple key lookup to Package superclass · 417e1837
      Paolo Bonzini authored
      The logic to look up multiple mappings is common to both native
      and cross packages, and we will also extend it to PyPI and CPAN
      in order to disable some packages.
      Move it up to the superclass so that it can be reused; because
      subclasses do not return MappingKeyError, the exception goes
      away altogether.
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
  11. 02 Aug, 2022 4 commits
  12. 01 Aug, 2022 1 commit
  13. 29 Jul, 2022 1 commit
    • Paolo Bonzini's avatar
      print descriptive messages when assertions fail · 335fab62
      Paolo Bonzini authored
      For the comparison with "golden" files it is quite complicated to
      understand what is different between the actual output and the expected
      Instead of just "assert x == y", do the comparison recursively on
      lists/dictionaries/strings so that it is possible to have output like
      AssertionError: comparing against /home/pbonzini/work/upstream/libvirt-ci/tests/data/formatters/out/opensuse-leap-153-all-projects.Dockerfile, at line 191: expected '           python3-Pillow \\', got '           python39-base \\'
      AssertionError: comparing against /home/pbonzini/work/upstream/libvirt-ci/tests/data/packages/out/opensuse-leap-153.yml, at dictionary item pypi: expected 7 items, got 13, first extra element: 'numpy'
      AssertionError: comparing against /home/pbonzini/work/upstream/libvirt-ci/tests/data/packages/out/opensuse-leap-153.yml, at dictionary item pypi, at item 5: expected 'meson==0.56.0', got 'lxml'
      Signed-off-by: Paolo Bonzini's avatarPaolo Bonzini <pbonzini@redhat.com>
  14. 25 Jul, 2022 1 commit
    • Daniel P. Berrangé's avatar
      mappings: add mapping for glib-mkenums · cc9d55ec
      Daniel P. Berrangé authored
      HomeBrew split all the python code out of the main 'glib'
      package, so any project that wants python devel tools like
      'glib-mkenums' on macOS needs to install 'glib-utils' too.
      Debian previously also split it into a -bin package,
      though that is a dep from the -dev package, so we've not
      needed to specify it explicitly before. An explicit
      mapping, however, means we are guaranteed to get the
      native version in cross builds.
      Signed-off-by: Daniel P. Berrangé's avatarDaniel P. Berrangé <berrange@redhat.com>
  15. 22 Jul, 2022 4 commits
  16. 19 Jul, 2022 2 commits
  17. 18 Jul, 2022 1 commit
  18. 14 Jul, 2022 3 commits