Skip to content
Failed

Changes

Summary

  1. ci: update manifest with latest available distros (details)
  2. Add virDomainSetUserPassword binding (details)
  3. Add listAllDomains binding (details)
  4. ci: refresh with latest lcitool manifest (details)
  5. Fix resource leak in DomainSnapshot on delete (details)
  6. ci: Update distros in manifest and regenerate with latest lcitool (details)
  7. Update build receipes to new directories and servers (details)
  8. pom.xml: Change link to upstream repository to gitlab (details)
  9. spec: Update links to sources and webpage (details)
  10. Update 'https?://www.libvirt.org' to 'https://libvirt.org' (details)
  11. Use 'https' for links to 'libvirt.org' (details)
  12. ci: Build and expose API/javadoc documentation via gitlab pages (details)
  13. Drop Debian packaging (details)
  14. site: Add simple website for the project (details)
  15. gitlab: Deploy project website (details)
  16. ci: lcitool: Maintain project package deps lists here (details)
  17. Add Domain state VIR_DOMAIN_PMSUSPENDED (details)
  18. ci: Refresh generated files (details)
  19. ci: Stop using local_env/prebuilt_env (details)
  20. ci: Fix Ubuntu 22.04 jobs (details)
  21. ci: Simplify website job (details)
  22. ci: Split building and publishing of pages (details)
  23. ci: Add rules for pages publishing job (details)
  24. Add missing virDomainSnapshotGetXMLDesc flags (details)
  25. ci: refresh with 'lcitool manifest' (details)
Commit f3d8fff0b089818f4d7e9f1e9fd1b8a5f69f0d10 by berrange
ci: update manifest with latest available distros

Changed distros

  - centos-8 -> almalinux-8
  - fedora-33 -> fedora-35
  - fedora-34 -> fedora-36
  - ubuntu-1804 -> ubuntu-2204
  - opensuse-leap-152 -> opensuse-leap-153

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
The file was modifiedci/gitlab.yml (diff)
The file was modifiedci/containers/debian-sid.Dockerfile (diff)
The file was addedci/containers/fedora-36.Dockerfile (diff)
The file was removedci/containers/ubuntu-1804.Dockerfile (diff)
The file was addedci/gitlab/build-templates.yml (diff)
The file was modifiedci/containers/centos-stream-8.Dockerfile (diff)
The file was addedci/containers/opensuse-leap-153.Dockerfile (diff)
The file was removedci/containers/fedora-33.Dockerfile (diff)
The file was removedci/containers/fedora-34.Dockerfile (diff)
The file was addedci/gitlab/containers.yml (diff)
The file was modifiedci/containers/ubuntu-2004.Dockerfile (diff)
The file was addedci/containers/ubuntu-2204.Dockerfile (diff)
The file was addedci/gitlab/container-templates.yml (diff)
The file was addedci/containers/almalinux-8.Dockerfile (diff)
The file was modifiedci/containers/fedora-rawhide.Dockerfile (diff)
The file was modifiedci/containers/debian-10.Dockerfile (diff)
The file was addedci/containers/fedora-35.Dockerfile (diff)
The file was removedci/containers/centos-8.Dockerfile (diff)
The file was addedci/gitlab/sanity-checks.yml (diff)
The file was modifiedci/manifest.yml (diff)
The file was removedci/containers/opensuse-leap-152.Dockerfile (diff)
The file was addedci/gitlab/builds.yml (diff)
Commit 429aafc54fd99e6296040a64ca895b95d4a8cc93 by d-kay23
Add virDomainSetUserPassword binding

Signed-off-by: Dmytro Klymenchuk <d-kay23@ukr.net>
The file was modifiedsrc/main/java/org/libvirt/Domain.java (diff)
The file was modifiedsrc/main/java/org/libvirt/jna/Libvirt.java (diff)
Commit 4b609374a1c045246a36e28a641e778e7b9fc7cb by dmytro.klymenchuk
Add listAllDomains binding

