Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-network for openSUSE:Factory 
checked in at 2022-02-03 23:15:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-network (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-network.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-network"

Thu Feb  3 23:15:44 2022 rev:471 rq:950684 version:4.4.36

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes      
2022-02-01 14:02:45.524154298 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-network.new.1898/yast2-network.changes    
2022-02-03 23:15:55.816840566 +0100
@@ -1,0 +2,9 @@
+Tue Feb  1 06:28:14 UTC 2022 - Michal Filka <mfi...@suse.com>
+
+- jsc#SLE-22015
+  - renamed slaves CLI option to conform to inclusive naming:
+    yast lan add name=bond0 bond_ports=eth0 eth1 bootproto=dhcp
+  - the "slaves=" option stays for backward compatibility
+- 4.4.36
+
+-------------------------------------------------------------------

Old:
----
  yast2-network-4.4.35.tar.bz2

New:
----
  yast2-network-4.4.36.tar.bz2

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

Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.DDTxST/_old  2022-02-03 23:15:56.680834668 +0100
+++ /var/tmp/diff_new_pack.DDTxST/_new  2022-02-03 23:15:56.684834641 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-network
-Version:        4.4.35
+Version:        4.4.36
 Release:        0
 Summary:        YaST2 - Network Configuration
 License:        GPL-2.0-only
@@ -27,12 +27,12 @@
 Source0:        %{name}-%{version}.tar.bz2
 
 # testsuite
-BuildRequires:  rubygem(%rb_default_ruby_abi:rspec)
 BuildRequires:  update-desktop-files
 BuildRequires:  yast2-devtools >= 3.1.15
+BuildRequires:  rubygem(%rb_default_ruby_abi:rspec)
 #for install task
-BuildRequires:  rubygem(%rb_default_ruby_abi:yast-rake)
 BuildRequires:  yast2-storage-ng
+BuildRequires:  rubygem(%rb_default_ruby_abi:yast-rake)
 # Replace PackageSystem with Package
 BuildRequires:  yast2 >= 4.4.38
 
@@ -54,12 +54,12 @@
 # Replace PackageSystem with Package
 Requires:       yast2 >= 4.4.38
 # Packages::vnc_packages
-Requires:       yast2-packager >= 4.0.18
 Requires:       augeas-lenses
+Requires:       yast2-packager >= 4.0.18
 Requires:       rubygem(%rb_default_ruby_abi:cfa) >= 0.6.4
 # BusID of all the cards with the same one (bsc#1007172)
-Requires:       hwinfo         >= 21.35
 Requires:       hostname
+Requires:       hwinfo         >= 21.35
 Requires:       yast2-ruby-bindings >= 1.0.0
 Requires:       yast2-xml
 

++++++ yast2-network-4.4.35.tar.bz2 -> yast2-network-4.4.36.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.4.35/package/yast2-network.changes 
new/yast2-network-4.4.36/package/yast2-network.changes
--- old/yast2-network-4.4.35/package/yast2-network.changes      2022-01-28 
12:45:03.000000000 +0100
+++ new/yast2-network-4.4.36/package/yast2-network.changes      2022-02-02 
09:51:06.000000000 +0100
@@ -1,4 +1,13 @@
 -------------------------------------------------------------------
+Tue Feb  1 06:28:14 UTC 2022 - Michal Filka <mfi...@suse.com>
+
+- jsc#SLE-22015
+  - renamed slaves CLI option to conform to inclusive naming:
+    yast lan add name=bond0 bond_ports=eth0 eth1 bootproto=dhcp
+  - the "slaves=" option stays for backward compatibility
+- 4.4.36
+
+-------------------------------------------------------------------
 Wed Jan 26 08:59:57 UTC 2022 - Michal Filka <mfi...@suse.com>
 
 - jsc#SLE-22015
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.4.35/package/yast2-network.spec 
new/yast2-network-4.4.36/package/yast2-network.spec
--- old/yast2-network-4.4.35/package/yast2-network.spec 2022-01-28 
12:45:03.000000000 +0100
+++ new/yast2-network-4.4.36/package/yast2-network.spec 2022-02-02 
09:51:06.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-network
-Version:        4.4.35
+Version:        4.4.36
 Release:        0
 Summary:        YaST2 - Network Configuration
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.4.35/src/clients/lan.rb 
new/yast2-network-4.4.36/src/clients/lan.rb
--- old/yast2-network-4.4.35/src/clients/lan.rb 2022-01-28 12:45:03.000000000 
+0100
+++ new/yast2-network-4.4.36/src/clients/lan.rb 2022-02-02 09:51:06.000000000 
+0100
@@ -90,7 +90,7 @@
             "example" => [
               "yast lan add name=vlan50 ethdevice=eth0 bootproto=dhcp",
               "yast lan add name=br0 bridge_ports=eth0 eth1 bootproot=dhcp",
-              "yast lan add name=bond0 slaves=eth0 eth1 bootproto=dhcp",
+              "yast lan add name=bond0 bond_ports=eth0 eth1 bootproto=dhcp",
               "yast lan add name=dummy0 type=dummy ip=10.0.0.100"
             ]
           },
