Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yast2-storage-ng for
openSUSE:Factory checked in at 2022-01-27 23:16:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage-ng (Old)
and /work/SRC/openSUSE:Factory/.yast2-storage-ng.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-storage-ng"
Thu Jan 27 23:16:39 2022 rev:119 rq:949166 version:4.4.34
Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage-ng/yast2-storage-ng.changes
2022-01-25 17:36:48.894026567 +0100
+++
/work/SRC/openSUSE:Factory/.yast2-storage-ng.new.1898/yast2-storage-ng.changes
2022-01-27 23:17:08.270907304 +0100
@@ -1,0 +2,6 @@
+Tue Jan 25 12:30:14 UTC 2022 - Imobach Gonzalez Sosa <[email protected]>
+
+- Use Package module instead of PackageSystem (bsc#1194886).
+- 4.4.34
+
+-------------------------------------------------------------------
Old:
----
yast2-storage-ng-4.4.33.tar.bz2
New:
----
yast2-storage-ng-4.4.34.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-storage-ng.spec ++++++
--- /var/tmp/diff_new_pack.3CSmd7/_old 2022-01-27 23:17:08.930902744 +0100
+++ /var/tmp/diff_new_pack.3CSmd7/_new 2022-01-27 23:17:08.930902744 +0100
@@ -17,7 +17,7 @@
Name: yast2-storage-ng
-Version: 4.4.33
+Version: 4.4.34
Release: 0
Summary: YaST2 - Storage Configuration
License: GPL-2.0-only OR GPL-3.0-only
@@ -29,8 +29,8 @@
# New Md size calculation
BuildRequires: libstorage-ng-ruby >= 4.4.76
BuildRequires: update-desktop-files
-# Yast::Kernel.propose_hibernation?
-BuildRequires: yast2 >= 4.3.41
+# Replace PackageSystem with Package
+BuildRequires: yast2 >= 4.4.38
BuildRequires: yast2-devtools >= 4.2.2
# yast/rspec/helpers.rb
BuildRequires: yast2-ruby-bindings >= 4.4.7
@@ -50,8 +50,8 @@
Requires: findutils
# New Md size calculation
Requires: libstorage-ng-ruby >= 4.4.76
-# Yast::Kernel.propose_hibernation?
-Requires: yast2 >= 4.3.41
+# Replace PackageSystem with Package
+Requires: yast2 >= 4.4.38
# Y2Packager::Repository
Requires: yast2-packager >= 3.3.7
# for AbortException and handle direct abort
++++++ yast2-storage-ng-4.4.33.tar.bz2 -> yast2-storage-ng-4.4.34.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/package/yast2-storage-ng.changes
new/yast2-storage-ng-4.4.34/package/yast2-storage-ng.changes
--- old/yast2-storage-ng-4.4.33/package/yast2-storage-ng.changes
2022-01-21 16:48:18.000000000 +0100
+++ new/yast2-storage-ng-4.4.34/package/yast2-storage-ng.changes
2022-01-26 07:54:58.000000000 +0100
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Tue Jan 25 12:30:14 UTC 2022 - Imobach Gonzalez Sosa <[email protected]>
+
+- Use Package module instead of PackageSystem (bsc#1194886).
+- 4.4.34
+
+-------------------------------------------------------------------
Fri Jan 21 15:33:45 UTC 2022 - Jos?? Iv??n L??pez Gonz??lez <[email protected]>
- Fix tests according to new Md size reported by libstorage-ng
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/package/yast2-storage-ng.spec
new/yast2-storage-ng-4.4.34/package/yast2-storage-ng.spec
--- old/yast2-storage-ng-4.4.33/package/yast2-storage-ng.spec 2022-01-21
16:48:18.000000000 +0100
+++ new/yast2-storage-ng-4.4.34/package/yast2-storage-ng.spec 2022-01-26
07:54:58.000000000 +0100
@@ -16,7 +16,7 @@
#
Name: yast2-storage-ng
-Version: 4.4.33
+Version: 4.4.34
Release: 0
Summary: YaST2 - Storage Configuration
License: GPL-2.0-only OR GPL-3.0-only
@@ -28,8 +28,8 @@
# New Md size calculation
BuildRequires: libstorage-ng-ruby >= 4.4.76
BuildRequires: update-desktop-files
-# Yast::Kernel.propose_hibernation?
-BuildRequires: yast2 >= 4.3.41
+# Replace PackageSystem with Package
+BuildRequires: yast2 >= 4.4.38
BuildRequires: yast2-devtools >= 4.2.2
# yast/rspec/helpers.rb
BuildRequires: yast2-ruby-bindings >= 4.4.7
@@ -49,8 +49,8 @@
Requires: findutils
# New Md size calculation
Requires: libstorage-ng-ruby >= 4.4.76
-# Yast::Kernel.propose_hibernation?
-Requires: yast2 >= 4.3.41
+# Replace PackageSystem with Package
+Requires: yast2 >= 4.4.38
# Y2Packager::Repository
Requires: yast2-packager >= 3.3.7
# for AbortException and handle direct abort
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/src/lib/y2partitioner/actions/configure_actions.rb
new/yast2-storage-ng-4.4.34/src/lib/y2partitioner/actions/configure_actions.rb
---
old/yast2-storage-ng-4.4.33/src/lib/y2partitioner/actions/configure_actions.rb
2022-01-21 16:48:18.000000000 +0100
+++
new/yast2-storage-ng-4.4.34/src/lib/y2partitioner/actions/configure_actions.rb
2022-01-26 07:54:58.000000000 +0100
@@ -27,7 +27,7 @@
Yast.import "Popup"
Yast.import "Arch"
Yast.import "PackageCallbacks"
-Yast.import "PackageSystem"
+Yast.import "Package"
module Y2Partitioner
module Actions
@@ -141,7 +141,7 @@
# switch off pkg-mgmt loading progress dialogs,
# because it just plain sucks
Yast::PackageCallbacks.RegisterEmptyProgressCallbacks
- ret = Yast::PackageSystem.CheckAndInstallPackages(pkgs)
+ ret = Yast::Package.CheckAndInstallPackages(pkgs)
Yast::PackageCallbacks.RestorePreviousProgressCallbacks
ret
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/src/lib/y2partitioner/widgets/overview.rb
new/yast2-storage-ng-4.4.34/src/lib/y2partitioner/widgets/overview.rb
--- old/yast2-storage-ng-4.4.33/src/lib/y2partitioner/widgets/overview.rb
2022-01-21 16:48:18.000000000 +0100
+++ new/yast2-storage-ng-4.4.34/src/lib/y2partitioner/widgets/overview.rb
2022-01-26 07:54:58.000000000 +0100
@@ -30,7 +30,6 @@
require "y2storage/bcache"
Yast.import "UI"
-Yast.import "PackageSystem"
Yast.import "Mode"
module Y2Partitioner
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/src/lib/y2partitioner/yast_nfs_client.rb
new/yast2-storage-ng-4.4.34/src/lib/y2partitioner/yast_nfs_client.rb
--- old/yast2-storage-ng-4.4.33/src/lib/y2partitioner/yast_nfs_client.rb
2022-01-21 16:48:18.000000000 +0100
+++ new/yast2-storage-ng-4.4.34/src/lib/y2partitioner/yast_nfs_client.rb
2022-01-26 07:54:58.000000000 +0100
@@ -24,7 +24,7 @@
Yast.import "Event"
Yast.import "Stage"
Yast.import "PackageCallbacks"
-Yast.import "PackageSystem"
+Yast.import "Package"
Yast.import "Popup"
module Y2Partitioner
@@ -148,7 +148,7 @@
pkgs = [package_name]
log.info "Trying to install #{pkgs}"
Yast::PackageCallbacks.RegisterEmptyProgressCallbacks
- res = Yast::PackageSystem.CheckAndInstallPackages(pkgs)
+ res = Yast::Package.CheckAndInstallPackages(pkgs)
Yast::PackageCallbacks.RestorePreviousProgressCallbacks
log.info "Installation result: #{res}"
res
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/src/lib/y2storage/package_handler.rb
new/yast2-storage-ng-4.4.34/src/lib/y2storage/package_handler.rb
--- old/yast2-storage-ng-4.4.33/src/lib/y2storage/package_handler.rb
2022-01-21 16:48:18.000000000 +0100
+++ new/yast2-storage-ng-4.4.34/src/lib/y2storage/package_handler.rb
2022-01-26 07:54:58.000000000 +0100
@@ -24,7 +24,6 @@
require "yast"
Yast.import "Package"
-Yast.import "PackageSystem"
Yast.import "PackagesProposal"
Yast.import "Mode"
Yast.import "Report"
@@ -86,7 +85,7 @@
log.info("Installing #{pkg_list} (ask: #{ask}")
success =
if ask
- Yast::PackageSystem.CheckAndInstallPackages(@pkg_list)
+ Yast::Package.CheckAndInstallPackages(@pkg_list)
else
Yast::Package.DoInstall(@pkg_list)
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/test/y2partitioner/actions/configure_actions_test.rb
new/yast2-storage-ng-4.4.34/test/y2partitioner/actions/configure_actions_test.rb
---
old/yast2-storage-ng-4.4.33/test/y2partitioner/actions/configure_actions_test.rb
2022-01-21 16:48:18.000000000 +0100
+++
new/yast2-storage-ng-4.4.34/test/y2partitioner/actions/configure_actions_test.rb
2022-01-26 07:54:58.000000000 +0100
@@ -97,12 +97,12 @@
before do
allow(Yast::PackageCallbacks).to
receive(:RegisterEmptyProgressCallbacks)
allow(Yast::PackageCallbacks).to
receive(:RestorePreviousProgressCallbacks)
- allow(Yast::PackageSystem).to
receive(:CheckAndInstallPackages).and_return installed_pkgs
+ allow(Yast::Package).to receive(:CheckAndInstallPackages).and_return
installed_pkgs
end
let(:installed_pkgs) { false }
it "checks for the corresponding packages and tries to installs them if
needed" do
- expect(Yast::PackageSystem)
+ expect(Yast::Package)
.to receive(:CheckAndInstallPackages).with(packages)
subject.run
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/test/y2partitioner/widgets/overview_test.rb
new/yast2-storage-ng-4.4.34/test/y2partitioner/widgets/overview_test.rb
--- old/yast2-storage-ng-4.4.33/test/y2partitioner/widgets/overview_test.rb
2022-01-21 16:48:18.000000000 +0100
+++ new/yast2-storage-ng-4.4.34/test/y2partitioner/widgets/overview_test.rb
2022-01-26 07:54:58.000000000 +0100
@@ -328,7 +328,7 @@
allow(Y2Storage::StorageFeaturesList).to
receive(:from_bitfield).and_return(used_features)
allow(used_features).to receive(:pkg_list).and_return(["xfsprogs"])
allow(Yast::Package).to receive(:Installed).and_return false
- allow(Yast::PackageSystem).to receive(:CheckAndInstallPackages)
+ allow(Yast::Package).to receive(:CheckAndInstallPackages)
.and_return(installed_packages)
allow(Yast::Mode).to receive(:installation).and_return(installation)
end
@@ -365,7 +365,7 @@
end
it "does not check for missing packages" do
- expect(Yast::PackageSystem).to_not receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to_not receive(:CheckAndInstallPackages)
subject.validate
end
end
@@ -386,7 +386,7 @@
end
it "checks for needed packages" do
- expect(Yast::PackageSystem).to receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to receive(:CheckAndInstallPackages)
.with(["xfsprogs"])
subject.validate
end
@@ -403,7 +403,7 @@
let(:installation) { true }
it "does not check for missing packages" do
- expect(Yast::PackageSystem).to_not
receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to_not receive(:CheckAndInstallPackages)
subject.validate
end
end
@@ -417,7 +417,7 @@
end
it "does not check for missing packages" do
- expect(Yast::PackageSystem).to_not
receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to_not receive(:CheckAndInstallPackages)
subject.validate
end
end
@@ -448,7 +448,7 @@
end
it "checks whether the needed packages are installed" do
- expect(Yast::PackageSystem).to receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to receive(:CheckAndInstallPackages)
.with(["xfsprogs"])
subject.validate
end
@@ -465,7 +465,7 @@
let(:installation) { true }
it "does not check for missing packages" do
- expect(Yast::PackageSystem).to_not receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to_not receive(:CheckAndInstallPackages)
subject.validate
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/test/y2partitioner/widgets/pages/nfs_mounts_test.rb
new/yast2-storage-ng-4.4.34/test/y2partitioner/widgets/pages/nfs_mounts_test.rb
---
old/yast2-storage-ng-4.4.33/test/y2partitioner/widgets/pages/nfs_mounts_test.rb
2022-01-21 16:48:18.000000000 +0100
+++
new/yast2-storage-ng-4.4.34/test/y2partitioner/widgets/pages/nfs_mounts_test.rb
2022-01-26 07:54:58.000000000 +0100
@@ -101,7 +101,7 @@
end
it "does not try to install any package" do
- expect(Yast::PackageSystem).to_not receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to_not receive(:CheckAndInstallPackages)
nfs_page.contents
end
@@ -117,7 +117,7 @@
let(:client_exists) { false }
it "does not try to install any package" do
- expect(Yast::PackageSystem).to_not receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to_not receive(:CheckAndInstallPackages)
nfs_page.contents
end
@@ -153,7 +153,7 @@
end
it "does not try to install any package" do
- expect(Yast::PackageSystem).to_not receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to_not receive(:CheckAndInstallPackages)
nfs_page.contents
end
@@ -169,14 +169,14 @@
let(:client_exists) { false }
it "tries to install yast2-nfs-client" do
- expect(Yast::PackageSystem).to receive(:CheckAndInstallPackages)
+ expect(Yast::Package).to receive(:CheckAndInstallPackages)
.with(["yast2-nfs-client"])
nfs_page.contents
end
context "and installation of yast2-nfs-client suceeds" do
before do
- allow(Yast::PackageSystem).to
receive(:CheckAndInstallPackages).and_return true
+ allow(Yast::Package).to
receive(:CheckAndInstallPackages).and_return true
allow(Yast::WFM).to receive(:CallFunction).with(client_name,
anything)
end
@@ -190,7 +190,7 @@
context "and it does not manage to install yast2-nfs-client" do
before do
- allow(Yast::PackageSystem).to
receive(:CheckAndInstallPackages).and_return false
+ allow(Yast::Package).to
receive(:CheckAndInstallPackages).and_return false
end
it "does not read the NFS system configuration" do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-storage-ng-4.4.33/test/y2storage/package_handler_test.rb
new/yast2-storage-ng-4.4.34/test/y2storage/package_handler_test.rb
--- old/yast2-storage-ng-4.4.33/test/y2storage/package_handler_test.rb
2022-01-21 16:48:18.000000000 +0100
+++ new/yast2-storage-ng-4.4.34/test/y2storage/package_handler_test.rb
2022-01-26 07:54:58.000000000 +0100
@@ -112,11 +112,11 @@
context "by default (:ask is true)" do
before do
- allow(Yast::PackageSystem).to
receive(:CheckAndInstallPackages).and_return true
+ allow(Yast::Package).to receive(:CheckAndInstallPackages).and_return
true
end
it "installs packages directly in the installed system" do
- expect(Yast::PackageSystem).to
receive(:CheckAndInstallPackages).with(subject.pkg_list)
+ expect(Yast::Package).to
receive(:CheckAndInstallPackages).with(subject.pkg_list)
subject.install
end
@@ -124,12 +124,12 @@
# Let's simulate the first package is already installed
allow(Yast::Package).to
receive(:Installed).with(feature_pkg[0]).and_return true
- expect(Yast::PackageSystem).to
receive(:CheckAndInstallPackages).with(feature_pkg[1..-1])
+ expect(Yast::Package).to
receive(:CheckAndInstallPackages).with(feature_pkg[1..-1])
subject.install
end
it "pops up an error dialog if package installation failed" do
- allow(Yast::PackageSystem).to
receive(:CheckAndInstallPackages).and_return(false)
+ allow(Yast::Package).to
receive(:CheckAndInstallPackages).and_return(false)
expect(Yast::Report).to receive(:Error)
subject.install
end