Signed-off-by: Dmitry Klymenchuk <dmytro.klymenchuk@virtuozzo.com>
The file was modifiedsrc/main/java/org/libvirt/jna/Libvirt.java (diff)
The file was modifiedsrc/main/java/org/libvirt/Connect.java (diff)
The file was modifiedsrc/main/java/org/libvirt/jna/DomainPointer.java (diff)
The file was addedsrc/main/java/org/libvirt/jna/DomainByReference.java (diff)
Commit f4bb634eb30eed8aff5331c90470d0b4c00a55bf by berrange
ci: refresh with latest lcitool manifest

This refresh switches the CI for contributors to be triggered by merge
requests. Pushing to a branch in a fork will no longer run CI pipelines,
in order to avoid consuming CI minutes. To regain the original behaviour
contributors can opt-in to a pipeline on push

   git push <remote> -o ci.variable=RUN_PIPELINE=1

This variable can also be set globally on the repository, though this is
not recommended. Upstream repo pushes to branches will run CI.

The use of containers has changed in this update, with only the upstream
repo creating containers, in order to avoid consuming contributors'
limited storage quotas. A fork with existing container images may delete
them. Containers will be rebuilt upstream when pushing commits with CI
changes to the default branch. Any other scenario with CI changes will
simply install build pre-requisite packages in a throaway environment,
using the ci/buildenv/ scripts. These scripts may also be used on a
contributor's local machines.

With pipelines triggered by merge requests, it is also now possible to
workaround the inability of contributors to run pipelines if they have
run out of CI quota. A project member can trigger a pipeline from the
merge request, which will run in context of upstream, however, note
this should only be done after reviewing the code for any malicious
CI changes.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
The file was addedci/buildenv/centos-stream-8.sh (diff)
The file was modifiedci/containers/fedora-rawhide.Dockerfile (diff)
The file was modifiedci/containers/ubuntu-2204.Dockerfile (diff)
The file was modified.gitlab-ci.yml (diff)
The file was addedci/buildenv/fedora-rawhide.sh (diff)
The file was modifiedci/gitlab/sanity-checks.yml (diff)
The file was addedci/buildenv/fedora-36.sh (diff)
The file was modifiedci/gitlab/container-templates.yml (diff)
The file was addedci/buildenv/debian-sid.sh (diff)
The file was modifiedci/gitlab.yml (diff)
The file was modifiedci/containers/fedora-35.Dockerfile (diff)
The file was modifiedci/gitlab/builds.yml (diff)
The file was addedci/buildenv/opensuse-leap-153.sh (diff)
The file was modifiedci/containers/fedora-36.Dockerfile (diff)
The file was modifiedci/gitlab/build-templates.yml (diff)
The file was addedci/buildenv/ubuntu-2204.sh (diff)
The file was addedci/buildenv/almalinux-8.sh (diff)
The file was modifiedci/containers/debian-10.Dockerfile (diff)
The file was modifiedci/containers/ubuntu-2004.Dockerfile (diff)
The file was modifiedci/containers/debian-sid.Dockerfile (diff)
The file was addedci/buildenv/fedora-35.sh (diff)
The file was addedci/buildenv/debian-10.sh (diff)
The file was addedci/buildenv/ubuntu-2004.sh (diff)
Commit 0066a37fbfde6c9e04b91c9b4ed4a7cc4ef0fda3 by lars.dunemark
Fix resource leak in DomainSnapshot on delete

When deleting a DomainSnapshot the DomainSnapshotPointer was set to null
preventing the free() method to release the underlaying resorces
resulting in dangling connections to libvirtd.

Signed-off-by: Lars Dunemark <lars.dunemark@glesys.se>
The file was modifiedsrc/main/java/org/libvirt/DomainSnapshot.java (diff)
Commit 51c42dd6a23aed47e49dbf0e04939d4a72f09b4b by pkrempa
ci: Update distros in manifest and regenerate with latest lcitool