@@ -155,11 +155,19 @@
             "help" => _("Prefix length"),
             "type" => "string"
           },
-          "slaves"       => {
+          "bond_ports"   => {
             # Commandline option help
             "help" => _("Bond Ports"),
             "type" => "string"
           },
+          "slaves"       => {
+            # Commandline option help
+            # TRANSLATORS: slaves is old option for configuring bond ports. 
User
+            # should be notified that the option is obsolete and bond_ports 
should
+            # be used instead
+            "help" => _("Bond Ports (obsolete, use bond_ports instead)"),
+            "type" => "string"
+          },
           "ethdevice"    => {
             # Commandline option help
             "help" => _("Ethernet Device for VLAN"),
@@ -185,6 +193,7 @@
             "ip",
             "netmask",
             "prefix",
+            "bond_ports",
             "slaves",
             "type",
             "ethdevice",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-network-4.4.35/src/include/network/lan/cmdline.rb 
new/yast2-network-4.4.36/src/include/network/lan/cmdline.rb
--- old/yast2-network-4.4.35/src/include/network/lan/cmdline.rb 2022-01-28 
12:45:03.000000000 +0100
+++ new/yast2-network-4.4.36/src/include/network/lan/cmdline.rb 2022-02-02 
09:51:06.000000000 +0100
@@ -107,6 +107,12 @@
     # Handler for action "add"
     # @param [Hash{String => String}] options action options
     def AddHandler(options)
+      # slaves option is marked as obsolete, bond_ports should be used instead.
+      # If both options are present, new one (bond_ports) wins.
+      if !options.key?("bond_ports") && options.key?("slaves")
+        options["bond_ports"] = options.delete("slaves")
+      end
+
       type = options.fetch("type", infered_type(options))
       if type.empty?
         Report.Error(_("The device type is mandatory."))
@@ -172,7 +178,7 @@
     # @param options [Hash{String => String}] action options
     # @return [String] infered device type; an empty string if not infered
     def infered_type(options)
-      return "bond" if options.include? "slaves"
+      return "bond" if options.include? "bond_ports"
       return "vlan" if options.include? "ethdevice"
       return "br"   if options.include? "bridge_ports"
 
@@ -206,7 +212,7 @@
       case builder.type.short_name
       when "bond"
         # change only if user specify it
-        builder.ports = options["slaves"].split(" ") if options["slaves"]
+        builder.ports = options["bond_ports"].split(" ") if 
options["bond_ports"]
       when "vlan"
         # change only if user specify it
         builder.etherdevice = options["ethdevice"] if options["ethdevice"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-network-4.4.35/test/network_autoconfiguration_test.rb 
new/yast2-network-4.4.36/test/network_autoconfiguration_test.rb
--- old/yast2-network-4.4.35/test/network_autoconfiguration_test.rb     
2022-01-28 12:45:03.000000000 +0100
+++ new/yast2-network-4.4.36/test/network_autoconfiguration_test.rb     
2022-02-02 09:51:06.000000000 +0100
@@ -316,7 +316,7 @@
       end
 
       context "and the routing config was modified" do
-        it "moves the routes from the enslaved interface to the bridge" do
+        it "moves the routes from the bridge port to the bridge" do
           expect { instance.configure_virtuals }.to change { route.interface 
}.from(eth5).to(br0)
         end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-network-4.4.35/test/y2network/widgets/bridge_ports_test.rb 
new/yast2-network-4.4.36/test/y2network/widgets/bridge_ports_test.rb
--- old/yast2-network-4.4.35/test/y2network/widgets/bridge_ports_test.rb        
2022-01-28 12:45:03.000000000 +0100
+++ new/yast2-network-4.4.36/test/y2network/widgets/bridge_ports_test.rb        
2022-02-02 09:51:06.000000000 +0100
@@ -41,7 +41,7 @@
       end
     end
 
-    context "when some of the enslaved interfaces are configured" do
+    context "when some of the bridged interfaces are configured" do
       it "warns the user and request confirmation to continue" do
         allow(builder).to receive(:require_adaptation?).and_return(true)
 

Reply via email to