Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vagrant-libvirt for openSUSE:Factory 
checked in at 2022-11-17 17:24:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vagrant-libvirt (Old)
 and      /work/SRC/openSUSE:Factory/.vagrant-libvirt.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vagrant-libvirt"

Thu Nov 17 17:24:51 2022 rev:24 rq:1036399 version:0.10.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/vagrant-libvirt/vagrant-libvirt.changes  
2022-09-12 19:09:02.698670699 +0200
+++ 
/work/SRC/openSUSE:Factory/.vagrant-libvirt.new.1597/vagrant-libvirt.changes    
    2022-11-17 17:25:08.645268452 +0100
@@ -1,0 +2,117 @@
+Fri Sep 23 08:19:50 UTC 2022 - Dan Čermák <dcer...@suse.com>
+
+- Add patch: 0001-Mock-out-synced-folders-for-action-tests-1610.patch
+  (fixes test failures)
+
+- New upstream release 0.10.8
+
+## [0.10.8](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.10.8) 
(2022-09-22)
+
+[Full 
Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.10.7...0.10.8)
+
+**Closed issues:**
+
+- wrong upstream Vagrant install link in the documentation  
[\#1601](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1601)
+- Public networking cannot list my hosts devices 
[\#1600](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1600)
+- When puppet present, it is not possible to install the plugin 
[\#1597](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1597)
+
+**Merged pull requests:**
+
+- Use correct url for script download in docs 
[\#1606](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1606) 
([electrofelix](https://github.com/electrofelix))
+- Update specs to check for warning not being emitted 
[\#1605](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1605) 
([electrofelix](https://github.com/electrofelix))
+- Spec fixes 
[\#1603](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1603) 
([dcermak](https://github.com/dcermak))
+- \[Dockerfile\] Fix creation of plugins.json with buildah 
[\#1602](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1602) 
([dcermak](https://github.com/dcermak))
+- fix qemu\_use\_agent to work with windows guests 
[\#1599](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1599) 
([rgl](https://github.com/rgl))
+- silence the qemu\_use\_agent warning message 
[\#1598](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1598) 
([rgl](https://github.com/rgl))
+- Handle different attribute and element ordering 
[\#1592](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1592) 
([electrofelix](https://github.com/electrofelix))
+- Add actions to be updated by dependabot 
[\#1586](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1586) 
([electrofelix](https://github.com/electrofelix))
+- Fix release workflow default branch detection 
[\#1585](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1585) 
([electrofelix](https://github.com/electrofelix))
+- Handle REXML requires for Ubuntu focal 
[\#1584](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1584) 
([electrofelix](https://github.com/electrofelix))
+
+-------------------------------------------------------------------
+Tue Sep 13 15:50:19 UTC 2022 - Dan Čermák <dcer...@suse.com>
+
+- New upstream release 0.10.7
+
+## [0.10.7](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.10.7) 
(2022-09-08)
+
+[Full 
Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.10.6...0.10.7)
+
+**Closed issues:**
+
+- Docker installation: user vagrant does not exist 
[\#1442](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1442)
+
+**Merged pull requests:**
+
+- Replace remaining stray references with main 
[\#1582](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1582) 
([electrofelix](https://github.com/electrofelix))
+- Make failure to apply XML domain update non fatal 
[\#1581](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1581) 
([electrofelix](https://github.com/electrofelix))
+- Remove need to explicitly set VAGRANT\_HOME before running tests 
[\#1580](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1580)
+([electrofelix](https://github.com/electrofelix))
+- Return early from set\_boot\_order if not needed 
[\#1578](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1578) 
([electrofelix](https://github.com/electrofelix))
+- Handle setting of graphics options avoiding XML diff 
[\#1577](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1577)
+([electrofelix](https://github.com/electrofelix))
+- Ensure XML diff output if not fully applied 
[\#1576](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1576) 
([electrofelix](https://github.com/electrofelix))
+- Update to more recent Ubuntu LTS 
[\#1575](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1575) 
([electrofelix](https://github.com/electrofelix))
+- Reduce nested rescues in start domain 
[\#1573](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1573) 
([electrofelix](https://github.com/electrofelix))
+- Improve handling when run using root user 
[\#1572](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1572) 
([electrofelix](https://github.com/electrofelix))
+- Correct type for workflow event 
[\#1570](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1570) 
([electrofelix](https://github.com/electrofelix))
+- Docker image bundle vagrant-libvirt with vagrant 
[\#1569](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1569) 
([electrofelix](https://github.com/electrofelix))
+- Save UI to instance to avoid passing env 
[\#1568](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1568) 
([electrofelix](https://github.com/electrofelix))
+
+
+## [0.10.6](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.10.6) 
(2022-08-30)
+
+[Full 
Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.10.5...0.10.6)
+
+**Merged pull requests:**
+
+- Switch to xml-simple for document comparison 
[\#1567](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1567) 
([electrofelix](https://github.com/electrofelix))
+
+
+## [0.10.5](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.10.5) 
(2022-08-29)
+
+[Full 
Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.10.4...0.10.5)
+
+**Closed issues:**
+
+- Error when updating domain settings: Error while creating domain: Libvirt 
failed to fully update the domain with the specified XML. Result differs from 
requested
+[\#1556](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1556)
+
+**Merged pull requests:**
+
+- Use compare-xml instead of equivalent-xml 
[\#1565](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1565) 
([dcermak](https://github.com/dcermak))
+
+-------------------------------------------------------------------
+Mon Aug 29 10:21:30 UTC 2022 - Dan Čermák <dcer...@suse.com>
+
+- New upstream release 0.10.4
+
+## [0.10.4](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.10.4) 
(2022-08-28)
+
+[Full 
Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.10.3...0.10.4)
+
+**Closed issues:**
+
+- Can't create public network interfaces 
[\#1561](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1561)
+
+**Merged pull requests:**
+
+- Use equivalent-xml to compare xml 
[\#1564](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1564) 
([electrofelix](https://github.com/electrofelix))
+
+
+## [0.10.3](https://github.com/vagrant-libvirt/vagrant-libvirt/tree/0.10.3) 
(2022-08-26)
+
+[Full 
Changelog](https://github.com/vagrant-libvirt/vagrant-libvirt/compare/0.10.2...0.10.3)
+
+**Closed issues:**
+
+- recent change to host\_devices is too strict 
[\#1553](https://github.com/vagrant-libvirt/vagrant-libvirt/issues/1553)
+
+**Merged pull requests:**
+
+- Use function rather than instance variable 
[\#1562](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1562) 
([electrofelix](https://github.com/electrofelix))
+- Ensure boot order is preserved unless overridden 
[\#1560](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1560) 
([electrofelix](https://github.com/electrofelix))
+- Update URL for logo display in README 
[\#1559](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1559) 
([electrofelix](https://github.com/electrofelix))
+- Ensure usernames with at symbols handled 
[\#1558](https://github.com/vagrant-libvirt/vagrant-libvirt/pull/1558) 
([electrofelix](https://github.com/electrofelix))
+
+-------------------------------------------------------------------

Old:
----
  vagrant-libvirt-0.10.2.gem

New:
----
  0001-Mock-out-synced-folders-for-action-tests-1610.patch
  vagrant-libvirt-0.10.8.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vagrant-libvirt.spec ++++++
--- /var/tmp/diff_new_pack.aLo7Y1/_old  2022-11-17 17:25:09.273271775 +0100
+++ /var/tmp/diff_new_pack.aLo7Y1/_new  2022-11-17 17:25:09.277271796 +0100
@@ -21,11 +21,10 @@
 %global rb_ruby_suffix %rb_default_ruby_suffix
 
 Name:           vagrant-libvirt
-Version:        0.10.2
+Version:        0.10.8
 Release:        0
 %define mod_name vagrant-libvirt
 %define mod_full_name %{mod_name}-%{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 Requires:       libvirt
 %ifarch %ix86 x86_64
@@ -51,6 +50,7 @@
 BuildRequires:  %{rubygem fog-core:2 >= 2.1}
 BuildRequires:  %{rubygem fog-libvirt >= 0.3.}
 BuildRequires:  %{rubygem rexml}
+BuildRequires:  %{rubygem xml-simple}
 BuildRequires:  %{rubygem diffy}
 
 # s.add_development_dependency "rspec-core", ">= 3.5"
@@ -68,6 +68,8 @@
 Requires:       %{rubygem fog-core:2}
 # s.add_runtime_dependency 'rexml'
 Requires:       %{rubygem rexml}
+# s.add_runtime_dependency 'xml-simple'
+Requires:       %{rubygem xml-simple}
 # s.add_runtime_dependency 'diffy'
 Requires:       %{rubygem diffy}
 # s.add_runtime_dependency 'nokogiri', '~> 1.6'
@@ -85,6 +87,8 @@
 
 URL:            https://github.com/%{name}/%{name}
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
+# fixes test failures, remove on next upstream release after 0.10.8
+Patch:          0001-Mock-out-synced-folders-for-action-tests-1610.patch
 
 Summary:        Vagrant provider for libvirt
 License:        MIT
@@ -104,6 +108,7 @@
 
 %prep
 %gem_unpack
+%autopatch -p1
 
 %build
 %gem_build

++++++ 0001-Mock-out-synced-folders-for-action-tests-1610.patch ++++++
>From 897f8ed357b8d86bc60a67334d2522769469c2fa Mon Sep 17 00:00:00 2001
From: Darragh Bailey <daragh.bai...@gmail.com>
Date: Wed, 28 Sep 2022 18:17:18 +0100
Subject: [PATCH] Mock out synced folders for action tests (#1610)

Allowing synced folders to be validated as part of the action tests can
cause an excessive amount of time to be consumed due to many calls to
systemd and distro packager to check if nfs is available on the host.
---
 spec/unit/action_spec.rb | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/spec/unit/action_spec.rb b/spec/unit/action_spec.rb
index 9f76449..623527c 100644
--- a/spec/unit/action_spec.rb
+++ b/spec/unit/action_spec.rb
@@ -22,10 +22,23 @@ describe VagrantPlugins::ProviderLibvirt::Action do
     allow(machine).to receive(:state).and_return(state)
 
     allow(logger).to receive(:info)
+    allow(logger).to receive(:trace)
     allow(logger).to receive(:debug)
     allow(logger).to receive(:error)
 
     allow(connection.client).to receive(:libversion).and_return(6_002_000)
+
+    # patch out iterating synced_folders by emptying the list returned
+    # where vagrant us using a Collection, otherwise fallback to using
+    # the env value to disable the behaviour for older versions.
+    begin
+      require 'vagrant/plugin/v2/synced_folder'
+
+      synced_folders = Vagrant::Plugin::V2::SyncedFolder::Collection.new
+      allow(machine).to receive(:synced_folders).and_return(synced_folders)
+    rescue NameError
+      env[:synced_folders_disable] = true
+    end
   end
 
   def allow_action_env_result(action, *responses)
@@ -52,7 +65,7 @@ describe VagrantPlugins::ProviderLibvirt::Action do
       it 'should execute without error' do
         expect(ui).to receive(:info).with('Domain is not created. Please run 
`vagrant up` first.')
 
-        expect { runner.run(subject.action_halt) }.not_to raise_error
+        expect(runner.run(subject.action_halt)).to 
match(hash_including({:machine => machine}))
       end
     end
 
@@ -74,7 +87,7 @@ describe VagrantPlugins::ProviderLibvirt::Action do
           expect(ui).to_not receive(:info).with('Domain is not created. Please 
run `vagrant up` first.')
           
expect_any_instance_of(VagrantPlugins::ProviderLibvirt::Action::HaltDomain).to_not
 receive(:call)
 
-          expect { runner.run(subject.action_halt) }.not_to raise_error
+          expect(runner.run(subject.action_halt)).to 
match(hash_including({:machine => machine}))
         end
       end
 
@@ -87,7 +100,7 @@ describe VagrantPlugins::ProviderLibvirt::Action do
         it 'should call halt' do
           
expect_any_instance_of(VagrantPlugins::ProviderLibvirt::Action::HaltDomain).to 
receive(:call)
 
-          expect { runner.run(subject.action_halt) }.not_to raise_error
+          expect(runner.run(subject.action_halt)).to 
match(hash_including({:machine => machine}))
         end
       end
     end
-- 
2.38.1


++++++ vagrant-libvirt-0.10.2.gem -> vagrant-libvirt-0.10.8.gem ++++++
++++ 2135 lines of diff (skipped)

Reply via email to