Replace 'debian-10' with 'debian-11' and 'fedora-35' with 'fedora-37'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
The file was modifiedci/gitlab/containers.yml (diff)
The file was removedci/containers/debian-10.Dockerfile (diff)
The file was modifiedci/gitlab/sanity-checks.yml (diff)
The file was modifiedci/gitlab/builds.yml (diff)
The file was addedci/buildenv/debian-11.sh (diff)
The file was removedci/buildenv/debian-10.sh (diff)
The file was modifiedci/manifest.yml (diff)
The file was modifiedci/gitlab/build-templates.yml (diff)
The file was addedci/containers/debian-11.Dockerfile (diff)
The file was modifiedci/gitlab/container-templates.yml (diff)
The file was addedci/buildenv/fedora-37.sh (diff)
The file was modifiedci/gitlab.yml (diff)
The file was removedci/buildenv/fedora-35.sh (diff)
The file was addedci/containers/fedora-37.Dockerfile (diff)
The file was removedci/containers/fedora-35.Dockerfile (diff)
Commit 93f18f515aca05ed3d0ccb3f46f0f4f2d03a890f by pkrempa
Update build receipes to new directories and servers

Use 'download.libvirt.org' instead of 'www.libvirt.org' build.xml and
also update '/data/www/maven2' to the new location
'/data/ftp/libvirt/maven2'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
The file was modifiedbuild.xml (diff)
The file was modifiedMaven.Recipe (diff)
Commit 788f2c0e5c38115d8d47561a321d8794c33eaf0a by pkrempa
pom.xml: Change link to upstream repository to gitlab

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
The file was modifiedpom.xml.in (diff)
Commit 8309192cf85472040664249f67be1d35a8af79f5 by pkrempa
spec: Update links to sources and webpage

Use the new URI 'download.libvirt.org' to refer to the source.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
The file was modifiedlibvirt-java.spec.in (diff)
Commit a801f752773bf88722e2c790decd594a7074a31c by pkrempa
Update 'https?://www.libvirt.org' to 'https://libvirt.org'

Drop the 'www' subdomain from links to libvirt.org. In all updated cases
use https as protocol.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
The file was modifiedsrc/main/java/org/libvirt/StoragePool.java (diff)
The file was modifiedsrc/main/java/org/libvirt/StorageVol.java (diff)
The file was modifiedsrc/main/java/org/libvirt/DomainSnapshot.java (diff)
The file was modifiedsrc/main/java/org/libvirt/jna/Libvirt.java (diff)
The file was modifiedsrc/main/java/org/libvirt/Stream.java (diff)
The file was modifiedREADME.in (diff)
The file was modifiedsrc/main/java/org/libvirt/Connect.java (diff)
The file was modifiedpom.xml.in (diff)
The file was modifiedsrc/main/java/org/libvirt/Domain.java (diff)
The file was modifiedsrc/main/java/org/libvirt/Network.java (diff)
The file was modifiedsrc/main/java/org/libvirt/NetworkFilter.java (diff)
The file was modifiedsrc/main/java/org/libvirt/Interface.java (diff)
Commit d37cb18ed32244e640d7a7ffd9cfd6815317487d by pkrempa
Use 'https' for links to 'libvirt.org'

Convert the rest of the links which were not using 'https'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
The file was modifiedsrc/main/java/org/libvirt/Connect.java (diff)
The file was modifiedsrc/main/java/org/libvirt/event/LifecycleListener.java (diff)
The file was modifieddebian/control.in (diff)
The file was modifiedlibvirt-java.spec.in (diff)
The file was modifiedsrc/test/java/org/libvirt/TestJavaBindings.java (diff)
The file was modifiedsrc/main/java/org/libvirt/Domain.java (diff)
Commit 14153bf8dc55c4f064ae543f744ec55456b6bea8 by pkrempa
ci: Build and expose API/javadoc documentation via gitlab pages

The 'javadoc' which was originally hosted on libvirt.org is hopelessly
outdated as nobody was updating it. Make sure it's up to date by
generating it in gitlab.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
The file was modified.gitlab-ci.yml (diff)
Commit 30c6079541b1c82bc99fba6f10072d0683c25976 by abologna
Drop Debian packaging

What's currently there makes for a barely functional Debian
package, as it's missing a lot of the expected information such
as copyright and changelog. Plus it contains hardcoded version
information that are several years out of date.

Even if this wasn't the case, there is a strong recommendation
against attempting to maintain the Debian packaging for a
project as part of the upstream repository.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The file was modifiedbuild.xml (diff)
The file was removeddebian/control.in (diff)
Commit 2c9a28b552037ba565d58b1b1302ef36f3ad6dfb by abologna
site: Add simple website for the project

libvirt-java has recently gained its own dedicated URL, but as
of today we only use that to host the javadoc API reference
under a subdirectory and navigating to the top-level leads to
a GitLab 404 page.

Prepare a very basic website for the project. The contents are
the same as the current https://libvirt.org/java.html page,
just reorganized a bit; the HTML, CSS and graphics are taken
from the libvirt-php website.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The file was addedsite/stylesheets/libvirt.css (diff)
The file was addedsite/graphics/libvirt-header-logo.png (diff)
The file was addedsite/downloads.html (diff)
The file was addedsite/index.html (diff)
The file was addedsite/stylesheets/generic.css (diff)
The file was addedsite/stylesheets/main.css (diff)
The file was addedsite/graphics/libvirt-header-bg.png (diff)
Commit c699966d1c4e2d06f9f971c95d2b22c3eb02dc36 by abologna
gitlab: Deploy project website

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The file was modified.gitlab-ci.yml (diff)
Commit 4fba80f522edfd22cd50b755711446063ae08f77 by eskultet
ci: lcitool: Maintain project package deps lists here

Each respective project that lcitool knows about and currently
maintains its list of package dependencies knows best what packages
they actually depend on. If a new dependency is currently needed,
first a change in lcitool is necessary before GitLab jobs and
containers can be updated. Provided a mapping already exists in
lcitool (which can quickly be added as an override via mappings.yml
temporarily) we speed up the whole CI update process by one step.

Note that starting this commit lcitool must be invoked as
    '$ lcitool -d/--data-dir ci/lcitool ...'
to pick up the project dependency list correctly.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
The file was addedci/lcitool/projects/libvirt-java.yml (diff)
Commit cc80a035919e96e6ae8347cdb816e09758e1217e by dan-gitlab
Add Domain state VIR_DOMAIN_PMSUSPENDED
The file was modifiedsrc/main/java/org/libvirt/DomainInfo.java (diff)
Commit 3de7289197c9e9524ac8a1ed35ffdd0b16d8a00c by abologna
ci: Refresh generated files

The target list is updated to match what is currently supported
by lcitool, notably bumping Fedora to 38 and 39.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The file was modifiedci/containers/debian-sid.Dockerfile (diff)
The file was modifiedci/buildenv/debian-11.sh (diff)
The file was modifiedci/buildenv/ubuntu-2004.sh (diff)
The file was modifiedci/containers/ubuntu-2004.Dockerfile (diff)
The file was removedci/buildenv/opensuse-leap-153.sh (diff)
The file was addedci/containers/fedora-39.Dockerfile (diff)
The file was modifiedci/manifest.yml (diff)
The file was modifiedci/containers/debian-11.Dockerfile (diff)
The file was addedci/buildenv/opensuse-leap-15.sh (diff)
The file was removedci/containers/fedora-36.Dockerfile (diff)
The file was modifiedci/gitlab/build-templates.yml (diff)
The file was addedci/containers/opensuse-leap-15.Dockerfile (diff)
The file was modifiedci/gitlab/containers.yml (diff)
The file was removedci/buildenv/fedora-37.sh (diff)
The file was addedci/buildenv/fedora-39.sh (diff)
The file was removedci/containers/fedora-37.Dockerfile (diff)
The file was addedci/buildenv/fedora-38.sh (diff)
The file was modifiedci/gitlab/builds.yml (diff)
The file was removedci/buildenv/fedora-36.sh (diff)
The file was modifiedci/gitlab/container-templates.yml (diff)
The file was removedci/containers/opensuse-leap-153.Dockerfile (diff)
The file was addedci/containers/fedora-38.Dockerfile (diff)
The file was modifiedci/containers/ubuntu-2204.Dockerfile (diff)
The file was modifiedci/buildenv/debian-sid.sh (diff)
The file was modifiedci/buildenv/ubuntu-2204.sh (diff)
The file was modifiedci/containers/fedora-rawhide.Dockerfile (diff)
Commit c384260307ff501b72659da662ad2b9270abf119 by abologna
ci: Stop using local_env/prebuilt_env

Recent versions of lcitool no longer expect this distinction.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The file was modified.gitlab-ci.yml (diff)
Commit fb9af93e134362bfa60991d5e517609051739f3b by abologna
ci: Fix Ubuntu 22.04 jobs

Currently the 'jobs' key is overwritten, so only the git job
is produced. While at it, stop using 'template' for the default
job, since the value we're using matches the default.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The file was modifiedci/gitlab/builds.yml (diff)
The file was modifiedci/manifest.yml (diff)
Commit 5eabfddbfc8fc0e12987981b781eb4b44e950b46 by abologna
ci: Simplify website job

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The file was modified.gitlab-ci.yml (diff)
Commit 253e36338ae22fc67ede072766dec91135831fc4 by abologna
ci: Split building and publishing of pages

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The file was modified.gitlab-ci.yml (diff)
Commit bc67940722b7fcfd3fedba0cf2f1829f41f94517 by abologna
ci: Add rules for pages publishing job

We want the pages building job to run for MRs, to ensure that
no breakages sneak in, but updated pages should only be
published once the changes have been merged into master.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
The file was modified.gitlab-ci.yml (diff)
Commit 5b85a700f94ca5f64903e024fddfdfdc953935d4 by fabricio.duarte.jr
Add missing virDomainSnapshotGetXMLDesc flags

Signed-off-by: Fabricio Duarte <fabricio.duarte.jr@gmail.com>
The file was modifiedsrc/main/java/org/libvirt/Domain.java (diff)
The file was modifiedsrc/main/java/org/libvirt/DomainSnapshot.java (diff)
Commit ebcb5676fefe580e6df94fe82e76b1e71dd74347 by berrange
ci: refresh with 'lcitool manifest'

Notable changes

* AlmaLinux 8 / CentOS Stream 8 replaced with 9
* Fedora 38 dropped, 40 added
* Ubuntu 20.04 dropped, 24.04 added
* Debian 11 dropped, 12 added

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
The file was addedci/containers/centos-stream-9.Dockerfile (diff)
The file was addedci/containers/ubuntu-2404.Dockerfile (diff)
The file was addedci/buildenv/fedora-40.sh (diff)
The file was modifiedci/buildenv/fedora-rawhide.sh (diff)
The file was modifiedci/gitlab/containers.yml (diff)
The file was removedci/buildenv/fedora-38.sh (diff)
The file was modifiedci/buildenv/ubuntu-2204.sh (diff)
The file was modifiedci/gitlab/sanity-checks.yml (diff)
The file was removedci/buildenv/centos-stream-8.sh (diff)
The file was addedci/buildenv/debian-12.sh (diff)
The file was modifiedci/buildenv/opensuse-leap-15.sh (diff)
The file was removedci/buildenv/almalinux-8.sh (diff)
The file was modifiedci/containers/fedora-rawhide.Dockerfile (diff)
The file was modifiedci/gitlab.yml (diff)
The file was modifiedci/gitlab/builds.yml (diff)
The file was removedci/containers/ubuntu-2004.Dockerfile (diff)
The file was addedci/containers/almalinux-9.Dockerfile (diff)
The file was modifiedci/gitlab/build-templates.yml (diff)
The file was removedci/containers/fedora-38.Dockerfile (diff)
The file was modifiedci/buildenv/fedora-39.sh (diff)
The file was addedci/buildenv/ubuntu-2404.sh (diff)
The file was removedci/buildenv/ubuntu-2004.sh (diff)
The file was addedci/buildenv/almalinux-9.sh (diff)
The file was removedci/containers/centos-stream-8.Dockerfile (diff)
The file was removedci/buildenv/debian-11.sh (diff)
The file was removedci/containers/almalinux-8.Dockerfile (diff)
The file was modifiedci/containers/ubuntu-2204.Dockerfile (diff)
The file was addedci/containers/fedora-40.Dockerfile (diff)
The file was addedci/buildenv/centos-stream-9.sh (diff)
The file was removedci/containers/debian-11.Dockerfile (diff)
The file was modifiedci/containers/fedora-39.Dockerfile (diff)
The file was modifiedci/containers/opensuse-leap-15.Dockerfile (diff)
The file was addedci/containers/debian-12.Dockerfile (diff)
The file was modifiedci/manifest.yml (diff)