commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2024-07-29 21:52:09 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1882 (New) Package is "yast2" Mon Jul 29 21:52:09 2024 rev:559 rq:1186617 version:5.0.9 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2024-05-14 13:37:52.777532071 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1882/yast2.changes2024-07-29 21:52:10.760220831 +0200 @@ -1,0 +2,6 @@ +Wed Jul 10 12:19:16 UTC 2024 - Stefan Hundhammer + +- Re-added missing error class (bsc#1227580) +- 5.0.9 + +--- Old: yast2-5.0.8.tar.bz2 New: yast2-5.0.9.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.fYSh87/_old 2024-07-29 21:52:12.224279957 +0200 +++ /var/tmp/diff_new_pack.fYSh87/_new 2024-07-29 21:52:12.228280119 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:5.0.8 +Version:5.0.9 Release:0 Summary:YaST2 Main Package ++ yast2-5.0.8.tar.bz2 -> yast2-5.0.9.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.8/library/systemd/src/lib/yast2/systemd/target.rb new/yast2-5.0.9/library/systemd/src/lib/yast2/systemd/target.rb --- old/yast2-5.0.8/library/systemd/src/lib/yast2/systemd/target.rb 2024-05-09 11:15:04.0 +0200 +++ new/yast2-5.0.9/library/systemd/src/lib/yast2/systemd/target.rb 2024-07-10 16:00:58.0 +0200 @@ -10,6 +10,14 @@ end end +# Exception when systemctl command failed +class SystemctlError < StandardError + # @param details [#to_s] + def initialize(details) +super "Systemctl command failed: #{details}" + end +end + # API to manage a systemd.target unit # # @example How to find a custom systemd target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.8/package/yast2.changes new/yast2-5.0.9/package/yast2.changes --- old/yast2-5.0.8/package/yast2.changes 2024-05-09 11:15:04.0 +0200 +++ new/yast2-5.0.9/package/yast2.changes 2024-07-10 16:00:58.0 +0200 @@ -1,4 +1,10 @@ --- +Wed Jul 10 12:19:16 UTC 2024 - Stefan Hundhammer + +- Re-added missing error class (bsc#1227580) +- 5.0.9 + +--- Mon May 6 13:08:32 UTC 2024 - Ladislav Slezák - Properly close nested progress callbacks (bsc#1223281) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.8/package/yast2.spec new/yast2-5.0.9/package/yast2.spec --- old/yast2-5.0.8/package/yast2.spec 2024-05-09 11:15:04.0 +0200 +++ new/yast2-5.0.9/package/yast2.spec 2024-07-10 16:00:58.0 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:5.0.8 +Version:5.0.9 Release:0 Summary:YaST2 Main Package
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2024-02-20 21:12:26 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1706 (New) Package is "yast2" Tue Feb 20 21:12:26 2024 rev:557 rq:1147374 version:5.0.6 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2024-01-29 22:27:02.789161931 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1706/yast2.changes2024-02-20 21:12:27.625726234 +0100 @@ -1,0 +2,6 @@ +Thu Feb 15 11:55:58 UTC 2024 - Stefan Hundhammer + +- Allow host/domain names starting with an underscore (bsc#1219920) +- 5.0.6 + +--- Old: yast2-5.0.5.tar.bz2 New: yast2-5.0.6.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.I5F9sK/_old 2024-02-20 21:12:28.833770072 +0100 +++ /var/tmp/diff_new_pack.I5F9sK/_new 2024-02-20 21:12:28.833770072 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:5.0.5 +Version:5.0.6 Release:0 Summary:YaST2 Main Package ++ yast2-5.0.5.tar.bz2 -> yast2-5.0.6.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.5/library/types/src/modules/Hostname.rb new/yast2-5.0.6/library/types/src/modules/Hostname.rb --- old/yast2-5.0.5/library/types/src/modules/Hostname.rb 2024-01-29 09:50:31.0 +0100 +++ new/yast2-5.0.6/library/types/src/modules/Hostname.rb 2024-02-15 14:44:32.0 +0100 @@ -81,7 +81,7 @@ def Check(host) return false if host.nil? || host == "" || Ops.greater_than(Builtins.size(host), 63) - Builtins.regexpmatch(host, "^[[:alnum:]]([[:alnum:]-]*[[:alnum:]])?$") + Builtins.regexpmatch(host, "^[[:alnum:]_]([[:alnum:]-]*[[:alnum:]])?$") end # Check syntax of domain entry diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.5/package/yast2.changes new/yast2-5.0.6/package/yast2.changes --- old/yast2-5.0.5/package/yast2.changes 2024-01-29 09:50:31.0 +0100 +++ new/yast2-5.0.6/package/yast2.changes 2024-02-15 14:44:32.0 +0100 @@ -1,4 +1,10 @@ --- +Thu Feb 15 11:55:58 UTC 2024 - Stefan Hundhammer + +- Allow host/domain names starting with an underscore (bsc#1219920) +- 5.0.6 + +--- Fri Jan 26 15:59:21 UTC 2024 - Knut Anderssen - Added s390 z/VM check to YaST::Arch (bsc#1210525). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.5/package/yast2.spec new/yast2-5.0.6/package/yast2.spec --- old/yast2-5.0.5/package/yast2.spec 2024-01-29 09:50:31.0 +0100 +++ new/yast2-5.0.6/package/yast2.spec 2024-02-15 14:44:32.0 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:5.0.5 +Version:5.0.6 Release:0 Summary:YaST2 Main Package
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2024-01-29 22:26:57 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1815 (New) Package is "yast2" Mon Jan 29 22:26:57 2024 rev:556 rq:1142195 version:5.0.5 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2024-01-25 18:39:51.675780032 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1815/yast2.changes2024-01-29 22:27:02.789161931 +0100 @@ -1,0 +2,6 @@ +Fri Jan 26 15:59:21 UTC 2024 - Knut Anderssen + +- Added s390 z/VM check to YaST::Arch (bsc#1210525). +- 5.0.5 + +--- Old: yast2-5.0.4.tar.bz2 New: yast2-5.0.5.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.5Mql12/_old 2024-01-29 22:27:03.545189334 +0100 +++ /var/tmp/diff_new_pack.5Mql12/_new 2024-01-29 22:27:03.549189479 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:5.0.4 +Version:5.0.5 Release:0 Summary:YaST2 Main Package ++ yast2-5.0.4.tar.bz2 -> yast2-5.0.5.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.4/library/general/src/modules/Arch.rb new/yast2-5.0.5/library/general/src/modules/Arch.rb --- old/yast2-5.0.4/library/general/src/modules/Arch.rb 2024-01-24 10:24:12.0 +0100 +++ new/yast2-5.0.5/library/general/src/modules/Arch.rb 2024-01-29 09:50:31.0 +0100 @@ -62,6 +62,9 @@ # zKVM @_is_zkvm = nil + + # zVM + @_is_zvm = nil end # @@ -466,6 +469,22 @@ end # +# zVM stuff + +# zVM means VM on IBM System z +# true if zVM is running +# +# @return true if we are running on zVM hypervisor +def is_zvm + if @_is_zvm.nil? +# using different check than on x86 as recommended by IBM +@_is_zvm = s390 && Yast::WFM.Execute(path(".local.bash"), "/usr/bin/grep 'Control Program: z\/VM' /proc/sysinfo") == 0 + end + + @_is_zvm +end + +# # SMP stuff # Set "Arch::has_smp ()". Since Alpha doesn't reliably probe smp, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.4/library/general/test/arch_test.rb new/yast2-5.0.5/library/general/test/arch_test.rb --- old/yast2-5.0.4/library/general/test/arch_test.rb 2024-01-24 10:24:12.0 +0100 +++ new/yast2-5.0.5/library/general/test/arch_test.rb 2024-01-29 09:50:31.0 +0100 @@ -221,6 +221,35 @@ end end + describe ".is_zvm" do +it "returns true if on s390 and in the zVM environment" do + allow(Yast::WFM).to receive(:Execute).and_return 0 + allow(Yast::SCR).to receive(:Read).and_return "s390_64" + + is_zvm = Yast::Arch.is_zvm + + expect(is_zvm).to eq(true) +end + +it "returns false if on s390 and not in the zVM environment" do + allow(Yast::WFM).to receive(:Execute).and_return 1 + allow(Yast::SCR).to receive(:Read).and_return "s390_64" + + is_zvm = Yast::Arch.is_zvm + + expect(is_zvm).to eq(false) +end + +it "returns false on other architectures" do + allow(Yast::WFM).to receive(:Execute).and_return 0 + allow(Yast::SCR).to receive(:Read).and_return "x86_64" + + is_zvm = Yast::Arch.is_zvm + + expect(is_zvm).to eq(false) +end + end + describe ".is_wsl" do before do allow(Yast::SCR).to receive(:Read) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.4/package/yast2.changes new/yast2-5.0.5/package/yast2.changes --- old/yast2-5.0.4/package/yast2.changes 2024-01-24 10:24:12.0 +0100 +++ new/yast2-5.0.5/package/yast2.changes 2024-01-29 09:50:31.0 +0100 @@ -1,4 +1,10 @@ --- +Fri Jan 26 15:59:21 UTC 2024 - Knut Anderssen + +- Added s390 z/VM check to YaST::Arch (bsc#1210525). +- 5.0.5 + +--- Tue Jan 23 12:52:08 UTC 2024 - Josef Reidinger - Reading Kernel Params: Use kernel cmdline when install.inf is not diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.4/package/yast2.spec new/yast2-5.0.5/package/yast2.spec --- old/yast2-5.0.4/package/yast2.spec 2024-01-24 10:24:12.0 +0100 +++
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2023-11-02 20:20:55 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.17445 (New) Package is "yast2" Thu Nov 2 20:20:55 2023 rev:554 rq:1121597 version:5.0.3 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2023-10-25 18:02:42.586189244 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.17445/yast2.changes 2023-11-02 20:21:00.550818499 +0100 @@ -1,0 +2,6 @@ +Wed Nov 1 08:35:38 UTC 2023 - Ladislav Slezák + +- Added Repository#refresh method (related to bsc#1215884) +- 5.0.3 + +--- Old: yast2-5.0.2.tar.bz2 New: yast2-5.0.3.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.Da71Yn/_old 2023-11-02 20:21:01.490853089 +0100 +++ /var/tmp/diff_new_pack.Da71Yn/_new 2023-11-02 20:21:01.490853089 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:5.0.2 +Version:5.0.3 Release:0 Summary:YaST2 Main Package ++ yast2-5.0.2.tar.bz2 -> yast2-5.0.3.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.2/library/packages/src/lib/y2packager/repository.rb new/yast2-5.0.3/library/packages/src/lib/y2packager/repository.rb --- old/yast2-5.0.2/library/packages/src/lib/y2packager/repository.rb 2023-10-25 15:31:25.0 +0200 +++ new/yast2-5.0.3/library/packages/src/lib/y2packager/repository.rb 2023-11-01 11:59:32.0 +0100 @@ -253,6 +253,29 @@ true end +# Refresh the repository metadata on disk. +# +# If the repository is loaded in memory you need to reload the repositories +# again to activate the changes. +# +# During refresh the progress callbacks might be executed. +# +# @param force [Boolean] Force refreshing the data unconditionally. +# Disabled by default, libzypp checks the metadata time +# stamp and skips refresh if the repository has been refreshed not long ago. +# See the "repo.refresh.delay" option in /etc/zypp/zypp.conf file. +# @return [Boolean] true on success, false otherwise +# +# @see Yast::Pkg.SourceRefreshNow +# @see Yast::Pkg.SourceForceRefreshNow +def refresh(force: false) + if force +Yast::Pkg.SourceForceRefreshNow(repo_id) + else +Yast::Pkg.SourceRefreshNow(repo_id) + end +end + # Change the repository URL # # The URL will be changed only in memory. Calling to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.2/library/packages/test/repository_test.rb new/yast2-5.0.3/library/packages/test/repository_test.rb --- old/yast2-5.0.2/library/packages/test/repository_test.rb2023-10-25 15:31:25.0 +0200 +++ new/yast2-5.0.3/library/packages/test/repository_test.rb2023-11-01 11:59:32.0 +0100 @@ -289,6 +289,23 @@ end end + describe "#refresh" do +it "runs the refresh only when needed if called without parameters" do + expect(Yast::Pkg).to receive(:SourceRefreshNow).with(repo.repo_id) + repo.refresh +end + +it "runs the refresh only when needed if the force parameter is false" do + expect(Yast::Pkg).to receive(:SourceRefreshNow).with(repo.repo_id) + repo.refresh(force: false) +end + +it "always runs the refresh if the force parameter is true" do + expect(Yast::Pkg).to receive(:SourceForceRefreshNow).with(repo.repo_id) + repo.refresh(force: true) +end + end + describe "#products" do let(:products_data) { [product] } let(:product) do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.2/package/yast2.changes new/yast2-5.0.3/package/yast2.changes --- old/yast2-5.0.2/package/yast2.changes 2023-10-25 15:31:25.0 +0200 +++ new/yast2-5.0.3/package/yast2.changes 2023-11-01 11:59:32.0 +0100 @@ -1,4 +1,10 @@ --- +Wed Nov 1 08:35:38 UTC 2023 - Ladislav Slezák + +- Added Repository#refresh method (related to bsc#1215884) +- 5.0.3 + +--- Wed Oct 25 11:16:21 UTC 2023 - Knut Anderssen - Fix firewalld zones reader adapting it to the new firewall-cmd diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.2/package/yast2.spec new/yast2-5.0.3/package/yast2.spec ---
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2023-10-25 18:01:58 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.24901 (New) Package is "yast2" Wed Oct 25 18:01:58 2023 rev:553 rq:1120290 version:5.0.2 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2023-10-20 23:17:26.744005610 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.24901/yast2.changes 2023-10-25 18:02:42.586189244 +0200 @@ -1,0 +2,7 @@ +Wed Oct 25 11:16:21 UTC 2023 - Knut Anderssen + +- Fix firewalld zones reader adapting it to the new firewall-cmd + --list-all-zones output format (bsc#1216534) +- 5.0.2 + +--- Old: yast2-5.0.1.tar.bz2 New: yast2-5.0.2.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.E7IkFF/_old 2023-10-25 18:02:43.526223944 +0200 +++ /var/tmp/diff_new_pack.E7IkFF/_new 2023-10-25 18:02:43.526223944 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:5.0.1 +Version:5.0.2 Release:0 Summary:YaST2 Main Package ++ yast2-5.0.1.tar.bz2 -> yast2-5.0.2.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.1/library/network/src/lib/y2firewall/firewalld/zone_reader.rb new/yast2-5.0.2/library/network/src/lib/y2firewall/firewalld/zone_reader.rb --- old/yast2-5.0.1/library/network/src/lib/y2firewall/firewalld/zone_reader.rb 2023-10-18 23:22:43.0 +0200 +++ new/yast2-5.0.2/library/network/src/lib/y2firewall/firewalld/zone_reader.rb 2023-10-25 15:31:25.0 +0200 @@ -91,8 +91,8 @@ end def current_zone_from(line) -attribute, _value = line.split(/\s*\(active\)\s*$/) -zone_names.include?(attribute) ? attribute : nil +name, *_status = line.split +zone_names.include?(name) ? name : nil end ATTRIBUTE_MAPPING = { "summary" => "short" }.freeze diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.1/library/network/test/y2firewall/firewalld/zone_reader_test.rb new/yast2-5.0.2/library/network/test/y2firewall/firewalld/zone_reader_test.rb --- old/yast2-5.0.1/library/network/test/y2firewall/firewalld/zone_reader_test.rb 2023-10-18 23:22:43.0 +0200 +++ new/yast2-5.0.2/library/network/test/y2firewall/firewalld/zone_reader_test.rb 2023-10-25 15:31:25.0 +0200 @@ -43,11 +43,11 @@ " rich rules: ", "\t", "", -"public (active)", +"public (default, active)", " summary: Public", -" description: For use in public areas. You do not trust the other" \ -" computers on networks to not harm your computer." \ -" Only selected incoming connections are accepted.", +" description: For use in public areas. You do not trust the other " \ +"computers on networks to not harm your computer. " \ +"Only selected incoming connections are accepted.", " target: default", " icmp-block-inversion: no", " interfaces: eth0 ens3", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.1/package/yast2.changes new/yast2-5.0.2/package/yast2.changes --- old/yast2-5.0.1/package/yast2.changes 2023-10-18 23:22:43.0 +0200 +++ new/yast2-5.0.2/package/yast2.changes 2023-10-25 15:31:25.0 +0200 @@ -1,4 +1,11 @@ --- +Wed Oct 25 11:16:21 UTC 2023 - Knut Anderssen + +- Fix firewalld zones reader adapting it to the new firewall-cmd + --list-all-zones output format (bsc#1216534) +- 5.0.2 + +--- Thu Oct 5 08:50:25 UTC 2023 - Martin Vidner - Fix case-insensitive finding of LICENSE.*.TXT (bsc#1215698) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-5.0.1/package/yast2.spec new/yast2-5.0.2/package/yast2.spec --- old/yast2-5.0.1/package/yast2.spec 2023-10-18 23:22:43.0 +0200 +++ new/yast2-5.0.2/package/yast2.spec 2023-10-25 15:31:25.0 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:5.0.1 +Version:5.0.2 Release:0 Summary:YaST2 Main Package
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2023-10-20 23:16:35 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1945 (New) Package is "yast2" Fri Oct 20 23:16:35 2023 rev:552 rq:1118979 version:5.0.1 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2023-03-30 22:50:59.764487792 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1945/yast2.changes2023-10-20 23:17:26.744005610 +0200 @@ -1,0 +2,11 @@ +Thu Oct 5 08:50:25 UTC 2023 - Martin Vidner + +- Fix case-insensitive finding of LICENSE.*.TXT (bsc#1215698) +- 5.0.1 + +--- +Wed Aug 30 20:16:10 UTC 2023 - Josef Reidinger + +- 5.0.0 (bsc#1185510) + +--- Old: yast2-4.6.2.tar.bz2 New: yast2-5.0.1.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.ACMV4O/_old 2023-10-20 23:17:27.424030421 +0200 +++ /var/tmp/diff_new_pack.ACMV4O/_new 2023-10-20 23:17:27.428030567 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.6.2 +Version:5.0.1 Release:0 Summary:YaST2 Main Package ++ yast2-4.6.2.tar.bz2 -> yast2-5.0.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.6.2/library/packages/src/lib/y2packager/licenses_fetchers/archive.rb new/yast2-5.0.1/library/packages/src/lib/y2packager/licenses_fetchers/archive.rb --- old/yast2-4.6.2/library/packages/src/lib/y2packager/licenses_fetchers/archive.rb 2023-03-29 17:13:31.0 +0200 +++ new/yast2-5.0.1/library/packages/src/lib/y2packager/licenses_fetchers/archive.rb 2023-10-18 23:22:43.0 +0200 @@ -42,7 +42,7 @@ begin unpack_archive -license_files = Dir.glob(File.join(archive_dir, "**", "LICENSE.*.TXT"), File::FNM_CASEFOLD) +license_files = find_case_insensitive(archive_dir, "LICENSE.*.TXT") # NOTE: despite the use of the case-insensitive flag, the captured group will be # returned as it is. languages = license_files.map { |path| path[/LICENSE.(\w*).TXT/i, 1] } @@ -155,12 +155,22 @@ # Return the path for the given file in specified directory # - # @param directory [String] Directory where licenses were unpacked - # @param file [String] File name (without directory component) - # + # @param (see #find_case_insensitive) # @return [String, nil] The file path; nil if was not found - def find_path_for(directory, file) -Dir.glob(File.join(directory, "**", file), File::FNM_CASEFOLD).first + def find_path_for(directory, fileglob) +find_case_insensitive(directory, fileglob).first + end + + # Return paths for the given file glob in specified directory + # + # @param directory [String] Directory, whole subtree is searched + # @param fileglob [String] File name, with glob characters like `*` `{a,b}`, case insensitive + # @return [Array] All found file paths + def find_case_insensitive(directory, fileglob) +files = Dir.glob(File.join(directory, "**", "*")) +files.find_all do |fn| + File.fnmatch?(File.join(directory, "**", fileglob), fn, File::FNM_CASEFOLD | File::FNM_EXTGLOB) +end end end end Binary files old/yast2-4.6.2/library/packages/test/data/rpm/licenses_test.tar.gz and new/yast2-5.0.1/library/packages/test/data/rpm/licenses_test.tar.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.6.2/package/yast2.changes new/yast2-5.0.1/package/yast2.changes --- old/yast2-4.6.2/package/yast2.changes 2023-03-29 17:13:31.0 +0200 +++ new/yast2-5.0.1/package/yast2.changes 2023-10-18 23:22:43.0 +0200 @@ -1,4 +1,15 @@ --- +Thu Oct 5 08:50:25 UTC 2023 - Martin Vidner + +- Fix case-insensitive finding of LICENSE.*.TXT (bsc#1215698) +- 5.0.1 + +--- +Wed Aug 30 20:16:10 UTC 2023 - Josef Reidinger + +- 5.0.0 (bsc#1185510) + +--- Wed Mar 29 13:13:52 UTC 2023 - Josef Reidinger - Replace calls to mkinitrd with dracut as mkinitrd will be diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.6.2/package/yast2.spec new/yast2-5.0.1/package/yast2.spec ---
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2023-03-30 22:50:54 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.31432 (New) Package is "yast2" Thu Mar 30 22:50:54 2023 rev:551 rq:1075296 version:4.6.2 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2023-03-07 16:49:10.401217978 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.31432/yast2.changes 2023-03-30 22:50:59.764487792 +0200 @@ -1,0 +2,7 @@ +Wed Mar 29 13:13:52 UTC 2023 - Josef Reidinger + +- Replace calls to mkinitrd with dracut as mkinitrd will be + dropped (bsc#1203019) +- 4.6.2 + +--- Old: yast2-4.6.1.tar.bz2 New: yast2-4.6.2.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.MvDVWe/_old 2023-03-30 22:51:00.408491239 +0200 +++ /var/tmp/diff_new_pack.MvDVWe/_new 2023-03-30 22:51:00.412491260 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.6.1 +Version:4.6.2 Release:0 Summary:YaST2 Main Package ++ yast2-4.6.1.tar.bz2 -> yast2-4.6.2.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.6.1/library/system/src/modules/Initrd.rb new/yast2-4.6.2/library/system/src/modules/Initrd.rb --- old/yast2-4.6.1/library/system/src/modules/Initrd.rb2023-03-06 15:10:24.0 +0100 +++ new/yast2-4.6.2/library/system/src/modules/Initrd.rb2023-03-29 17:13:31.0 +0200 @@ -47,7 +47,6 @@ Yast.import "Label" Yast.import "Misc" Yast.import "Mode" - Yast.import "Report" Yast.import "Stage" Yast.import "Directory" @@ -69,11 +68,6 @@ @changed = false # true if settings were already read, flase otherwise @was_read = false - # parametr for mkinitrd because of splash screen - # used for choosing right size of splash - @splash = "" - # Additional parameters for mkinitrd - @additional_parameters = "" # List of modules which should be not added/removed to/from initrd @modules_to_skip = nil @@ -111,53 +105,6 @@ # module functions -# Get the list of modules which don't belong to initrd -# Initialize the list if was not initialized before according to the -# architecture -# @return a list of modules -def getModulesToSkip - if @modules_to_skip.nil? -# usb and cdrom modules dont belong to initrd, -# they're loaded by hotplug -@modules_to_skip = [ - "input", - "hid", - "keybdev", - "mousedev", - "cdrom", - "ide-cd", - "sr_mod", - "xfs_support", - "xfs_dmapi", - "ide-scsi" -] -# some other modules don't belong to initrd on PPC -if Arch.ppc - ppc_modules_to_skip = ["reiserfs", "ext3", "jbd"] - @modules_to_skip = Convert.convert( -Builtins.merge(@modules_to_skip, ppc_modules_to_skip), -from: "list", -to: "list " - ) -end -# currently no disk controller modules are known to fail in initrd (bnc#719696), list removed - end - deep_copy(@modules_to_skip) -end - -# reset settings to empty list of modules -def Reset - Builtins.y2milestone("Reseting initrd settings") - @was_read = false - @changed = false - @modules = [] - @modules_to_store = {} - @read_modules = [] - @modules_settings = {} - - nil -end - # read seettings from sysconfig # @return true on success def Read @@ -185,142 +132,6 @@ true end -# List modules included in initrd -# @return [Array] of strings with modulenames -def ListModules - Read() if !(@was_read || Mode.config) - Builtins.filter(@modules) { |m| Ops.get(@modules_to_store, m, false) } -end - -# add module to ramdisk -# @param [String] modname name of module -# @param [String] modargs arguments to be passes to module -def AddModule(modname, modargs) - log.warn "Initrd.AddModule() is deprecated, do not use (sysconfig.kernel.INITRD_MODULES " \ - "is not written anymore, see bnc#895084)" - - if Stage.initial && Builtins.size(@modules) == 0 -tmp_mods = Convert.to_string( - SCR.Read(path(".etc.install_inf.InitrdModules")) -) -@modules = Builtins.splitstring(tmp_mods, " ") if !tmp_mods.nil? && tmp_mods != "" -@was_read = true - elsif !(@was_read ||
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2023-03-07 16:48:57 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.31432 (New) Package is "yast2" Tue Mar 7 16:48:57 2023 rev:550 rq:1069653 version:4.6.1 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2023-03-04 22:42:39.623591944 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.31432/yast2.changes 2023-03-07 16:49:10.401217978 +0100 @@ -1,0 +2,7 @@ +Mon Mar 6 13:54:48 UTC 2023 - Stefan Hundhammer + +- Merged SLE-15-SP5 branch +- Revert restoring DnsServerAPI.pm (bsc#1208833) +- 4.6.1 + +--- Old: yast2-4.6.0.tar.bz2 New: yast2-4.6.1.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.5z6wm1/_old 2023-03-07 16:49:11.373223093 +0100 +++ /var/tmp/diff_new_pack.5z6wm1/_new 2023-03-07 16:49:11.377223114 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.6.0 +Version:4.6.1 Release:0 Summary:YaST2 Main Package ++ yast2-4.6.0.tar.bz2 -> yast2-4.6.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.6.0/package/yast2.changes new/yast2-4.6.1/package/yast2.changes --- old/yast2-4.6.0/package/yast2.changes 2023-03-03 15:30:48.0 +0100 +++ new/yast2-4.6.1/package/yast2.changes 2023-03-06 15:10:24.0 +0100 @@ -1,4 +1,11 @@ --- +Mon Mar 6 13:54:48 UTC 2023 - Stefan Hundhammer + +- Merged SLE-15-SP5 branch +- Revert restoring DnsServerAPI.pm (bsc#1208833) +- 4.6.1 + +--- Fri Mar 03 14:29:01 UTC 2023 - Ladislav Slezák - Bump version to 4.6.0 (bsc#1208913) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.6.0/package/yast2.spec new/yast2-4.6.1/package/yast2.spec --- old/yast2-4.6.0/package/yast2.spec 2023-03-03 15:30:48.0 +0100 +++ new/yast2-4.6.1/package/yast2.spec 2023-03-06 15:10:24.0 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.6.0 +Version:4.6.1 Release:0 Summary:YaST2 Main Package
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2023-03-04 22:42:27 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.31432 (New) Package is "yast2" Sat Mar 4 22:42:27 2023 rev:549 rq:1069178 version:4.6.0 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2023-02-14 20:08:12.596416694 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.31432/yast2.changes 2023-03-04 22:42:39.623591944 +0100 @@ -1,0 +2,5 @@ +Fri Mar 03 14:29:01 UTC 2023 - Ladislav Slezák + +- Bump version to 4.6.0 (bsc#1208913) + +--- Old: yast2-4.5.24.tar.bz2 New: yast2-4.6.0.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.134Rqf/_old 2023-03-04 22:42:40.315595271 +0100 +++ /var/tmp/diff_new_pack.134Rqf/_new 2023-03-04 22:42:40.319595290 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.24 +Version:4.6.0 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.24.tar.bz2 -> yast2-4.6.0.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.24/package/yast2.changes new/yast2-4.6.0/package/yast2.changes --- old/yast2-4.5.24/package/yast2.changes 2023-02-14 14:50:18.0 +0100 +++ new/yast2-4.6.0/package/yast2.changes 2023-03-03 15:30:48.0 +0100 @@ -1,4 +1,9 @@ --- +Fri Mar 03 14:29:01 UTC 2023 - Ladislav Slezák + +- Bump version to 4.6.0 (bsc#1208913) + +--- Tue Feb 14 10:28:30 UTC 2023 - Martin Vidner - Allow dir:///foo to equal dir:/foo (bsc#1207239) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.24/package/yast2.spec new/yast2-4.6.0/package/yast2.spec --- old/yast2-4.5.24/package/yast2.spec 2023-02-14 14:50:18.0 +0100 +++ new/yast2-4.6.0/package/yast2.spec 2023-03-03 15:30:48.0 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.24 +Version:4.6.0 Release:0 Summary:YaST2 Main Package
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2023-02-14 20:08:10 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.22824 (New) Package is "yast2" Tue Feb 14 20:08:10 2023 rev:548 rq:1065758 version:4.5.24 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2023-01-20 17:37:19.868073518 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.22824/yast2.changes 2023-02-14 20:08:12.596416694 +0100 @@ -1,0 +2,14 @@ +Tue Feb 14 10:28:30 UTC 2023 - Martin Vidner + +- Allow dir:///foo to equal dir:/foo (bsc#1207239) +- 4.5.24 + +--- +Wed Feb 8 21:46:04 UTC 2023 - Josef Reidinger + +- DnsServerApi: drop module. It should never be in yast2 as it + import module from yast2-dns-server. And now dns-server is going + to be dropped (bsc#1205363) +- 4.5.23 + +--- Old: yast2-4.5.22.tar.bz2 New: yast2-4.5.24.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.kM3xNi/_old 2023-02-14 20:08:13.196420246 +0100 +++ /var/tmp/diff_new_pack.kM3xNi/_new 2023-02-14 20:08:13.200420270 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.22 +Version:4.5.24 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.22.tar.bz2 -> yast2-4.5.24.tar.bz2 ++ 2904 lines of diff (skipped)
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2023-01-20 17:37:18 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.32243 (New) Package is "yast2" Fri Jan 20 17:37:18 2023 rev:547 rq:1059366 version:4.5.22 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2023-01-11 14:34:20.604989742 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.32243/yast2.changes 2023-01-20 17:37:19.868073518 +0100 @@ -1,0 +2,6 @@ +Wed Jan 18 12:52:10 UTC 2023 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check (boo#1206798) +- 4.5.22 + +--- Old: yast2-4.5.21.tar.bz2 New: yast2-4.5.22.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.kFGKr9/_old 2023-01-20 17:37:20.876079094 +0100 +++ /var/tmp/diff_new_pack.kFGKr9/_new 2023-01-20 17:37:20.884079138 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.21 +Version:4.5.22 Release:0 Summary:YaST2 Main Package @@ -173,7 +173,7 @@ %yast_install -%if !0%{?usrmerged} +%if 0%{?suse_version} < 1550 mkdir -p %{buildroot}/sbin ln -s ../%{_sbindir}/yast %{buildroot}/sbin ln -s ../%{_sbindir}/yast2 %{buildroot}/sbin @@ -240,7 +240,7 @@ %{_mandir}/*/* %doc %{yast_vardir}/hooks/README.md -%if !0%{?usrmerged} +%if 0%{?suse_version} < 1550 /sbin/yast* %endif %{_sbindir}/yast* ++ yast2-4.5.21.tar.bz2 -> yast2-4.5.22.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.21/package/yast2.changes new/yast2-4.5.22/package/yast2.changes --- old/yast2-4.5.21/package/yast2.changes 2023-01-10 13:00:31.0 +0100 +++ new/yast2-4.5.22/package/yast2.changes 2023-01-18 13:57:33.0 +0100 @@ -1,4 +1,10 @@ --- +Wed Jan 18 12:52:10 UTC 2023 - Ludwig Nussel + +- Replace transitional %usrmerged macro with regular version check (boo#1206798) +- 4.5.22 + +--- Tue Jan 10 11:38:40 UTC 2023 - José Iván López González - Show help text in YaST Control Center (bsc#1206919). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.21/package/yast2.spec new/yast2-4.5.22/package/yast2.spec --- old/yast2-4.5.21/package/yast2.spec 2023-01-10 13:00:31.0 +0100 +++ new/yast2-4.5.22/package/yast2.spec 2023-01-18 13:57:33.0 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.21 +Version:4.5.22 Release:0 Summary:YaST2 Main Package @@ -173,7 +173,7 @@ %yast_install -%if !0%{?usrmerged} +%if 0%{?suse_version} < 1550 mkdir -p %{buildroot}/sbin ln -s ../%{_sbindir}/yast %{buildroot}/sbin ln -s ../%{_sbindir}/yast2 %{buildroot}/sbin @@ -240,7 +240,7 @@ %{_mandir}/*/* %doc %{yast_vardir}/hooks/README.md -%if !0%{?usrmerged} +%if 0%{?suse_version} < 1550 /sbin/yast* %endif %{_sbindir}/yast*
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2023-01-11 14:33:40 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.32243 (New) Package is "yast2" Wed Jan 11 14:33:40 2023 rev:546 rq:1057610 version:4.5.21 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-12-02 13:12:31.377649268 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.32243/yast2.changes 2023-01-11 14:34:20.604989742 +0100 @@ -1,0 +2,6 @@ +Tue Jan 10 11:38:40 UTC 2023 - José Iván López González + +- Show help text in YaST Control Center (bsc#1206919). +- 4.5.21 + +--- Old: yast2-4.5.20.tar.bz2 New: yast2-4.5.21.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.JntsSC/_old 2023-01-11 14:34:21.324993811 +0100 +++ /var/tmp/diff_new_pack.JntsSC/_new 2023-01-11 14:34:21.328993834 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2 # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.20 +Version:4.5.21 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.20.tar.bz2 -> yast2-4.5.21.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.20/library/desktop/src/clients/menu.rb new/yast2-4.5.21/library/desktop/src/clients/menu.rb --- old/yast2-4.5.20/library/desktop/src/clients/menu.rb2022-12-01 17:36:45.0 +0100 +++ new/yast2-4.5.21/library/desktop/src/clients/menu.rb2023-01-10 13:00:31.0 +0100 @@ -264,7 +264,7 @@ VSpacing(1.0), HBox( HSpacing(1), -PushButton(Id(:help), Opt(:key_F1, :helpButton), Label.HelpButton), +PushButton(Id(:help), Opt(:key_F1), Label.HelpButton), HStretch(), PushButton(Id(:run), Opt(:defaultButton), _("Run")), PushButton(Id(:quit), Opt(:key_F9, :cancelButton), Label.QuitButton), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.20/package/yast2.changes new/yast2-4.5.21/package/yast2.changes --- old/yast2-4.5.20/package/yast2.changes 2022-12-01 17:36:45.0 +0100 +++ new/yast2-4.5.21/package/yast2.changes 2023-01-10 13:00:31.0 +0100 @@ -1,4 +1,10 @@ --- +Tue Jan 10 11:38:40 UTC 2023 - José Iván López González + +- Show help text in YaST Control Center (bsc#1206919). +- 4.5.21 + +--- Thu Dec 1 16:12:54 UTC 2022 - Josef Reidinger - ArchFilter: Add new class to allow unified definition of hardware diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.20/package/yast2.spec new/yast2-4.5.21/package/yast2.spec --- old/yast2-4.5.20/package/yast2.spec 2022-12-01 17:36:45.0 +0100 +++ new/yast2-4.5.21/package/yast2.spec 2023-01-10 13:00:31.0 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.20 +Version:4.5.21 Release:0 Summary:YaST2 Main Package
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-12-02 13:12:21 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1835 (New) Package is "yast2" Fri Dec 2 13:12:21 2022 rev:545 rq:1039367 version:4.5.20 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-11-18 15:42:42.278343699 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1835/yast2.changes2022-12-02 13:12:31.377649268 +0100 @@ -1,0 +2,9 @@ +Thu Dec 1 16:12:54 UTC 2022 - Josef Reidinger + +- ArchFilter: Add new class to allow unified definition of hardware + architecture filter. The main use case is to read arch + specific configuration in various configuration files like + control.xml or d-installer.yml (gh#yast/d-installer#279) +- 4.5.20 + +--- Old: yast2-4.5.19.tar.bz2 New: yast2-4.5.20.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.7nvyJ5/_old 2022-12-02 13:12:32.061653004 +0100 +++ /var/tmp/diff_new_pack.7nvyJ5/_new 2022-12-02 13:12:32.069653048 +0100 @@ -17,9 +17,9 @@ Name: yast2 -Version:4.5.19 -Release:0 +Version:4.5.20 +Release:0 Summary:YaST2 Main Package License:GPL-2.0-only Group: System/YaST ++ yast2-4.5.19.tar.bz2 -> yast2-4.5.20.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.19/library/general/src/lib/yast2/arch_filter.rb new/yast2-4.5.20/library/general/src/lib/yast2/arch_filter.rb --- old/yast2-4.5.19/library/general/src/lib/yast2/arch_filter.rb 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.5.20/library/general/src/lib/yast2/arch_filter.rb 2022-12-01 17:36:45.0 +0100 @@ -0,0 +1,112 @@ +# Copyright (c) [2022] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + +require "yast" + +Yast.import "Arch" + +module Yast2 + # Represents filtering based on hardware architecture like x86_64 or ppc64. + # Original code lived in Y2Storage::SubvolSpecification + # @example + # Yast2::ArchFilter.from_string("x86_64,aarch64").match? + class ArchFilter +# Error when invalid specification for filter is used +class Invalid < RuntimeError + def initialize(spec) +super("Invalid part of architecture specification '#{spec}'") + end +end + +# @return [Array] list of specifications where each entry is hash with key `:method` and +# `:negate`, where method is Yast::Arch method and negate specify if +# method have to return false. There is one specific method `:all` that is not in Yast::Arch, +# but can be used to always return true. +attr_reader :specifications + +# creates new architecture filter from passed list of individual specifications +# @param specs [Array] +# @raise Invalid when architecture specification is invalid +def initialize(specs) + @specifications = [] + specs.each do |spec| +method = spec.downcase +negate = spec.start_with?("!") +method = spec[1..-1] if negate +raise Invalid, spec unless valid_method?(method) + +@specifications << { method: method.to_sym, negate: negate } + end +end + +# Parses architecture filter specification from a string. +# +# Supported values are methods from {Yast::ArchClass Arch} with possible `!` in front of it. +# +# When a `!` is used it is called a *negative* method and without it is a *positive* one. +# +# A list of methods is separated with commas `,`. +# To match, +# at least one positive specified method has to return true and +# all negative methods have to return false. +# If there are no positive methods then only negatives are evaluated. +# +# Whitespaces are allowed. Only `!` and method has to be without space. +# Also it is
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-11-18 15:42:38 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1597 (New) Package is "yast2" Fri Nov 18 15:42:38 2022 rev:544 rq:1033485 version:4.5.19 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-10-27 13:54:34.724691889 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1597/yast2.changes2022-11-18 15:42:42.278343699 +0100 @@ -1,0 +2,6 @@ +Mon Oct 31 13:07:35 UTC 2022 - Martin Vidner + +- Fix hash vs keyword arguments in RSpec expectations (bsc#1204871) +- 4.5.19 + +--- Old: yast2-4.5.18.tar.bz2 New: yast2-4.5.19.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.uvUXjE/_old 2022-11-18 15:42:42.986346810 +0100 +++ /var/tmp/diff_new_pack.uvUXjE/_new 2022-11-18 15:42:42.990346827 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.18 +Version:4.5.19 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.18.tar.bz2 -> yast2-4.5.19.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.18/library/cwm/test/cwm_test.rb new/yast2-4.5.19/library/cwm/test/cwm_test.rb --- old/yast2-4.5.18/library/cwm/test/cwm_test.rb 2022-10-25 17:20:01.0 +0200 +++ new/yast2-4.5.19/library/cwm/test/cwm_test.rb 2022-11-04 11:15:57.0 +0100 @@ -48,6 +48,7 @@ let(:test_stringterm) { VBox(HBox("w1")) } let(:widget_names) { ["w1", "w2"] } + let(:event) { { "ID" => :my_event_id } } let(:test_widgets) do { "w1" => { @@ -158,9 +159,9 @@ # used by CWMTab and CWM::ReplacePoint describe "#saveWidgets" do it "calls store methods" do - expect(self).to receive(:generic_save).with("w1", "ID" => :event) - expect(self).to receive(:w2_store).with("w2", "ID" => :event) - subject.saveWidgets(run_widgets, "ID" => :event) + expect(self).to receive(:generic_save).with("w1", event) + expect(self).to receive(:w2_store).with("w2", event) + subject.saveWidgets(run_widgets, event) end # used via GetProcessedWidget by yast2-slp-server and yast2 @@ -168,29 +169,29 @@ allow(self).to receive(:generic_save) allow(self).to receive(:w2_store) expect(subject).to receive(:processed_widget=).twice - subject.saveWidgets(run_widgets, "ID" => :event) + subject.saveWidgets(run_widgets, event) end end # used by CWMTab and CWM::ReplacePoint describe "#handleWidgets" do it "calls the handle methods" do - expect(self).to receive(:w1_handle).with("w1", "ID" => :event).and_return(nil) - expect(self).to receive(:w2_handle).with("w2", "ID" => :event).and_return(nil) - expect(subject.handleWidgets(run_widgets, "ID" => :event)).to eq(nil) + expect(self).to receive(:w1_handle).with("w1", event).and_return(nil) + expect(self).to receive(:w2_handle).with("w2", event).and_return(nil) + expect(subject.handleWidgets(run_widgets, event)).to eq(nil) end it "breaks the loop if a handler returns non-nil" do - expect(self).to receive(:w1_handle).with("w1", "ID" => :event).and_return(:foo) + expect(self).to receive(:w1_handle).with("w1", event).and_return(:foo) expect(self).to_not receive(:w2_handle) - expect(subject.handleWidgets(run_widgets, "ID" => :event)).to eq(:foo) + expect(subject.handleWidgets(run_widgets, event)).to eq(:foo) end it "sets @processed_widget" do allow(self).to receive(:w1_handle).and_return(nil) allow(self).to receive(:w2_handle).and_return(nil) expect(subject).to receive(:processed_widget=).twice - subject.handleWidgets(run_widgets, "ID" => :event) + subject.handleWidgets(run_widgets, event) end it "filters the events if 'handle_events' is specified" do @@ -198,25 +199,25 @@ allow(self).to receive(:w2_handle) widgets = deep_copy(run_widgets) widgets[0]["handle_events"] = [:special_event] - subject.handleWidgets(widgets, "ID" => :event) + subject.handleWidgets(widgets, event) end end describe "#validateWidgets" do it "calls the validate methods" do - expect(self).to receive(:w1_validate).with("w1", "ID" => :event).and_return(true) - expect(self).to receive(:w2_validate).with("w2", "ID" => :event).and_return(true) - expect(subject.validateWidgets(run_widgets, "ID" => :event)).to eq(true) + expect(self).to
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-10-27 13:54:00 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2275 (New) Package is "yast2" Thu Oct 27 13:54:00 2022 rev:543 rq:1031177 version:4.5.18 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-10-15 16:36:23.63059 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2275/yast2.changes2022-10-27 13:54:34.724691889 +0200 @@ -1,0 +2,8 @@ +Tue Oct 25 08:32:48 UTC 2022 - Ladislav Slez??k + +- Improve logging in the ProductControl module, use the new + "log.group" call to group logs for each workflow step + (bsc#1204625) +- 4.5.18 + +--- Old: yast2-4.5.17.tar.bz2 New: yast2-4.5.18.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.1ldtkW/_old 2022-10-27 13:54:35.412695398 +0200 +++ /var/tmp/diff_new_pack.1ldtkW/_new 2022-10-27 13:54:35.420695439 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.17 +Version:4.5.18 Release:0 Summary:YaST2 Main Package @@ -54,8 +54,8 @@ BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake) # for XML module BuildRequires: rubygem(%rb_default_ruby_abi:nokogiri) -# yast/rspec/helpers.rb -BuildRequires: yast2-ruby-bindings >= 4.4.7 +# log.group call +BuildRequires: yast2-ruby-bindings >= 4.5.4 BuildRequires: yast2-testsuite # Nested items in tables BuildRequires: yast2-ycp-ui-bindings >= 4.3.3 @@ -90,8 +90,8 @@ Requires: yast2-perl-bindings # Pkg.Resolvables() with "path" search support Requires: yast2-pkg-bindings >= 4.3.7 -# for y2start -Requires: yast2-ruby-bindings >= 3.2.10 +# log.group +Requires: yast2-ruby-bindings >= 4.5.4 # Nested items in tables Requires: yast2-ycp-ui-bindings >= 4.3.3 Requires: yui_backend ++ yast2-4.5.17.tar.bz2 -> yast2-4.5.18.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.17/library/control/src/modules/ProductControl.rb new/yast2-4.5.18/library/control/src/modules/ProductControl.rb --- old/yast2-4.5.17/library/control/src/modules/ProductControl.rb 2022-10-14 17:31:35.0 +0200 +++ new/yast2-4.5.18/library/control/src/modules/ProductControl.rb 2022-10-25 17:20:01.0 +0200 @@ -1227,8 +1227,6 @@ while Ops.greater_or_equal(@current_step, 0) && Ops.less_than(@current_step, Builtins.size(modules)) step = Ops.get(modules, @current_step, {}) -Builtins.y2milestone("Current step: %1", step) - step_name = Ops.get_string(step, "name", "") # BNC #401319 # if "execute" is defined, it's called without modifications @@ -1267,98 +1265,107 @@ end end # Continue in 'while' means 'next step' -next if do_continue +if do_continue + log.info "Skipping step #{step.inspect}" + next +end argterm = getClientTerm(step, defaults, former_result) -Builtins.y2milestone("Running module: %1 (%2)", argterm, @current_step) -Builtins.y2milestone("Calling %1", argterm) +result = nil +log.group("#{step["label"]} #{step["name"].inspect}") do + Builtins.y2milestone("Running module: %1 (%2)", argterm, @current_step) + + Builtins.y2milestone("Calling %1", argterm) + + args = [] + i = 0 + while Ops.less_than(i, Builtins.size(argterm)) +Ops.set(args, i, Ops.get(argterm, i)) +i = Ops.add(i, 1) + end -args = [] -i = 0 -while Ops.less_than(i, Builtins.size(argterm)) - Ops.set(args, i, Ops.get(argterm, i)) - i = Ops.add(i, 1) -end + UI.WizardCommand(term(:SetCurrentStep, step_id)) + @CurrentWizardStep = step_id -UI.WizardCommand(term(:SetCurrentStep, step_id)) -@CurrentWizardStep = step_id + # Register what step we are going to run + if !Stage.initial && !SCR.Write( +path(".target.string"), +Installation.current_step, +step_id + ) +Builtins.y2error("Error writing step identifier") + end -# Register what step we are going to run -if !Stage.initial && !SCR.Write( - path(".target.string"), - Installation.current_step, - step_id -) - Builtins.y2error("Error writing step identifier") -end + client_name =
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-10-15 16:35:02 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2275 (New) Package is "yast2" Sat Oct 15 16:35:02 2022 rev:542 rq:1010964 version:4.5.17 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-10-10 18:43:54.602784388 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2275/yast2.changes2022-10-15 16:36:23.63059 +0200 @@ -1,0 +2,6 @@ +Fri Oct 14 14:54:58 UTC 2022 - Steffen Winterfeldt + +- remove #postprocess_url from RelURL class (jsc#SLE-22578, jsc#SLE-24584) +- 4.5.17 + +--- Old: yast2-4.5.16.tar.bz2 New: yast2-4.5.17.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.y7zIUK/_old 2022-10-15 16:36:24.326001731 +0200 +++ /var/tmp/diff_new_pack.y7zIUK/_new 2022-10-15 16:36:24.334001750 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.16 +Version:4.5.17 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.16.tar.bz2 -> yast2-4.5.17.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.16/library/general/src/lib/yast2/rel_url.rb new/yast2-4.5.17/library/general/src/lib/yast2/rel_url.rb --- old/yast2-4.5.16/library/general/src/lib/yast2/rel_url.rb 2022-10-07 11:03:03.0 +0200 +++ new/yast2-4.5.17/library/general/src/lib/yast2/rel_url.rb 2022-10-14 17:31:35.0 +0200 @@ -104,7 +104,6 @@ ret.path = absolute_path end - postprocess_url(ret) ret end @@ -119,17 +118,5 @@ url.path = File.join("/", url.host, url.path) url.host = nil end - -# a reverse method to "preprocess_url", fix the URL if it is a "file://" URL -def postprocess_url(url) - return if url.scheme != "file" && !url.host.nil? && !url.host.empty? - - path = url.path.sub(/\A\/+/, "").split("/") - url.host = path.shift - - rest = File.join(path) - rest.prepend("/") unless rest.empty? - url.path = rest -end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.16/library/general/test/yast2/rel_url_test.rb new/yast2-4.5.17/library/general/test/yast2/rel_url_test.rb --- old/yast2-4.5.16/library/general/test/yast2/rel_url_test.rb 2022-10-07 11:03:03.0 +0200 +++ new/yast2-4.5.17/library/general/test/yast2/rel_url_test.rb 2022-10-14 17:31:35.0 +0200 @@ -64,7 +64,22 @@ it "returns the relative URL if the base URL is empty" do relurl = Yast2::RelURL.new("", "relurl://test") - expect(relurl.absolute_url.to_s).to eq("relurl://test") + expect(relurl.absolute_url.to_s).to eq("relurl:/test") +end + +it "relurl can have 1 slash (relurl:/)" do + relurl = Yast2::RelURL.new("", "relurl:/test") + expect(relurl.absolute_url.to_s).to eq("relurl:/test") +end + +it "relurl can have 2 slashes (relurl://)" do + relurl = Yast2::RelURL.new("", "relurl://test") + expect(relurl.absolute_url.to_s).to eq("relurl:/test") +end + +it "relurl can have 3 slashes (relurl:///)" do + relurl = Yast2::RelURL.new("", "relurl:///test") + expect(relurl.absolute_url.to_s).to eq("relurl:/test") end it "returns empty URL if both relative and base URLs are empty" do @@ -179,9 +194,14 @@ expect(relurl.absolute_url.to_s).to eq("ftp://example.com/test;) end -it "works with cd:// URL" do - relurl = Yast2::RelURL.new("cd://", "relurl://test") - expect(relurl.absolute_url.to_s).to eq("cd://test") +it "works with cd:/ URL" do + relurl = Yast2::RelURL.new("cd:/", "relurl://test") + expect(relurl.absolute_url.to_s).to eq("cd:/test") +end + +it "corrects cd:// URL to cd:/" do + relurl = Yast2::RelURL.new("cd:/", "relurl://test") + expect(relurl.absolute_url.to_s).to eq("cd:/test") end it "works with cifs:// URL" do @@ -194,19 +214,24 @@ expect(relurl.absolute_url.to_s).to eq("nfs://server/export/path/test") end -it "works with file:// base URL" do +it "works with file:/ base URL" do + relurl = Yast2::RelURL.new("file:/foo/bar", "relurl://test") + expect(relurl.absolute_url.to_s).to eq("file:///foo/bar/test") +end + +it "corrects file:// base URL to file:///" do relurl = Yast2::RelURL.new("file://foo/bar", "relurl://test") - expect(relurl.absolute_url.to_s).to eq("file://foo/bar/test") +
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-10-10 18:43:43 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2275 (New) Package is "yast2" Mon Oct 10 18:43:43 2022 rev:541 rq:1008736 version:4.5.16 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-09-30 17:57:22.669195174 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2275/yast2.changes2022-10-10 18:43:54.602784388 +0200 @@ -1,0 +2,7 @@ +Thu Oct 6 13:48:28 UTC 2022 - Josef Reidinger + +- add Yast::ReducedRecorder for Cheetah to filter out certain streams to + be able to not log sensitive information (bsc#1201962) +- 4.5.16 + +--- Old: yast2-4.5.15.tar.bz2 New: yast2-4.5.16.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.28wWfi/_old 2022-10-10 18:43:55.382786067 +0200 +++ /var/tmp/diff_new_pack.28wWfi/_new 2022-10-10 18:43:55.390786084 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.15 +Version:4.5.16 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.15.tar.bz2 -> yast2-4.5.16.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.15/library/general/src/lib/installation/proposal_client.rb new/yast2-4.5.16/library/general/src/lib/installation/proposal_client.rb --- old/yast2-4.5.15/library/general/src/lib/installation/proposal_client.rb 2022-09-28 16:02:19.0 +0200 +++ new/yast2-4.5.16/library/general/src/lib/installation/proposal_client.rb 2022-10-07 11:03:03.0 +0200 @@ -172,10 +172,6 @@ # This module just caused a change of the root partition. # This is only relevant for the "root part" module. # -# * **`"help"`** [String, nil] --- -# Help text for this module which appears in the standard dialog -# help (particular helps for modules sorted by presentation order). -# # * **`"trigger"`** [Hash, nil] defines circumstances when the proposal # should be called again at the end. For instance, when partitioning or # software selection changes. Mandatory keys of the trigger are: @@ -273,6 +269,10 @@ # A programmer-readable unique identifier for this section. This is not # auto-generated to keep the log file readable. # +# * **`"help"`** [String, nil] --- +# Help text for this module which appears in the standard dialog +# help (particular helps for modules sorted by presentation order). +# # This map may be empty. In this case, this proposal section will silently # be ignored. Proposal modules may use this if there is no useful proposal # at all. Use with caution - this may be confusing for the user. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.15/library/system/src/lib/yast2/execute.rb new/yast2-4.5.16/library/system/src/lib/yast2/execute.rb --- old/yast2-4.5.15/library/system/src/lib/yast2/execute.rb2022-09-28 16:02:19.0 +0200 +++ new/yast2-4.5.16/library/system/src/lib/yast2/execute.rb2022-10-07 11:03:03.0 +0200 @@ -32,6 +32,9 @@ # It also globally switches the default Cheetah logger to # {http://www.rubydoc.info/github/yast/yast-ruby-bindings/Yast%2FLogger Y2Logger}. # + # To limit logging sensitive input/output/arguments, + # you can pass a {ReducedRecorder} as the *recorder* option. + # # @example Methods of this class can be chained. # # Yast::Execute.locally!.stdout("ls", "-l") @@ -245,4 +248,31 @@ "" end end + + # specific recorder which can be used when some sensitive information that + # should not go to log + class ReducedRecorder < Cheetah::DefaultRecorder +# @param skip [Array|Symbol] possible symbols are `:stdin`, +# `:stdout`, `:stderr` and `:args`. Those streams won't be recorded. +def initialize(skip: [], logger: Y2Logger.instance) + super(logger) + + skip = Array(skip) + + skip.each do |m| +method = PARAM_MAPPING[m] +raise ArgumentError, "Invalid value '#{m.inspect}'" unless method + +define_singleton_method(method) { |_| } # intentionally empty + end +end + +PARAM_MAPPING = { + stdin: :record_stdin, + stdout: :record_stdout, + stderr: :record_stderr, + args: :record_commands +}.freeze +private_constant :PARAM_MAPPING + end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-09-30 17:57:09 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2275 (New) Package is "yast2" Fri Sep 30 17:57:09 2022 rev:540 rq:1006698 version:4.5.15 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-09-17 20:10:12.641134487 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2275/yast2.changes2022-09-30 17:57:22.669195174 +0200 @@ -1,0 +2,6 @@ +Wed Sep 28 12:22:59 UTC 2022 - Ancor Gonzalez Sosa + +- Better detection of YaST2 Journal (related to bsc#1199840). +- 4.5.15 + +--- Old: yast2-4.5.14.tar.bz2 New: yast2-4.5.15.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.pC5YTV/_old 2022-09-30 17:57:23.329196585 +0200 +++ /var/tmp/diff_new_pack.pC5YTV/_new 2022-09-30 17:57:23.333196594 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.14 +Version:4.5.15 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.14.tar.bz2 -> yast2-4.5.15.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.14/library/system/src/lib/yast2/clients/view_anymsg.rb new/yast2-4.5.15/library/system/src/lib/yast2/clients/view_anymsg.rb --- old/yast2-4.5.14/library/system/src/lib/yast2/clients/view_anymsg.rb 2022-09-16 12:22:45.0 +0200 +++ new/yast2-4.5.15/library/system/src/lib/yast2/clients/view_anymsg.rb 2022-09-28 16:02:19.0 +0200 @@ -165,10 +165,16 @@ focus: :no ) == :yes -res && Package.Install("yast2-journal") +res && journal_client? end end +# Tries to ensure the 'journal' client is available, even installing additional +# packages if needed +def journal_client? + WFM.ClientExists("journal") || Package.Install("yast2-journal") +end + def dialog_content VBox( HSpacing(70), # force width diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.14/library/system/test/clients/view_anymsg_test.rb new/yast2-4.5.15/library/system/test/clients/view_anymsg_test.rb --- old/yast2-4.5.14/library/system/test/clients/view_anymsg_test.rb 2022-09-16 12:22:45.0 +0200 +++ new/yast2-4.5.15/library/system/test/clients/view_anymsg_test.rb 2022-09-28 16:02:19.0 +0200 @@ -180,25 +180,48 @@ before do allow(Yast::Package).to receive(:Install).and_return(true) allow(Yast2::Popup).to receive(:show).and_return(:yes) +allow(Yast::WFM).to receive(:ClientExists).and_return(client_exists) allow_any_instance_of(Yast::ViewAnymsgClient).to receive(:file_state).and_return(:missing) end + let(:client_exists) { true } + it "ask to open journal instead" do expect(Yast2::Popup).to receive(:show).with(/does not exist/, any_args) subject.main end - it "ensures yast2-journal is installed" do -expect(Yast::Package).to receive(:Install).and_return(true) + context "if the journal client is already available" do +let(:client_exists) { true } -subject.main +it "does not try to install yast2-journal" do + expect(Yast::Package).to_not receive(:Install) + + subject.main +end + +it "switches to yast2-journal module if user wants it" do + expect(Yast::WFM).to receive(:CallFunction).with("journal") + + subject.main +end end - it "switches to yast2-journal module if user wants it and all goes well" do -expect(Yast::WFM).to receive(:CallFunction).with("journal") + context "if the journal client is not available" do +let(:client_exists) { false } -subject.main +it "installs yast2-journal" do + expect(Yast::Package).to receive(:Install).with(/journal/).and_return(true) + + subject.main +end + +it "switches to yast2-journal module if user wants it and all goes well" do + expect(Yast::WFM).to receive(:CallFunction).with("journal") + + subject.main +end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.14/package/yast2.changes new/yast2-4.5.15/package/yast2.changes --- old/yast2-4.5.14/package/yast2.changes 2022-09-16 12:22:45.0 +0200 +++ new/yast2-4.5.15/package/yast2.changes 2022-09-28
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-09-17 20:10:10 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2083 (New) Package is "yast2" Sat Sep 17 20:10:10 2022 rev:539 rq:1004081 version:4.5.14 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-09-10 20:17:06.072799639 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2083/yast2.changes2022-09-17 20:10:12.641134487 +0200 @@ -1,0 +2,8 @@ +Fri Sep 16 10:12:41 UTC 2022 - Michal Filka + +- bsc#1200016 + - by_pattern moved into http_server moduleas it is the only +user +- 4.5.14 + +--- Old: yast2-4.5.13.tar.bz2 New: yast2-4.5.14.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.CqN6C6/_old 2022-09-17 20:10:13.533137060 +0200 +++ /var/tmp/diff_new_pack.CqN6C6/_new 2022-09-17 20:10:13.557137129 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.13 +Version:4.5.14 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.13.tar.bz2 -> yast2-4.5.14.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.13/library/packages/src/modules/Package.rb new/yast2-4.5.14/library/packages/src/modules/Package.rb --- old/yast2-4.5.13/library/packages/src/modules/Package.rb2022-09-09 12:18:04.0 +0200 +++ new/yast2-4.5.14/library/packages/src/modules/Package.rb2022-09-16 12:22:45.0 +0200 @@ -224,25 +224,6 @@ @removed_packages.clear end -# Tries to find a package according to the pattern -# -# @param pattern [String] a regex pattern to match, no escaping done -# @return list of matching package names -def by_pattern(pattern) - raise ArgumentError, "Missing search pattern" if pattern.nil? || pattern.empty? - - init_packager - - # NOTE: Resolvable.find - # - takes POSIX regexp, later select uses Ruby regexp - # - supports regexps only for dependencies, so we need to filter result - # according to package name - Y2Packager::Resolvable.find({ provides_regexp: "^#{pattern}$" }, [:name]) -.select { |p| p.name =~ /\A#{pattern}\z/ } -.map(&:name) -.uniq -end - # Are all of these packages available? # @param [Array] packages list of packages # @return [Boolean] true if yes (nil = an error occurred) @@ -495,7 +476,6 @@ publish function: :RemoveAllMsg, type: "boolean (list , string)" publish function: :RemoveMsg, type: "boolean (string, string)" publish function: :IsTransactionalSystem, type: "boolean ()" -publish function: :by_pattern, type: "list (string)" private diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.13/package/yast2.changes new/yast2-4.5.14/package/yast2.changes --- old/yast2-4.5.13/package/yast2.changes 2022-09-09 12:18:04.0 +0200 +++ new/yast2-4.5.14/package/yast2.changes 2022-09-16 12:22:45.0 +0200 @@ -1,4 +1,12 @@ --- +Fri Sep 16 10:12:41 UTC 2022 - Michal Filka + +- bsc#1200016 + - by_pattern moved into http_server moduleas it is the only +user +- 4.5.14 + +--- Fri Sep 9 08:18:15 UTC 2022 - Michal Filka - bsc#1203227 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.13/package/yast2.spec new/yast2-4.5.14/package/yast2.spec --- old/yast2-4.5.13/package/yast2.spec 2022-09-09 12:18:04.0 +0200 +++ new/yast2-4.5.14/package/yast2.spec 2022-09-16 12:22:45.0 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.13 +Version:4.5.14 Release:0 Summary:YaST2 Main Package
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-09-10 20:17:04 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2083 (New) Package is "yast2" Sat Sep 10 20:17:04 2022 rev:538 rq:1002277 version:4.5.13 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-09-06 13:00:58.858959083 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2083/yast2.changes2022-09-10 20:17:06.072799639 +0200 @@ -1,0 +2,7 @@ +Fri Sep 9 08:18:15 UTC 2022 - Michal Filka + +- bsc#1203227 + - Replaced egrep with grep -E. +- 4.5.13 + +--- Old: yast2-4.5.12.tar.bz2 New: yast2-4.5.13.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.M0DeSO/_old 2022-09-10 20:17:06.768801429 +0200 +++ /var/tmp/diff_new_pack.M0DeSO/_new 2022-09-10 20:17:06.772801439 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.12 +Version:4.5.13 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.12.tar.bz2 -> yast2-4.5.13.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.12/library/general/src/modules/Arch.rb new/yast2-4.5.13/library/general/src/modules/Arch.rb --- old/yast2-4.5.12/library/general/src/modules/Arch.rb2022-09-05 09:31:48.0 +0200 +++ new/yast2-4.5.13/library/general/src/modules/Arch.rb2022-09-09 12:18:04.0 +0200 @@ -459,7 +459,7 @@ def is_zkvm if @_is_zkvm.nil? # using different check than on x86 as recommended by IBM -@_is_zkvm = s390 && Yast::WFM.Execute(path(".local.bash"), "/usr/bin/egrep 'Control Program: KVM' /proc/sysinfo") == 0 +@_is_zkvm = s390 && Yast::WFM.Execute(path(".local.bash"), "/usr/bin/grep 'Control Program: KVM' /proc/sysinfo") == 0 end @_is_zkvm diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.12/package/yast2.changes new/yast2-4.5.13/package/yast2.changes --- old/yast2-4.5.12/package/yast2.changes 2022-09-05 09:31:48.0 +0200 +++ new/yast2-4.5.13/package/yast2.changes 2022-09-09 12:18:04.0 +0200 @@ -1,4 +1,11 @@ --- +Fri Sep 9 08:18:15 UTC 2022 - Michal Filka + +- bsc#1203227 + - Replaced egrep with grep -E. +- 4.5.13 + +--- Thu Sep 1 08:08:30 UTC 2022 - Knut Anderssen - Added a parameter to NetworkService.EnableDisableNow method in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.12/package/yast2.spec new/yast2-4.5.13/package/yast2.spec --- old/yast2-4.5.12/package/yast2.spec 2022-09-05 09:31:48.0 +0200 +++ new/yast2-4.5.13/package/yast2.spec 2022-09-09 12:18:04.0 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.12 +Version:4.5.13 Release:0 Summary:YaST2 Main Package diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.12/scripts/yast2-funcs new/yast2-4.5.13/scripts/yast2-funcs --- old/yast2-4.5.12/scripts/yast2-funcs2022-09-05 09:31:48.0 +0200 +++ new/yast2-4.5.13/scripts/yast2-funcs2022-09-09 12:18:04.0 +0200 @@ -19,7 +19,7 @@ function get_plugindir() { plugindir=$YAST_PREFIX/lib/YaST2/plugin -if `ldd $ybindir/y2base | egrep "/lib64/(.*/)?libc.so" > /dev/null` ; then +if `ldd $ybindir/y2base | grep -E "/lib64/(.*/)?libc.so" > /dev/null` ; then plugindir=$YAST_PREFIX/lib64/YaST2/plugin fi }
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-09-06 13:00:47 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2083 (New) Package is "yast2" Tue Sep 6 13:00:47 2022 rev:537 rq:1001209 version:4.5.12 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-08-30 14:48:46.712013029 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2083/yast2.changes2022-09-06 13:00:58.858959083 +0200 @@ -1,0 +2,8 @@ +Thu Sep 1 08:08:30 UTC 2022 - Knut Anderssen + +- Added a parameter to NetworkService.EnableDisableNow method in + order to ensure that the selected network service is enabled even + when the selection has not been modified (bsc#1202479) +- 4.5.12 + +--- Old: yast2-4.5.11.tar.bz2 New: yast2-4.5.12.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.z7yeku/_old 2022-09-06 13:00:59.482960659 +0200 +++ /var/tmp/diff_new_pack.z7yeku/_new 2022-09-06 13:00:59.486960669 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.11 +Version:4.5.12 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.11.tar.bz2 -> yast2-4.5.12.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.11/library/network/src/modules/NetworkService.rb new/yast2-4.5.12/library/network/src/modules/NetworkService.rb --- old/yast2-4.5.11/library/network/src/modules/NetworkService.rb 2022-08-29 14:03:07.0 +0200 +++ new/yast2-4.5.12/library/network/src/modules/NetworkService.rb 2022-09-05 09:31:48.0 +0200 @@ -237,11 +237,18 @@ @cached_name = nil end -# Helper to apply a change of the network service -def EnableDisableNow - return if !Modified() +# Helper to apply a change of the network service enabling the service selected and taking care +# of disabling the current one in case of modified. +# +# TODO: this method could take care of disabling all the services except the one selected in +# order to prevent that multiple backends are enabled at the same time. +# +# @param force [Boolean] whether the service should forced to be enabled or not; it will not +# disable other services apart of the one currently in use in case of modified +def EnableDisableNow(force: false) + return unless force || Modified() - if current_name + if current_name && Modified() stop_service(current_name) disable_service(current_name) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.11/library/network/test/network_service_test.rb new/yast2-4.5.12/library/network/test/network_service_test.rb --- old/yast2-4.5.11/library/network/test/network_service_test.rb 2022-08-29 14:03:07.0 +0200 +++ new/yast2-4.5.12/library/network/test/network_service_test.rb 2022-09-05 09:31:48.0 +0200 @@ -47,42 +47,50 @@ describe "#EnableDisableNow" do subject { Yast::NetworkService } +let(:current_name) { :wicked } +let(:cached_name) { :wicked } before(:each) do - expect(subject).to receive(:Modified).and_return(true) + allow(subject).to receive(:Modified).and_return(current_name != cached_name) + allow(subject).to receive(:cached_name).and_return(cached_name) + allow(subject).to receive(:current_name).and_return(current_name) +end + +context "when the service has not changed but it is forced to be enabled" do + it "enables the selected service" do +expect(subject).to receive(:RunSystemCtl).with("wicked", "enable", any_args) + +subject.EnableDisableNow(force: true) + end end context "When changing running service" do - before(:each) do -allow(subject).to receive(:current_name).and_return(:netconfig) + let(:current_name) { :netconfig } + before(:each) do # using anything instead of exact service name because of some magic in identifying the service in the system expect(subject).to receive(:RunSystemCtl).with(anything, /stop|kill/) expect(subject).to receive(:RunSystemCtl).with("network", "disable") end it "disables old service and enables new one" do -allow(subject).to receive(:cached_name).and_return(:wicked) - expect(subject).to receive(:RunSystemCtl).with("wicked", "enable", any_args) subject.EnableDisableNow end - it "only disables old
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-08-30 14:48:38 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2083 (New) Package is "yast2" Tue Aug 30 14:48:38 2022 rev:536 rq:115 version:4.5.11 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-07-29 16:47:15.910546998 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2083/yast2.changes2022-08-30 14:48:46.712013029 +0200 @@ -1,0 +2,7 @@ +Fri Aug 26 13:18:39 UTC 2022 - Josef Reidinger + +- On transactional systems, inform the user that packages are + required to be installed manually (related to bsc#1199840) +- 4.5.11 + +--- Old: yast2-4.5.10.tar.bz2 New: yast2-4.5.11.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.p5gpOf/_old 2022-08-30 14:48:47.396014775 +0200 +++ /var/tmp/diff_new_pack.p5gpOf/_new 2022-08-30 14:48:47.404014795 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.10 +Version:4.5.11 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.10.tar.bz2 -> yast2-4.5.11.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.10/library/packages/src/modules/Package.rb new/yast2-4.5.11/library/packages/src/modules/Package.rb --- old/yast2-4.5.10/library/packages/src/modules/Package.rb2022-07-28 12:32:46.0 +0200 +++ new/yast2-4.5.11/library/packages/src/modules/Package.rb2022-08-29 14:03:07.0 +0200 @@ -34,9 +34,11 @@ require "forwardable" require "y2packager/resolvable" +Yast.import "CommandLine" Yast.import "Mode" Yast.import "PackageAI" Yast.import "PackageSystem" +Yast.import "Popup" module Yast # This module implements support to query, install and remove packages. @@ -329,14 +331,15 @@ # @param [String] message optional installation|removal text (nil -> standard will be used) # @return true on success def PackageDialog(packages, install, message) - packages = deep_copy(packages) - Builtins.y2debug("Asking for packages: %1", packages) + log.info "Asking for packages: #{packages}" packs = Builtins.filter(packages) do |package| install ? !Installed(package) : Installed(package) end - Builtins.y2debug("Remaining packages: %1", packs) + log.info "Remaining packages: #{packs}" + + return true if packs.empty? - return true if Ops.less_than(Builtins.size(packs), 1) + check_transactional_system!(packs, install ? :install : :remove) # Popup Text text = _("These packages need to be installed:") + "" @@ -452,30 +455,47 @@ @last_op_canceled end -publish function: :by_pattern, type: "list (string)" +# Return if system is transactional and does not support direct package +# install +# @return [Boolean] +def IsTransactionalSystem + return @transactional unless @transactional.nil? + + mounts = SCR.Read(path(".proc.mounts")) + root = mounts.find { |m| m["file"] == WFM.scr_root } + log.info "root in mounts #{root.inspect}" + + raise "Failed to find #{WFM.scr_root} at /proc/mounts" unless root + + # check if there are ro keyword in mount + @transactional = /(?:^|,)ro(?:,|$)/.match?(root["mntops"]) +end + publish function: :Available, type: "boolean (string)" -publish function: :Installed, type: "boolean (string)" -publish function: :DoInstall, type: "boolean (list )" -publish function: :DoRemove, type: "boolean (list )" -publish function: :DoInstallAndRemove, type: "boolean (list , list )" publish function: :AvailableAll, type: "boolean (list )" publish function: :AvailableAny, type: "boolean (list )" -publish function: :InstalledAll, type: "boolean (list )" -publish function: :InstalledAny, type: "boolean (list )" -publish function: :InstallMsg, type: "boolean (string, string)" -publish function: :InstallAllMsg, type: "boolean (list , string)" -publish function: :InstallAnyMsg, type: "boolean (list , string)" -publish function: :RemoveMsg, type: "boolean (string, string)" -publish function: :RemoveAllMsg, type: "boolean (list , string)" +publish function: :DoInstall, type: "boolean (list )" +publish function: :DoInstallAndRemove, type: "boolean (list , list )" +publish function: :DoRemove, type: "boolean (list )" publish function: :Install, type: "boolean (string)" publish function: :InstallAll, type: "boolean (list )" +publish
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-07-29 16:47:05 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1533 (New) Package is "yast2" Fri Jul 29 16:47:05 2022 rev:535 rq:991529 version:4.5.10 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-06-29 16:02:00.400674490 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1533/yast2.changes2022-07-29 16:47:15.910546998 +0200 @@ -1,0 +2,29 @@ +Thu Jul 28 09:40:31 UTC 2022 - David Diaz + +- Do not ask for user input while checking file conflicts if the + delayed progress popup is not shown (bsc#1201924) +- 4.5.10 + +--- +Thu Jul 28 07:57:14 UTC 2022 - Michal Filka + +- bsc#1200016 + - added a method for finding a package according to a pattern +- 4.5.9 + +--- +Wed Jul 27 13:41:45 UTC 2022 - Ladislav Slez??k + +- Fixed libzypp initialization, in the YaST container read the + configured repositories from the host (related to bsc#1199840) +- 4.5.8 + +--- +Fri Jul 22 12:13:13 UTC 2022 - Ladislav Slez??k + +- Text mode control center: always display the YaST modules + installed in the system root (when running in a container + display the modules installed in the container) (bsc#1199840) +- 4.5.7 + +--- Old: yast2-4.5.6.tar.bz2 New: yast2-4.5.10.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.j1cYmJ/_old 2022-07-29 16:47:16.654549067 +0200 +++ /var/tmp/diff_new_pack.j1cYmJ/_new 2022-07-29 16:47:16.658549078 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.6 +Version:4.5.10 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.6.tar.bz2 -> yast2-4.5.10.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.6/library/desktop/src/clients/menu.rb new/yast2-4.5.10/library/desktop/src/clients/menu.rb --- old/yast2-4.5.6/library/desktop/src/clients/menu.rb 2022-06-28 16:27:17.0 +0200 +++ new/yast2-4.5.10/library/desktop/src/clients/menu.rb2022-07-28 12:32:46.0 +0200 @@ -66,6 +66,13 @@ "Hidden" ] + # always load the desktop files from the system root + if WFM.scr_chrooted? +# revert back the chrooting +handle = Yast::WFM.SCROpen("chroot=/:scr", false) +Yast::WFM.SCRSetDefault(handle) + end + Desktop.Read(@Values) @Groups = deep_copy(Desktop.Groups) @Modules = deep_copy(Desktop.Modules) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.6/library/packages/src/lib/packages/file_conflict_callbacks.rb new/yast2-4.5.10/library/packages/src/lib/packages/file_conflict_callbacks.rb --- old/yast2-4.5.6/library/packages/src/lib/packages/file_conflict_callbacks.rb 2022-06-28 16:27:17.0 +0200 +++ new/yast2-4.5.10/library/packages/src/lib/packages/file_conflict_callbacks.rb 2022-07-28 12:32:46.0 +0200 @@ -129,12 +129,14 @@ if Yast::Mode.commandline Yast::CommandLine.PrintVerboseNoCR("#{Yast::PackageCallbacksClass::CLEAR_PROGRESS_TEXT}#{progress}%") -else - delayed_progress_popup.progress(progress) + return true end -ui = Yast::UI.PollInput unless Yast::Mode.commandline -log.info "User input in file conflict progress (#{progress}%): #{ui}" if ui +delayed_progress_popup.progress(progress) +return true unless delayed_progress_popup.open? + +ui = Yast::UI.PollInput +log.info "User input in file conflict progress (#{progress}%): #{ui}" ui != :abort && ui != :cancel end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.6/library/packages/src/modules/Package.rb new/yast2-4.5.10/library/packages/src/modules/Package.rb --- old/yast2-4.5.6/library/packages/src/modules/Package.rb 2022-06-28 16:27:17.0 +0200 +++ new/yast2-4.5.10/library/packages/src/modules/Package.rb2022-07-28 12:32:46.0 +0200 @@ -32,6 +32,7 @@ # .../docs/index.html. require "yast" require "forwardable" +require "y2packager/resolvable" Yast.import "Mode" Yast.import "PackageAI" @@ -221,6 +222,25 @@ @removed_packages.clear end +# Tries to find a package according to the
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-06-29 16:01:01 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1548 (New) Package is "yast2" Wed Jun 29 16:01:01 2022 rev:534 rq:985611 version:4.5.6 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-06-18 22:05:26.695592611 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1548/yast2.changes2022-06-29 16:02:00.400674490 +0200 @@ -1,0 +2,7 @@ +Fri Jun 24 12:08:30 UTC 2022 - Ladislav Slez??k + +- save_y2logs - check both Packages and Packages.db in + /var/lib/rpm (bsc#1200831) +- 4.5.6 + +--- Old: yast2-4.5.5.tar.bz2 New: yast2-4.5.6.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.g552rz/_old 2022-06-29 16:02:01.196675550 +0200 +++ /var/tmp/diff_new_pack.g552rz/_new 2022-06-29 16:02:01.20067 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.5 +Version:4.5.6 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.5.tar.bz2 -> yast2-4.5.6.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.5/package/yast2.changes new/yast2-4.5.6/package/yast2.changes --- old/yast2-4.5.5/package/yast2.changes 2022-06-16 13:17:20.0 +0200 +++ new/yast2-4.5.6/package/yast2.changes 2022-06-28 16:27:17.0 +0200 @@ -1,4 +1,11 @@ --- +Fri Jun 24 12:08:30 UTC 2022 - Ladislav Slez??k + +- save_y2logs - check both Packages and Packages.db in + /var/lib/rpm (bsc#1200831) +- 4.5.6 + +--- Thu Jun 16 11:06:09 UTC 2022 - Josef Reidinger - Allow to install missing packages in chroot (bsc#1199840) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.5/package/yast2.spec new/yast2-4.5.6/package/yast2.spec --- old/yast2-4.5.5/package/yast2.spec 2022-06-16 13:17:20.0 +0200 +++ new/yast2-4.5.6/package/yast2.spec 2022-06-28 16:27:17.0 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.5 +Version:4.5.6 Release:0 Summary:YaST2 Main Package diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.5/scripts/save_y2logs new/yast2-4.5.6/scripts/save_y2logs --- old/yast2-4.5.5/scripts/save_y2logs 2022-06-16 13:17:20.0 +0200 +++ new/yast2-4.5.6/scripts/save_y2logs 2022-06-28 16:27:17.0 +0200 @@ -98,7 +98,7 @@ fi # installed packages -if [ -f /var/lib/rpm/Packages -a "$(type -p rpm)" ]; then +if [ -f /var/lib/rpm/Packages -o -f /var/lib/rpm/Packages.db ] && [ "$(type -p rpm)" ]; then rpm -qa --qf '%{NAME}-%{VERSION}-%{RELEASE}\t\t\t(%{VENDOR})\t%{DISTRIBUTION}\n' 2>/dev/null | sort >/$TMPDIR/rpm-qa LIST_TMP="$LIST_TMP rpm-qa" fi
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-06-18 22:05:20 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1548 (New) Package is "yast2" Sat Jun 18 22:05:20 2022 rev:533 rq:983135 version:4.5.5 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-05-25 20:34:11.172196159 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1548/yast2.changes2022-06-18 22:05:26.695592611 +0200 @@ -1,0 +2,6 @@ +Thu Jun 16 11:06:09 UTC 2022 - Josef Reidinger + +- Allow to install missing packages in chroot (bsc#1199840) +- 4.5.5 + +--- Old: yast2-4.5.4.tar.bz2 New: yast2-4.5.5.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.KFUbv6/_old 2022-06-18 22:05:27.415593633 +0200 +++ /var/tmp/diff_new_pack.KFUbv6/_new 2022-06-18 22:05:27.419593639 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.4 +Version:4.5.5 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.4.tar.bz2 -> yast2-4.5.5.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.4/library/packages/src/modules/PackageSystem.rb new/yast2-4.5.5/library/packages/src/modules/PackageSystem.rb --- old/yast2-4.5.4/library/packages/src/modules/PackageSystem.rb 2022-05-24 15:21:05.0 +0200 +++ new/yast2-4.5.5/library/packages/src/modules/PackageSystem.rb 2022-06-16 13:17:20.0 +0200 @@ -49,6 +49,7 @@ Yast.import "Report" Yast.import "Stage" Yast.import "CommandLine" + Yast.import "Installation" # Was last operation canceled? # @@ -82,7 +83,7 @@ PackageLock.Check # always initizalize target, it should be cheap according to #45356 - @target_initialized = Pkg.TargetInit("/", false) + @target_initialized = Pkg.TargetInit(Installation.destdir, false) nil end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.4/package/yast2.changes new/yast2-4.5.5/package/yast2.changes --- old/yast2-4.5.4/package/yast2.changes 2022-05-24 15:21:05.0 +0200 +++ new/yast2-4.5.5/package/yast2.changes 2022-06-16 13:17:20.0 +0200 @@ -1,4 +1,10 @@ --- +Thu Jun 16 11:06:09 UTC 2022 - Josef Reidinger + +- Allow to install missing packages in chroot (bsc#1199840) +- 4.5.5 + +--- Mon May 23 15:10:38 UTC 2022 - Ladislav Slez??k - Added experimental infrastructure for managing system in diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.4/package/yast2.spec new/yast2-4.5.5/package/yast2.spec --- old/yast2-4.5.4/package/yast2.spec 2022-05-24 15:21:05.0 +0200 +++ new/yast2-4.5.5/package/yast2.spec 2022-06-16 13:17:20.0 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.4 +Version:4.5.5 Release:0 Summary:YaST2 Main Package
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-05-25 20:34:03 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2254 (New) Package is "yast2" Wed May 25 20:34:03 2022 rev:532 rq:978975 version:4.5.4 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-05-09 18:43:54.696193971 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2254/yast2.changes2022-05-25 20:34:11.172196159 +0200 @@ -1,0 +2,7 @@ +Mon May 23 15:10:38 UTC 2022 - Ladislav Slez??k + +- Added experimental infrastructure for managing system in + a chroot (bsc#1199840) +- 4.5.4 + +--- Old: yast2-4.5.3.tar.bz2 New: yast2-4.5.4.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.NzK0mE/_old 2022-05-25 20:34:11.796197030 +0200 +++ /var/tmp/diff_new_pack.NzK0mE/_new 2022-05-25 20:34:11.800197036 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.3 +Version:4.5.4 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.3.tar.bz2 -> yast2-4.5.4.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.3/library/control/src/modules/Installation.rb new/yast2-4.5.4/library/control/src/modules/Installation.rb --- old/yast2-4.5.3/library/control/src/modules/Installation.rb 2022-05-06 17:35:05.0 +0200 +++ new/yast2-4.5.4/library/control/src/modules/Installation.rb 2022-05-24 15:21:05.0 +0200 @@ -212,6 +212,9 @@ elsif Stage.initial @destdir = "/mnt" @scr_destdir = "/mnt" + elsif WFM.scr_chrooted? +@destdir = WFM.scr_root +@scr_destdir = WFM.scr_root end nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.3/library/control/test/installation_test.rb new/yast2-4.5.4/library/control/test/installation_test.rb --- old/yast2-4.5.3/library/control/test/installation_test.rb 2022-05-06 17:35:05.0 +0200 +++ new/yast2-4.5.4/library/control/test/installation_test.rb 2022-05-24 15:21:05.0 +0200 @@ -23,4 +23,41 @@ subject.sourcedir end end + + # test the module constructor + describe "#Installation (module constructor)" do +after(:each) do + # reset the value after each run + subject.destdir = "/" +end + +context "in a running system" do + before do +# mock a running system +allow(Yast::Stage).to receive(:cont).and_return(false) +allow(Yast::Stage).to receive(:initial).and_return(false) + +allow(Yast::WFM).to receive(:scr_root).and_return(scr_chroot) +allow(Yast::WFM).to receive(:scr_chrooted?).and_return(scr_chroot != "/") + end + + context "SCR runs in a chroot" do +let(:scr_chroot) { "/mnt" } + +it "sets the 'destdir' to the chroot" do + subject.Installation + expect(subject.destdir).to eq(scr_chroot) +end + end + + context "SCR runs in the root" do +let(:scr_chroot) { "/" } + +it "leaves the 'destdir' at the default root" do + subject.Installation + expect(subject.destdir).to eq(scr_chroot) +end + end +end + end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.3/package/yast2.changes new/yast2-4.5.4/package/yast2.changes --- old/yast2-4.5.3/package/yast2.changes 2022-05-06 17:35:05.0 +0200 +++ new/yast2-4.5.4/package/yast2.changes 2022-05-24 15:21:05.0 +0200 @@ -1,4 +1,11 @@ --- +Mon May 23 15:10:38 UTC 2022 - Ladislav Slez??k + +- Added experimental infrastructure for managing system in + a chroot (bsc#1199840) +- 4.5.4 + +--- Fri May 6 15:23:06 UTC 2022 - Josef Reidinger - Avoid build failures when packager is not available (related to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.3/package/yast2.spec new/yast2-4.5.4/package/yast2.spec --- old/yast2-4.5.3/package/yast2.spec 2022-05-06 17:35:05.0 +0200 +++ new/yast2-4.5.4/package/yast2.spec 2022-05-24 15:21:05.0 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.3 +Version:4.5.4 Release:0 Summary:YaST2 Main Package
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-05-09 18:43:38 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1538 (New) Package is "yast2" Mon May 9 18:43:38 2022 rev:531 rq:975449 version:4.5.3 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-04-09 01:44:03.338730669 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1538/yast2.changes2022-05-09 18:43:54.696193971 +0200 @@ -1,0 +2,13 @@ +Fri May 6 15:23:06 UTC 2022 - Josef Reidinger + +- Avoid build failures when packager is not available (related to + bsc#1196674) +- 4.5.3 + +--- +Tue May 3 14:05:10 UTC 2022 - Stefan Hundhammer + +- Show what product is being installed (bsc#1196674) +- 4.5.2 + +--- @@ -11 +24 @@ -- Bump version to 4.5.0 (#bsc1198109) +- Bump version to 4.5.0 (bsc#1198109) Old: yast2-4.5.1.tar.bz2 New: yast2-4.5.3.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.VqDEX5/_old 2022-05-09 18:43:55.456194863 +0200 +++ /var/tmp/diff_new_pack.VqDEX5/_new 2022-05-09 18:43:55.460194868 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.5.1 +Version:4.5.3 Release:0 Summary:YaST2 Main Package ++ yast2-4.5.1.tar.bz2 -> yast2-4.5.3.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.5.1/library/packages/src/modules/SlideShow.rb new/yast2-4.5.3/library/packages/src/modules/SlideShow.rb --- old/yast2-4.5.1/library/packages/src/modules/SlideShow.rb 2022-04-07 16:00:08.0 +0200 +++ new/yast2-4.5.3/library/packages/src/modules/SlideShow.rb 2022-05-06 17:35:05.0 +0200 @@ -105,11 +105,6 @@ class SlideShowClass < Module include Yast::Logger -module UI_ID - TOTAL_PROGRESS = :progressTotal - CURRENT_PACKAGE = :progressCurrentPackage -end - def main Yast.import "UI" @@ -158,18 +153,21 @@ # Start the internal (global) timer. # +# FIXME: Obsolete published method def StartTimer nil end # Reset the internal (global) timer. # +# FIXME: Obsolete published method def ResetTimer nil end # Stop the internal (global) timer and account elapsed time. # +# FIXME: Obsolete published method def StopTimer nil end @@ -184,6 +182,7 @@ # Check if currently the "Slide Show" page is shown # @return true if showing details, false otherwise # +# FIXME: Obsolete published method def ShowingSlide false end @@ -202,6 +201,8 @@ # Restart the subprogress of the slideshow. This means the # label will be set to given text, value to 0. # @param [String] text new label for the subprogress +# +# FIXME: Obsolete published method def SubProgressStart(text); end # Updates status of the sub-progress in slide show. The new value and label @@ -210,12 +211,16 @@ # # @param [Fixnum] value new value for the subprogress # @param [String] label new label for the subprogress +# +# FIXME: Obsolete published method def SubProgress(value, label); end # Restart the global progress of the slideshow. This means the # label will be set to given text, value to 0. # # @param [String] text new label for the global progress +# +# FIXME: Obsolete published method def GlobalProgressStart(text) UpdateGlobalProgress(0, text) end @@ -230,15 +235,15 @@ value ||= @total_progress_value label ||= @total_progress_label - if UI.WidgetExists(UI_ID::TOTAL_PROGRESS) + if UI.WidgetExists(:progressTotal) if @total_progress_value != value @total_progress_value = value - UI.ChangeWidget(UI_ID::TOTAL_PROGRESS, :Value, value) + UI.ChangeWidget(:progressTotal, :Value, value) end if @total_progress_label != label @total_progress_label = label - UI.ChangeWidget(UI_ID::TOTAL_PROGRESS, :Label, label) + UI.ChangeWidget(:progressTotal, :Label, label) end else log.warn "progressTotal widget missing" @@ -329,6 +334,7 @@ # Check if the slide show is available. This must be called before trying # to access any slides; some late initialization is done here. # +# FIXME: Obsolete def CheckForSlides nil end @@ -336,6 +342,7 @@ # Set the slide show text.
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-04-09 01:43:53 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1900 (New) Package is "yast2" Sat Apr 9 01:43:53 2022 rev:530 rq:967512 version:4.5.1 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-03-11 21:41:14.182069231 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1900/yast2.changes2022-04-09 01:44:03.338730669 +0200 @@ -1,0 +2,12 @@ +Thu Apr 7 11:43:15 UTC 2022 - Stefan Hundhammer + +- Show file conflict checking progress in delayed popup (bsc#1195608) + PR: https://github.com/yast/yast-yast2/pull/1252 +- 4.5.1 + +--- +Wed Apr 06 13:24:58 UTC 2022 - Ladislav Slez??k + +- Bump version to 4.5.0 (#bsc1198109) + +--- Old: yast2-4.4.47.tar.bz2 New: yast2-4.5.1.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.OrM5gx/_old 2022-04-09 01:44:05.262707890 +0200 +++ /var/tmp/diff_new_pack.OrM5gx/_new 2022-04-09 01:44:05.270707796 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.47 +Version:4.5.1 Release:0 Summary:YaST2 Main Package ++ yast2-4.4.47.tar.bz2 -> yast2-4.5.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.47/library/general/src/lib/ui/delayed_progress_popup.rb new/yast2-4.5.1/library/general/src/lib/ui/delayed_progress_popup.rb --- old/yast2-4.4.47/library/general/src/lib/ui/delayed_progress_popup.rb 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.5.1/library/general/src/lib/ui/delayed_progress_popup.rb 2022-04-07 16:00:08.0 +0200 @@ -0,0 +1,242 @@ +# -- +# Copyright (c) 2022 SUSE LLC +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of version 2 of the GNU General Public License as published by the +# Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# +# -- + +require "yast2/system_time" +require "yast" + +module Yast + # Progress popup dialog that only opens after a certain delay, so it never + # opens for very short operations (< 4 seconds by default), only when an + # operation takes long enough to actually give feedback to the user. + # + # This is less disruptive than a progress dialog that always opens, and in + # most cases, flashes by so fast that the user can't recognize what it says. + # + # The tradeoff is that it takes a few seconds until there is any visual + # feedback (until the delay is expired). + # + # Notice that this does not use an active timer; the calling application has + # to trigger the check for the timeout by calling progress() in regular + # intervals. + # + # You can change the delay by changing the delay_seconds member variable, you + # can force the dialog to open with open!, and you can stop and (re-) start + # the timer. + # + # In any case, when done with this progress reporting, call close(). You + # don't need to check if it ever opened; close() does that automatically. + # + # see examples/delayed_progress_1.rb for a usage example. + # + class DelayedProgressPopup +include Yast::UIShortcuts +include Yast::Logger + +# @return [String] Text for the dialog heading. Default: nil. +attr_accessor :heading + +# @return [Integer] Delay (timeout) in seconds. +attr_accessor :delay_seconds + +# @return [Integer] Percent (0..100) that are considered "almost done" +# so the dialog is not opened anymore if it isn't already. Default: 80 +# Set this to 100 to disable that. +attr_accessor :almost_done_percent + +# @return [Boolean] Add a "Cancel" button to the dialog. Default: true. +attr_accessor :use_cancel_button + +# Constructor. +# +# If `auto_start` is `true` (default), this also starts the timer with a +# default (4 seconds) timeout. +# +# The `close` method must be explicitly called at the end when the progress +# is finished. +# +# @param delay [Integer,nil] optional delay in seconds +# @param auto_start [Boolean] start the timer immediately
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-03-11 21:41:08 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.25692 (New) Package is "yast2" Fri Mar 11 21:41:08 2022 rev:529 rq:961100 version:4.4.47 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-02-17 23:40:58.175700695 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.25692/yast2.changes 2022-03-11 21:41:14.182069231 +0100 @@ -1,0 +2,21 @@ +Fri Mar 11 13:05:14 UTC 2022 - Imobach Gonzalez Sosa + +- Extend the Package module to force using PackageSystem or + PackageAI without having the mode into account. +- AutoYaST: properly detect whether firewalld, bind and + yast2-dns-server packages are installed when cloning a system + (bsc#1196963). +- 4.4.47 + +--- +Tue Mar 8 13:24:14 UTC 2022 - Stefan Hundhammer + +- Reverted LD_PRELOAD change (GitHub PR#1236) (bsc#1196326) +- 4.4.46 + +--- +Wed Mar 2 12:00:57 UTC 2022 - Stefan Hundhammer + +- New doc: Invoking External Commands in YaST (in doc/) + +--- Old: yast2-4.4.45.tar.bz2 New: yast2-4.4.47.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.4rAYjk/_old 2022-03-11 21:41:16.118070716 +0100 +++ /var/tmp/diff_new_pack.4rAYjk/_new 2022-03-11 21:41:16.122070720 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.45 +Version:4.4.47 Release:0 Summary:YaST2 Main Package ++ yast2-4.4.45.tar.bz2 -> yast2-4.4.47.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.45/doc/yast-invoking-external-commands.md new/yast2-4.4.47/doc/yast-invoking-external-commands.md --- old/yast2-4.4.45/doc/yast-invoking-external-commands.md 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.4.47/doc/yast-invoking-external-commands.md 2022-03-11 15:55:52.0 +0100 @@ -0,0 +1,275 @@ +# Invoking External Commands in YaST + +## Best Practice: Yast::Execute + +_This is the method to use since about 2018. Don't use SCR .target.bash in new code._ + +```Ruby +Yast::Execute.on_target!("ls", "-l", arg) +``` + +or + +```Ruby +Yast::Execute.locally!("ls", "-l", arg) +``` + +This does **not** use a shell to invoke the command, it does a simple `fork()` +/ `execvp()`. It does use `$PATH`, though. See below for security +considerations. + +Since this does not use a shell, there is no wildcard file globbing, no I/O +redirection, no pipelined commands, no `||` or `&&`. But all that should be +handled in Ruby code anyway; don't use `| grep | awk` etc. pipelines in YaST +code; Ruby can do all that better and safer. + +Under the hood, _Yast::Execute_ uses the [Cheetah Ruby Gem](https://github.com/openSUSE/cheetah). + +See also the [Yast::Execute reference documentation](https://www.rubydoc.info/github/yast/yast-yast2/master/Yast/Execute) +and [sources](https://github.com/yast/yast-yast2/blob/master/library/system/src/lib/yast2/execute.rb). + + +## Legacy Method: SCR .target.bash + +Much of the existing YaST code still uses _SCR_ with _.target.bash_. +_This should not be used in new code anymore._ + +As the name implies, _.target.bash_ uses a bash shell, and it starts external +programs on the _target_, i.e. in a _chroot_ environment (if needed, +i.e. during installation or system upgrade) of the machine that is currently +being installed or configured. + + +### .target.bash in the Ruby Code + +```Ruby +ret_code = SCR.Execute(path(".target.bash"), command) +``` + +or + +```Ruby +result = SCR.Execute(path(".target.bash_output"), command) +ret_code = result["exit"] +stdout = result["stdout"] +stderr = result["stderr"] +``` + +or + +```Ruby +output = SCR.Execute(path(".target.bash_output"), command)["stdout"] +``` + +_(also available: .target.bash_background, .target.bash_input)_ + + +### .target.bash: The System Agent + +This uses the _system agent_ which is registered for all SCR _paths_ starting with `.target`. + + + +`/usr/share/YaST2/scrconf/target.scr`: + +``` +.target +`ag_system () +``` + +https://github.com/yast/yast-core/blob/master/agent-system/conf/target.scr#L51 + +This ultimately comes down to using the plain C stdlib `system()` function (`man 3 system`): + +https://github.com/yast/yast-core/blob/master/agent-system/src/ShellCommand.cc#L170 + +In the inst-sys, this uses a _chroot_ jail: +
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-02-17 23:40:02 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1958 (New) Package is "yast2" Thu Feb 17 23:40:02 2022 rev:528 rq:955663 version:4.4.45 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-02-01 14:02:42.236176834 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1958/yast2.changes2022-02-17 23:40:58.175700695 +0100 @@ -1,0 +2,14 @@ +Thu Feb 17 13:25:33 UTC 2022 - Steffen Winterfeldt + +- do not strip surrounding white space in CDATA XML elements (bsc#1195910) +- 4.4.45 + +--- +Wed Feb 16 15:17:14 UTC 2022 - Ladislav Slez??k + +- Keep the user defined $Y2STYLE and $XCURSOR_THEME environment + variables, allow changing the installer theme via these + environment variables (related to jsc#SLE-20547) +- 4.4.44 + +--- Old: yast2-4.4.43.tar.bz2 New: yast2-4.4.45.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.jXSaBF/_old 2022-02-17 23:40:58.839700689 +0100 +++ /var/tmp/diff_new_pack.jXSaBF/_new 2022-02-17 23:40:58.843700689 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.43 +Version:4.4.45 Release:0 Summary:YaST2 Main Package ++ yast2-4.4.43.tar.bz2 -> yast2-4.4.45.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.43/library/xml/src/modules/XML.rb new/yast2-4.4.45/library/xml/src/modules/XML.rb --- old/yast2-4.4.43/library/xml/src/modules/XML.rb 2022-01-28 16:18:39.0 +0100 +++ new/yast2-4.4.45/library/xml/src/modules/XML.rb 2022-02-17 16:28:49.0 +0100 @@ -247,7 +247,13 @@ children = children.select(&:element?) # we need just direct text under node. Can be splitted with another elements # but remove whitespace only text - text = node.xpath("text()").text.strip + # + # Do NOT strip surrounding white space in CDATA blocks (bsc#1195910). + # This restores the behavior prior to SLE15-SP3. + # + # See also #add_element. + text_nodes = node.xpath("text()") + text = text_nodes.map { |n| n.cdata? ? n.content : n.content.strip }.join type = fetch_type(text, children, node) @@ -301,7 +307,13 @@ element = Nokogiri::XML::Node.new(key, doc) case value when ::String - element.content = value + # Write CDATA block if string has surrounding white space. This matches + # the stripping in #parse_node. + if value.match?(/\A\s|\s\z/) +element.add_child(doc.create_cdata(value)) + else +element.content = value + end when ::Integer element[type_attr] = "integer" element.content = value.to_s diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.43/library/xml/test/xml_test.rb new/yast2-4.4.45/library/xml/test/xml_test.rb --- old/yast2-4.4.43/library/xml/test/xml_test.rb 2022-01-28 16:18:39.0 +0100 +++ new/yast2-4.4.45/library/xml/test/xml_test.rb 2022-02-17 16:28:49.0 +0100 @@ -85,6 +85,30 @@ expect(subject.YCPToXMLString("test", input)).to eq expected end + + it "creates CDATA element if string starts with spaces" do +input = { "test" => " test", "lest" => "\nlest" } +expected = "\n" \ + "\n" \ + "\n" \ + " \n" \ + " \n" \ + "\n" + +expect(subject.YCPToXMLString("test", input)).to eq expected + end + + it "creates CDATA element if string ends with spaces" do +input = { "test" => "test ", "lest" => "lest\n" } +expected = "\n" \ + "\n" \ + "\n" \ + " \n" \ + " \n" \ + "\n" + +expect(subject.YCPToXMLString("test", input)).to eq expected + end end context "for hash" do @@ -283,6 +307,52 @@ expect(subject.XMLToYCPString(input)).to eq expected end + +it "strips spaces at the end of strings" do + input = "\n" \ + "http://www.suse.com/1.0/yast2ns\; xmlns:config=\"http://www.suse.com/1.0/configns\;>\n" \ + " foo \n" \ + " bar\n" \ + " \n" \ + "\n" + expected = { "test" => "foo",
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-02-01 14:02:30 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1898 (New) Package is "yast2" Tue Feb 1 14:02:30 2022 rev:527 rq:949711 version:4.4.43 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-01-27 23:17:20.306824150 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1898/yast2.changes2022-02-01 14:02:42.236176834 +0100 @@ -1,0 +2,6 @@ +Fri Jan 28 14:03:04 UTC 2022 - Josef Reidinger + +- ProductFeatures: add boot timeout option (jsc#SLE-22667) +- 4.4.43 + +--- Old: yast2-4.4.42.tar.bz2 New: yast2-4.4.43.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.IvkNEg/_old 2022-02-01 14:02:42.976171761 +0100 +++ /var/tmp/diff_new_pack.IvkNEg/_new 2022-02-01 14:02:42.980171734 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.42 +Version:4.4.43 Release:0 Summary:YaST2 Main Package ++ yast2-4.4.42.tar.bz2 -> yast2-4.4.43.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.42/library/control/src/modules/ProductFeatures.rb new/yast2-4.4.43/library/control/src/modules/ProductFeatures.rb --- old/yast2-4.4.42/library/control/src/modules/ProductFeatures.rb 2022-01-27 08:56:41.0 +0100 +++ new/yast2-4.4.43/library/control/src/modules/ProductFeatures.rb 2022-01-28 16:18:39.0 +0100 @@ -48,32 +48,34 @@ # two-level map, section_name -> [ feature -> value ] @defaults = { "globals" => { - "incomplete_translation_treshold" => "95", - "ui_mode" => "expert", - "enable_autologin"=> true, - "language"=> "", - "skip_language_dialog"=> false, - "keyboard"=> "", + "additional_kernel_parameters"=> "", + # FATE #304865 + "base_product_license_directory" => "/usr/share/licenses/product/base/", + # jsc#SLE-22667 + "boot_timeout"=> 8, "default_target" => "", - "timezone"=> "", - "fam_local_only" => "never", + "disable_os_prober" => false, + "enable_autologin"=> true, + "enable_clone"=> false, "enable_firewall" => true, - "firewall_enable_ssh" => false, + "enable_local_users" => true, "enable_sshd" => false, - "additional_kernel_parameters"=> "", + "fam_local_only" => "never", + "firewall_enable_ssh" => false, "flags" => [], - "run_you" => true, - "relnotesurl" => "", - "vendor_url" => "", - "enable_clone"=> false, - "disable_os_prober" => false, - "enable_local_users" => true, - # FATE #304865 - "base_product_license_directory" => "/usr/share/licenses/product/base/", - "full_system_media_name" => "", "full_system_download_url"=> "", + "full_system_media_name" => "", + "incomplete_translation_treshold" => "95", + "keyboard"=> "", + "language"=> "", + "propose_hibernation" => true, + "relnotesurl" => "", + "run_you" => true, "save_y2logs" => true, - "propose_hibernation" => true + "skip_language_dialog"=> false, + "timezone"=> "", + "ui_mode" => "expert", + "vendor_url" => "" }, "partitioning" => { "use_flexible_partitioning"=> false, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.42/package/yast2.changes new/yast2-4.4.43/package/yast2.changes --- old/yast2-4.4.42/package/yast2.changes 2022-01-27 08:56:41.0 +0100 +++
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-01-27 23:16:44 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1898 (New) Package is "yast2" Thu Jan 27 23:16:44 2022 rev:526 rq:949397 version:4.4.42 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-01-25 17:37:04.129921632 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1898/yast2.changes2022-01-27 23:17:20.306824150 +0100 @@ -1,0 +2,20 @@ +Wed Jan 26 18:27:40 UTC 2022 - Ladislav Slez??k + +- Added Y2Packager::NewRepositorySetup to track new repositories + (related to bsc#1194453) +- 4.4.42 + +--- +Wed Jan 26 13:21:21 UTC 2022 - Imobach Gonzalez Sosa + +- Fix PackageAI call to PackagesProposal.GetResolvable. It prevents + a crash when cloning a system (bsc#1195137). +- 4.4.41 + +--- +Tue Jan 25 17:00:34 UTC 2022 - Imobach Gonzalez Sosa + +- Use Package module instead of PackageSystem (bsc#1194886). +- 4.4.40 + +--- @@ -4 +24 @@ -- Preload libsuseconnect.so if avaiable. On aarch64 installer/YaST +- Preload libsuseconnect.so if available. On aarch64 installer/YaST Old: yast2-4.4.39.tar.bz2 New: yast2-4.4.42.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.31FkTM/_old 2022-01-27 23:17:21.030819148 +0100 +++ /var/tmp/diff_new_pack.31FkTM/_new 2022-01-27 23:17:21.038819093 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.39 +Version:4.4.42 Release:0 Summary:YaST2 Main Package ++ yast2-4.4.39.tar.bz2 -> yast2-4.4.42.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.39/library/network/src/lib/network/susefirewall.rb new/yast2-4.4.42/library/network/src/lib/network/susefirewall.rb --- old/yast2-4.4.39/library/network/src/lib/network/susefirewall.rb 2022-01-25 09:21:38.0 +0100 +++ new/yast2-4.4.42/library/network/src/lib/network/susefirewall.rb 2022-01-27 08:56:41.0 +0100 @@ -36,7 +36,7 @@ Yast.import "Mode" Yast.import "NetworkInterfaces" -Yast.import "PackageSystem" +Yast.import "Package" Yast.import "PortRanges" Yast.import "Service" @@ -554,10 +554,10 @@ return true if @needed_packages_installed if Mode.normal -@needed_packages_installed = PackageSystem.CheckAndInstallPackages([@FIREWALL_PACKAGE]) +@needed_packages_installed = Package.CheckAndInstallPackages([@FIREWALL_PACKAGE]) log.info "CheckAndInstallPackages -> #{@needed_packages_installed}" else -@needed_packages_installed = PackageSystem.Installed(@FIREWALL_PACKAGE) +@needed_packages_installed = Package.Installed(@FIREWALL_PACKAGE) log.info "Installed -> #{@needed_packages_installed}" end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.39/library/network/src/lib/network/susefirewall2.rb new/yast2-4.4.42/library/network/src/lib/network/susefirewall2.rb --- old/yast2-4.4.39/library/network/src/lib/network/susefirewall2.rb 2022-01-25 09:21:38.0 +0100 +++ new/yast2-4.4.42/library/network/src/lib/network/susefirewall2.rb 2022-01-27 08:56:41.0 +0100 @@ -51,7 +51,6 @@ Yast.import "Message" Yast.import "Progress" Yast.import "PortRanges" - Yast.import "PackageSystem" Yast.import "FileUtils" Yast.import "Directory" Yast.import "Stage" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.39/library/network/src/lib/y2firewall/firewalld/api.rb new/yast2-4.4.42/library/network/src/lib/y2firewall/firewalld/api.rb --- old/yast2-4.4.39/library/network/src/lib/y2firewall/firewalld/api.rb 2022-01-25 09:21:38.0 +0100 +++ new/yast2-4.4.42/library/network/src/lib/y2firewall/firewalld/api.rb 2022-01-27 08:56:41.0 +0100 @@ -28,7 +28,7 @@ Yast.import "Stage" Yast.import "Service" -Yast.import "PackageSystem" +Yast.import "Package" module Y2Firewall class Firewalld @@ -91,7 +91,7 @@ # @return [Boolean] true if the state is running; false otherwise def running? return false if Yast::Stage.initial -return false if !Yast::PackageSystem.Installed(PACKAGE) +return false if !Yast::Package.Installed(PACKAGE) state == "running" end diff -urN
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-01-25 17:35:56 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1938 (New) Package is "yast2" Tue Jan 25 17:35:56 2022 rev:525 rq:948941 version:4.4.39 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-01-14 23:14:00.890661736 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1938/yast2.changes2022-01-25 17:37:04.129921632 +0100 @@ -1,0 +2,26 @@ +Mon Jan 24 21:04:10 UTC 2022 - Jacek Tomasiak + +- Preload libsuseconnect.so if avaiable. On aarch64 installer/YaST + sometimes failed to load libsuseconnect.so with "cannot allocate + memory in static TLS block" error. + Loading the library before others solves the problem until a better + solution is found (bsc#1194996). +- 4.3.39 + +--- +Fri Jan 21 15:41:19 UTC 2022 - Imobach Gonzalez Sosa + +- Unify Package, PackageSystem and PackageAI. Now the Package + module is the entry point. PackageSystem and PackageAI implement + specific logic and they should not be referenced from outside + (bsc#1194886). +- 4.3.38 + +--- +Fri Jan 21 12:51:45 UTC 2022 - Jos?? Iv??n L??pez Gonz??lez + +- Fix CWM dialog: argument delegation is handled differently in + ruby 2.6 and before (bsc#1194984). +- 4.4.37 + +--- Old: yast2-4.4.36.tar.bz2 New: yast2-4.4.39.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.3mPAa2/_old 2022-01-25 17:37:04.913916232 +0100 +++ /var/tmp/diff_new_pack.3mPAa2/_new 2022-01-25 17:37:04.921916177 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.36 +Version:4.4.39 Release:0 Summary:YaST2 Main Package @@ -54,8 +54,8 @@ BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake) # for XML module BuildRequires: rubygem(%rb_default_ruby_abi:nokogiri) -# To have Yast::WFM.scr_root -BuildRequires: yast2-ruby-bindings >= 3.2.8 +# yast/rspec/helpers.rb +BuildRequires: yast2-ruby-bindings >= 4.4.7 BuildRequires: yast2-testsuite # Nested items in tables BuildRequires: yast2-ycp-ui-bindings >= 4.3.3 ++ yast2-4.4.36.tar.bz2 -> yast2-4.4.39.tar.bz2 ++ 1913 lines of diff (skipped)
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-01-14 23:13:00 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1892 (New) Package is "yast2" Fri Jan 14 23:13:00 2022 rev:524 rq:946436 version:4.4.36 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2022-01-08 23:23:27.410223690 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1892/yast2.changes2022-01-14 23:14:00.890661736 +0100 @@ -1,0 +2,13 @@ +Fri Jan 14 13:56:49 UTC 2022 - Ancor Gonzalez Sosa + +- Adapted Report.yesno_popup to Ruby 3 (bsc#1193192) +- 4.4.36 + +--- +Wed Jan 12 11:46:50 UTC 2022 - Josef Reidinger + +- Simplify slide show to support future parallel installations + (jsc#SLE-20437) +- 4.4.35 + +--- Old: yast2-4.4.34.tar.bz2 New: yast2-4.4.36.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.AJFR9F/_old 2022-01-14 23:14:01.502662130 +0100 +++ /var/tmp/diff_new_pack.AJFR9F/_new 2022-01-14 23:14:01.506662133 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.34 +Version:4.4.36 Release:0 Summary:YaST2 Main Package ++ yast2-4.4.34.tar.bz2 -> yast2-4.4.36.tar.bz2 ++ 8749 lines of diff (skipped)
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2022-01-08 23:23:11 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1892 (New) Package is "yast2" Sat Jan 8 23:23:11 2022 rev:523 rq:944906 version:4.4.34 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-12-26 13:30:23.202954387 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.1892/yast2.changes2022-01-08 23:23:27.410223690 +0100 @@ -1,0 +2,14 @@ +Fri Jan 7 14:41:15 UTC 2022 - Ladislav Slez??k + +- Fixed test failure in Ruby 2.5, caused by the fix for Ruby 3.0 + (related to bsc#1193192) +- 4.4.34 + +--- +Fri Jan 7 08:32:21 UTC 2022 - Knut Anderssen + +- Y2Packager::Resolvable: added none? method in order to not crash + in case of rubocop automatic change (bsc#1194387) +- 4.4.33 + +--- Old: yast2-4.4.32.tar.bz2 New: yast2-4.4.34.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.yFpccX/_old 2022-01-08 23:23:28.138224284 +0100 +++ /var/tmp/diff_new_pack.yFpccX/_new 2022-01-08 23:23:28.142224287 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.32 +Version:4.4.34 Release:0 Summary:YaST2 Main Package ++ yast2-4.4.32.tar.bz2 -> yast2-4.4.34.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.32/library/cwm/src/lib/cwm/dialog.rb new/yast2-4.4.34/library/cwm/src/lib/cwm/dialog.rb --- old/yast2-4.4.32/library/cwm/src/lib/cwm/dialog.rb 2021-12-25 17:57:25.0 +0100 +++ new/yast2-4.4.34/library/cwm/src/lib/cwm/dialog.rb 2022-01-07 17:26:30.0 +0100 @@ -26,6 +26,10 @@ # @return [CWM::WidgetTerm] abstract_method :contents +# Constructor (empty to just allow passing extra options) +def initialize(*args, **kws) +end + # A shortcut for `.new(*args).run` def self.run(*args, **kws) new(*args, **kws).run diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.32/library/cwm/src/lib/cwm/popup.rb new/yast2-4.4.34/library/cwm/src/lib/cwm/popup.rb --- old/yast2-4.4.32/library/cwm/src/lib/cwm/popup.rb 2021-12-25 17:57:25.0 +0100 +++ new/yast2-4.4.34/library/cwm/src/lib/cwm/popup.rb 2022-01-07 17:26:30.0 +0100 @@ -26,6 +26,11 @@ # This class offers a CWM dialog which behaves as a pop-up. # @see {CWM::Dialog} for remaining configuration options. class Popup < Dialog +# Constructor (empty to just allow passing extra options) +def initialize(*args, **kws) + super +end + # Determines that a dialog should always be open # # @return [true] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.32/library/general/test/ui/installation/layout_test.rb new/yast2-4.4.34/library/general/test/ui/installation/layout_test.rb --- old/yast2-4.4.32/library/general/test/ui/installation/layout_test.rb 2021-12-25 17:57:25.0 +0100 +++ new/yast2-4.4.34/library/general/test/ui/installation/layout_test.rb 2022-01-07 17:26:30.0 +0100 @@ -24,6 +24,12 @@ require "ui/wizards/layout" describe UI::Wizards::Layout do + before do +# ProductFeatures read the defaults from the system when running +# in an installed system +allow(Yast::Stage).to receive(:normal).and_return(false) + end + describe ".with_steps" do it "creates a layout with steps sidebar" do layout = described_class.with_steps diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.32/library/packages/src/lib/y2packager/resolvable.rb new/yast2-4.4.34/library/packages/src/lib/y2packager/resolvable.rb --- old/yast2-4.4.32/library/packages/src/lib/y2packager/resolvable.rb 2021-12-25 17:57:25.0 +0100 +++ new/yast2-4.4.34/library/packages/src/lib/y2packager/resolvable.rb 2022-01-07 17:26:30.0 +0100 @@ -81,6 +81,15 @@ Yast::Pkg.AnyResolvable(params) end +# Return true when there is no resolvable matching the requested parameters or false +# otherwise. +# +# @param params [Hash] The requested attributes +
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-12-26 13:30:18 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2520 (New) Package is "yast2" Sun Dec 26 13:30:18 2021 rev:522 rq:942460 version:4.4.32 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-12-21 18:40:26.705863794 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.2520/yast2.changes2021-12-26 13:30:23.202954387 +0100 @@ -1,0 +2,6 @@ +Thu Dec 23 18:08:19 UTC 2021 - Josef Reidinger + +- properly pass named arguments in ruby3 (bsc#1193192) +- 4.4.32 + +--- Old: yast2-4.4.31.tar.bz2 New: yast2-4.4.32.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.NZfQYM/_old 2021-12-26 13:30:25.362955892 +0100 +++ /var/tmp/diff_new_pack.NZfQYM/_new 2021-12-26 13:30:25.366955895 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.31 +Version:4.4.32 Release:0 Summary:YaST2 Main Package ++ yast2-4.4.31.tar.bz2 -> yast2-4.4.32.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.31/library/cwm/src/lib/cwm/dialog.rb new/yast2-4.4.32/library/cwm/src/lib/cwm/dialog.rb --- old/yast2-4.4.31/library/cwm/src/lib/cwm/dialog.rb 2021-12-20 16:45:07.0 +0100 +++ new/yast2-4.4.32/library/cwm/src/lib/cwm/dialog.rb 2021-12-25 17:57:25.0 +0100 @@ -27,8 +27,8 @@ abstract_method :contents # A shortcut for `.new(*args).run` -def self.run(*args) - new(*args).run +def self.run(*args, **kws) + new(*args, **kws).run end # The entry point. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.31/library/cwm/test/dialog_test.rb new/yast2-4.4.32/library/cwm/test/dialog_test.rb --- old/yast2-4.4.31/library/cwm/test/dialog_test.rb2021-12-20 16:45:07.0 +0100 +++ new/yast2-4.4.32/library/cwm/test/dialog_test.rb2021-12-25 17:57:25.0 +0100 @@ -6,10 +6,17 @@ describe "CWM::Dialog" do class TestCWMDialog < CWM::Dialog +attr_reader :title, :disable +def initialize(title = "test", disable: :abort) + @title = title + @disable = disable +end + def contents VBox() end end + subject { TestCWMDialog.new } include_examples "CWM::Dialog" @@ -19,6 +26,13 @@ allow(Yast::Wizard).to receive(:IsWizardDialog).and_return(false) allow(Yast::Wizard).to receive(:CreateDialog) allow(Yast::Wizard).to receive(:CloseDialog) + allow(Yast::CWM).to receive(:show).and_return(:next) +end + +it "pass all arguments to constructor" do + expect(TestCWMDialog).to receive(:new).with("test2", disable: :next).and_call_original + + TestCWMDialog.run("test2", disable: :next) end it "opens a dialog when needed, and calls CWM#show" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.31/library/general/src/lib/ui/text_helpers.rb new/yast2-4.4.32/library/general/src/lib/ui/text_helpers.rb --- old/yast2-4.4.31/library/general/src/lib/ui/text_helpers.rb 2021-12-20 16:45:07.0 +0100 +++ new/yast2-4.4.32/library/general/src/lib/ui/text_helpers.rb 2021-12-25 17:57:25.0 +0100 @@ -30,18 +30,8 @@ end # (see Yast2::Refinements::StringManipulations#wrap_text) -def wrap_text(text, *args) - width = args.find { |a| a.is_a?(Integer) } - map = args.find { |a| a.is_a?(Hash) } - if map && width -text.wrap_text(width, **map) - elsif width -text.wrap_text(width) - elsif map -text.wrap_text(**map) - else -text.wrap_text - end +def wrap_text(text, *args, **kwa) + text.wrap_text(*args, **kwa) end # (see Yast2::Refinements::StringManipulations#head) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.31/package/yast2.changes new/yast2-4.4.32/package/yast2.changes --- old/yast2-4.4.31/package/yast2.changes 2021-12-20 16:45:07.0 +0100 +++ new/yast2-4.4.32/package/yast2.changes 2021-12-25 17:57:25.0 +0100 @@ -1,4 +1,10 @@ --- +Thu Dec 23 18:08:19 UTC 2021 - Josef Reidinger + +- properly pass named arguments in ruby3 (bsc#1193192) +- 4.4.32 + +--- Mon Dec 20 11:07:31 UTC 2021 - Imobach Gonzalez
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-12-21 18:40:21 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2520 (New) Package is "yast2" Tue Dec 21 18:40:21 2021 rev:521 rq:941679 version:4.4.31 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-12-18 20:30:03.642236368 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.2520/yast2.changes2021-12-21 18:40:26.705863794 +0100 @@ -1,0 +2,7 @@ +Mon Dec 20 11:07:31 UTC 2021 - Imobach Gonzalez Sosa + +- Do not reinitialize the packaging system during offline + upgrade (bsc#1193784 and bsc#1192437). +- 4.4.31 + +--- Old: yast2-4.4.30.tar.bz2 New: yast2-4.4.31.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.9hZCxL/_old 2021-12-21 18:40:27.277864308 +0100 +++ /var/tmp/diff_new_pack.9hZCxL/_new 2021-12-21 18:40:27.281864312 +0100 @@ -17,8 +17,9 @@ Name: yast2 -Version:4.4.30 +Version:4.4.31 Release:0 + Summary:YaST2 Main Package License:GPL-2.0-only Group: System/YaST ++ yast2-4.4.30.tar.bz2 -> yast2-4.4.31.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.30/library/control/src/modules/WorkflowManager.rb new/yast2-4.4.31/library/control/src/modules/WorkflowManager.rb --- old/yast2-4.4.30/library/control/src/modules/WorkflowManager.rb 2021-12-16 13:24:53.0 +0100 +++ new/yast2-4.4.31/library/control/src/modules/WorkflowManager.rb 2021-12-20 16:45:07.0 +0100 @@ -60,6 +60,7 @@ Yast.import "String" Yast.import "XML" Yast.import "Report" + Yast.import "Mode" # #This API uses some new terms that need to be explained: @@ -1694,7 +1695,9 @@ Tempfile.open("downloaded-package-") do |tmp| # libzypp needs the target for verifying the GPG signatures of the downloaded packages, # keep the target initialized, it might be needed later for verifying other packages -Pkg.TargetInitialize("/") if Stage.initial +# However, avoid this call when running on update mode because we need the repositories +# from the system to upgrade too. +Pkg.TargetInitialize("/") if Stage.initial && !Mode.update downloader.download(tmp.path) extract(tmp.path, dir) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.30/package/yast2.changes new/yast2-4.4.31/package/yast2.changes --- old/yast2-4.4.30/package/yast2.changes 2021-12-16 13:24:53.0 +0100 +++ new/yast2-4.4.31/package/yast2.changes 2021-12-20 16:45:07.0 +0100 @@ -1,4 +1,11 @@ --- +Mon Dec 20 11:07:31 UTC 2021 - Imobach Gonzalez Sosa + +- Do not reinitialize the packaging system during offline + upgrade (bsc#1193784 and bsc#1192437). +- 4.4.31 + +--- Thu Dec 16 08:39:01 UTC 2021 - Ladislav Slez??k - Fixed RelURL to work properly with the FTP URLs (related to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.30/package/yast2.spec new/yast2-4.4.31/package/yast2.spec --- old/yast2-4.4.30/package/yast2.spec 2021-12-16 13:24:53.0 +0100 +++ new/yast2-4.4.31/package/yast2.spec 2021-12-20 16:45:07.0 +0100 @@ -17,7 +17,8 @@ Name: yast2 -Version:4.4.30 +Version:4.4.31 + Release:0 Summary:YaST2 Main Package License:GPL-2.0-only
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-12-18 20:29:43 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2520 (New) Package is "yast2" Sat Dec 18 20:29:43 2021 rev:520 rq:940886 version:4.4.30 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-12-03 20:35:43.824150355 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.2520/yast2.changes2021-12-18 20:30:03.642236368 +0100 @@ -1,0 +2,21 @@ +Thu Dec 16 08:39:01 UTC 2021 - Ladislav Slez??k + +- Fixed RelURL to work properly with the FTP URLs (related to + jsc#SLE-22669) +- 4.4.30 + +--- +Wed Dec 15 13:21:31 UTC 2021 - Ladislav Slez??k + +- Fixed RelURL unit test randomly crashing (related to + jsc#SLE-22669) +- 4.4.29 + +--- +Tue Dec 14 16:24:00 UTC 2021 - Ladislav Slez??k + +- Added RelURL class for working with relative URLs ("relurl://") + (jsc#SLE-22669) +- 4.4.28 + +--- Old: yast2-4.4.27.tar.bz2 New: yast2-4.4.30.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.MlZjXh/_old 2021-12-18 20:30:04.494236841 +0100 +++ /var/tmp/diff_new_pack.MlZjXh/_new 2021-12-18 20:30:04.514236852 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.27 +Version:4.4.30 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.4.27.tar.bz2 -> yast2-4.4.30.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.27/library/general/src/lib/yast2/rel_url.rb new/yast2-4.4.30/library/general/src/lib/yast2/rel_url.rb --- old/yast2-4.4.27/library/general/src/lib/yast2/rel_url.rb 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.4.30/library/general/src/lib/yast2/rel_url.rb 2021-12-16 13:24:53.0 +0100 @@ -0,0 +1,135 @@ +# Copyright (c) [2021] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + +require "yast" +require "uri" + +module Yast2 + # Class for working with relative URLs ("relurl://") + class RelURL +# @return [URI] the input base URL +attr_reader :base + +# @return [URI] the input relative URL +attr_reader :relative + +# Is the URL a relative URL? +# +# @param url [String, URI] the URL +# @return [Boolean] `true` if the URL uses the "relurl" schema, otherwise `false` +def self.relurl?(url) + URI(url).scheme == "relurl" +end + +# Create RelURL object with URL relative to the installation repository +# +# @param rel_url [String, URI] the relative URL, if non-relative URL is used +# then the result is this URL +# @return [RelURL] +# +# @note Works properly only during installation/upgrade, do not use +# in an installed system. +def self.from_installation_repository(rel_url) + Yast.import "InstURL" + base_url = Yast::InstURL.installInf2Url("") + new(base_url, rel_url) +end + +# Constructor +# +# @param base_url [String,URI] the base URL +# @param rel_url [String,URI] the relative URL, it should use the "relurl://" +# schema otherwise the base URL is ignored +def initialize(base_url, rel_url) + @base = URI(base_url).dup + @relative = URI(rel_url).dup + + preprocess_url(base) + preprocess_url(relative) +end + +# Build an absolute URL +# +# @param path [String,nil] optional URL subpath +# @return [URI] the absolute URL +# +# @note It internally uses the Ruby `File.expand_path` function which +# also evaluates the parent directory path ("../") so it is possible +# to go up in the tree using the "relurl://../foo" or the "../foo" path +# parameter. +def absolute_url(path = nil) + if (!relative.to_s.empty?
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-12-03 20:35:28 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.31177 (New) Package is "yast2" Fri Dec 3 20:35:28 2021 rev:519 rq:935290 version:4.4.27 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-11-20 02:38:43.272863105 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.31177/yast2.changes 2021-12-03 20:35:43.824150355 +0100 @@ -1,0 +2,34 @@ +Thu Dec 2 17:13:37 UTC 2021 - Ladislav Slez??k + +- Drop support for subscription-tools, that package is not present + in SLE15 anymore - removed modules/ProductProfiles.rb file + (bsc#1193339) +- 4.4.27 + +--- +Thu Dec 2 13:47:27 UTC 2021 - Ladislav Slez??k + +- Popup.YesNo(): Unify the internal [No] button ID (bsc#1193326) +- 4.4.26 + +--- +Wed Dec 1 13:13:34 UTC 2021 - Imobach Gonzalez Sosa + +- Add register_target to the Y2Packager::Product class + (bsc#1193212). +- 4.4.25 + +--- +Wed Dec 1 11:06:33 UTC 2021 - Imobach Gonzalez Sosa + +- Do not crash when it is not possible to fetch the package + containing the release notes (bsc#1193148). +- 4.4.24 + +--- +Tue Nov 30 18:34:38 UTC 2021 - Josef Reidinger + +- Prepare code for ruby3 (bsc#1193192) +- 4.4.23 + +--- Old: yast2-4.4.22.tar.bz2 New: yast2-4.4.27.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.zLGxlD/_old 2021-12-03 20:35:44.496147899 +0100 +++ /var/tmp/diff_new_pack.zLGxlD/_new 2021-12-03 20:35:44.496147899 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.22 +Version:4.4.27 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only @@ -112,8 +112,10 @@ Conflicts: yast2-country < 4.2.3 # SrvStatusComponent moved to yast2.rpm Conflicts: yast2-dns-server < 3.1.17 -# removed the XVersion API -Conflicts: yast2-installation < 4.2.9 +# removed ProductProfiles +Conflicts: yast2-installation < 4.4.25 +# removed ProductProfiles +Conflicts: yast2-add-on < 4.4.5 # moved cfg_mail.scr Conflicts: yast2-mail < 3.1.7 # anyxml droppped ++ yast2-4.4.22.tar.bz2 -> yast2-4.4.27.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.22/library/control/src/modules/ProductProfile.rb new/yast2-4.4.27/library/control/src/modules/ProductProfile.rb --- old/yast2-4.4.22/library/control/src/modules/ProductProfile.rb 2021-11-16 00:08:28.0 +0100 +++ new/yast2-4.4.27/library/control/src/modules/ProductProfile.rb 1970-01-01 01:00:00.0 +0100 @@ -1,239 +0,0 @@ -# File: modules/ProductProfile.ycp -# Package: yast2 -# Summary: Functions for handling Product Profiles -# Authors: Jiri Suchomel -# -# $Id$ -require "yast" -require "shellwords" -require "y2packager/resolvable" - -module Yast - class ProductProfileClass < Module -def main - textdomain "base" - - Yast.import "Directory" - Yast.import "Label" - Yast.import "Mode" - Yast.import "Pkg" - Yast.import "Report" - - # path to the profile file on the media - @profile_path = "/product.profile" - - # Result map of isCompliance call. - # If map is not empty, contains reasons why system is not compliant. - @compliance = {} - - # profiles for all installed products - # (full paths to the temporary copies) - @all_profiles = [] - - # mapping of product id's to product names - @productid2name = {} - - # remember products already checked - @compliance_checked = {} - - # directory to store profiles temporary during installation - @profiles_dir = "" -end - -# return the result of last compliance test -def GetComplianceMap - deep_copy(@compliance) -end - -# Return the list of paths to gpg keyfiles present in the root of given product media -# @param the product id -def GetSigKeysForProduct(src_id) - # find the list of sigkeys - dir_file = Pkg.SourceProvideOptionalFile(src_id, 1, "/directory.yast") - out = Convert.to_map( -SCR.Execute( - path(".target.bash_output"), - Builtins.sformat("/usr/bin/grep 'gpg-pubkey' %1 2>/dev/null", dir_file.shellescape) -) - ) - keys = [] -
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-11-20 02:38:14 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1895 (New) Package is "yast2" Sat Nov 20 02:38:14 2021 rev:518 rq:931637 version:4.4.22 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-09-20 23:32:42.967141180 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1895/yast2.changes2021-11-20 02:38:43.272863105 +0100 @@ -1,0 +2,17 @@ +Mon Nov 15 17:33:48 UTC 2021 - Stefan Hundhammer + +- Force creating the UI before checking -pkg etc. UI plug-ins + (bsc#1192650) +- 4.4.22 + +--- +Fri Nov 12 12:32:19 UTC 2021 - Imobach Gonzalez Sosa + +- Adapt the code to the new product specification API + (bsc#1192626). +- yast2-packager is now responsible for finding the list + of available base products during installation. +- Drop ProductControlProduct class. +- 4.4.21 + +--- Old: yast2-4.4.20.tar.bz2 New: yast2-4.4.22.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.sWPRDg/_old 2021-11-20 02:38:43.896861046 +0100 +++ /var/tmp/diff_new_pack.sWPRDg/_new 2021-11-20 02:38:43.896861046 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.20 +Version:4.4.22 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.4.20.tar.bz2 -> yast2-4.4.22.tar.bz2 ++ 2396 lines of diff (skipped)
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-09-20 23:32:08 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1899 (New) Package is "yast2" Mon Sep 20 23:32:08 2021 rev:517 rq:919733 version:4.4.20 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-09-08 21:36:29.909880291 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1899/yast2.changes2021-09-20 23:32:42.967141180 +0200 @@ -1,0 +2,22 @@ +Thu Sep 16 13:41:05 UTC 2021 - Ladislav Slez??k + +- Fixed losing the current product and package selection during + installation, caused by unnecessary reloading of repositories + (bsc#1190228) +- 4.4.20 + +--- +Wed Sep 15 15:30:00 UTC 2021 - Stefan Hundhammer + +- Added infrastructure for installing missing UI extension plug-ins + (jsc#SLE-20346, jsc#SLE-20462) +- 4.4.19 + +--- +Wed Sep 15 13:58:56 UTC 2021 - Jos?? Iv??n L??pez Gonz??lez + +- Add Y2Issues::WithIssues mixin to make easier to work with a list + of issues (needed for jsc#SLE-20563). +- 4.4.18 + +--- @@ -27 +49 @@ - (related to jsc#PM-2620 and bsc#1166743) + (related to jsc#SLE-20563 and bsc#1166743) @@ -40 +62 @@ -- add riscv64 architecture helper (jsc#PM-2612) +- add riscv64 architecture helper (jsc#SLE-19562) @@ -466 +488 @@ -- Related to jsc#PM-1998. +- Related to jsc#SLE-15899. Old: yast2-4.4.17.tar.bz2 New: yast2-4.4.20.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.ul3Fl6/_old 2021-09-20 23:32:43.739142134 +0200 +++ /var/tmp/diff_new_pack.ul3Fl6/_new 2021-09-20 23:32:43.743142138 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.17 +Version:4.4.20 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.4.17.tar.bz2 -> yast2-4.4.20.tar.bz2 ++ 5015 lines of diff (skipped)
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-09-08 21:36:24 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1899 (New) Package is "yast2" Wed Sep 8 21:36:24 2021 rev:516 rq:917053 version:4.4.17 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-07-20 15:40:04.405537768 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1899/yast2.changes2021-09-08 21:36:29.909880291 +0200 @@ -1,0 +2,7 @@ +Mon Sep 6 07:42:09 UTC 2021 - Martin Vidner + +- Mark systemd unit/service state "maintenance" as active + (bsc#1190163) +- 4.4.17 + +--- Old: yast2-4.4.16.tar.bz2 New: yast2-4.4.17.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.R2D3sG/_old 2021-09-08 21:36:30.481880956 +0200 +++ /var/tmp/diff_new_pack.R2D3sG/_new 2021-09-08 21:36:30.489880966 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.16 +Version:4.4.17 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.4.16.tar.bz2 -> yast2-4.4.17.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.16/library/systemd/src/lib/yast2/systemd/unit_properties.rb new/yast2-4.4.17/library/systemd/src/lib/yast2/systemd/unit_properties.rb --- old/yast2-4.4.16/library/systemd/src/lib/yast2/systemd/unit_properties.rb 2021-07-19 13:48:50.0 +0200 +++ new/yast2-4.4.17/library/systemd/src/lib/yast2/systemd/unit_properties.rb 2021-09-06 11:02:49.0 +0200 @@ -12,6 +12,10 @@ # # systemctl.c:check_unit_active uses (active, reloading) # For bsc#884756 we also consider "activating" to be active. + # + # "maintenance" means that the unit will automatically return + # to be "active" after a while. (`systemctl clean` was invoked) + # # (The remaining states are "deactivating", "inactive", "failed".) # # Yes, depending on systemd states that are NOT covered by their @@ -20,7 +24,7 @@ # (depending on hardware and software installed, VM or not) # is a 1 to 15 second delay (bsc#1045658). # That is why we try hard to avoid many systemctl calls. - ACTIVE_STATES = ["active", "activating", "reloading"].freeze + ACTIVE_STATES = ["active", "activating", "maintenance", "reloading"].freeze # @param systemd_unit [Yast2::Systemd::Unit] # @param property_text [String,nil] if provided, use it instead of calling `systemctl show` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.16/library/types/src/modules/URL.rb new/yast2-4.4.17/library/types/src/modules/URL.rb --- old/yast2-4.4.16/library/types/src/modules/URL.rb 2021-07-19 13:48:50.0 +0200 +++ new/yast2-4.4.17/library/types/src/modules/URL.rb 2021-09-06 11:02:49.0 +0200 @@ -30,6 +30,13 @@ require "yast" module Yast + # A module for dealing with URLs + # + # @note This is legacy code ported from the + # {https://news.opensuse.org/2007/08/29/yast-independence-of-ycp/ YCP} era. Its use is highly + # discouraged in favor of the {https://ruby-doc.org/stdlib-3.0.2/libdoc/uri/rdoc/URI.html URI} + # standard library or the new {Y2Packager::ZyppUrl} (available from SLE-15-SP3 on) when working + # with libzypp URLs. class URLClass < Module def main textdomain "base" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.16/library/types/src/modules/URLRecode.rb new/yast2-4.4.17/library/types/src/modules/URLRecode.rb --- old/yast2-4.4.16/library/types/src/modules/URLRecode.rb 2021-07-19 13:48:50.0 +0200 +++ new/yast2-4.4.17/library/types/src/modules/URLRecode.rb 2021-09-06 11:02:49.0 +0200 @@ -4,6 +4,12 @@ module Yast # A drop-in replacement of an earlier Perl implementation + # + # @note This is legacy code ported from the + # {https://news.opensuse.org/2007/08/29/yast-independence-of-ycp/ YCP} era. Its use is highly + # discouraged in favor of the {https://ruby-doc.org/stdlib-3.0.2/libdoc/uri/rdoc/URI.html URI} + # standard library or the new {Y2Packager::ZyppUrl} (available from SLE-15-SP3 on) when working + # with libzypp URLs. class URLRecodeClass < Module # these will be substituted to a regex character class USERNAME_PASSWORD_FRAGMENT_SAFE_CHARS = "-A-Za-z0-9_.!~*'()".freeze diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-07-20 15:39:22 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2632 (New) Package is "yast2" Tue Jul 20 15:39:22 2021 rev:515 rq:907125 version:4.4.16 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-07-17 23:37:01.237793083 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2632/yast2.changes2021-07-20 15:40:04.405537768 +0200 @@ -70 +70 @@ - tuned easelly (related to bsc#11806082). + tuned easily (related to bsc#1186082). Other differences: -- ++ yast2-4.4.16.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.16/package/yast2.changes new/yast2-4.4.16/package/yast2.changes --- old/yast2-4.4.16/package/yast2.changes 2021-07-16 09:14:19.0 +0200 +++ new/yast2-4.4.16/package/yast2.changes 2021-07-19 13:48:50.0 +0200 @@ -67,7 +67,7 @@ Wed Jun 2 17:30:50 UTC 2021 - Knut Anderssen - Improve Yast2::Equatable mixin making the #hash method to be fine - tuned easelly (related to bsc#11806082). + tuned easily (related to bsc#1186082). - 4.4.7 ---
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-07-17 23:36:30 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2632 (New) Package is "yast2" Sat Jul 17 23:36:30 2021 rev:514 rq:906609 version:4.4.16 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-07-01 07:05:33.591512040 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2632/yast2.changes2021-07-17 23:37:01.237793083 +0200 @@ -1,0 +2,13 @@ +Thu Jul 15 11:04:50 UTC 2021 - David Diaz + +- Do not escape "$" in URL paths (bsc#1187581). +- 4.4.16 + +--- +Wed Jul 14 16:06:50 UTC 2021 - Stefan Hundhammer + +- Don't crash with UI exception in Progress.rb if a popup is in the way + (bsc#1187676) +- 4.4.15 + +--- Old: yast2-4.4.14.tar.bz2 New: yast2-4.4.16.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.cpkTIL/_old 2021-07-17 23:37:01.769788982 +0200 +++ /var/tmp/diff_new_pack.cpkTIL/_new 2021-07-17 23:37:01.769788982 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.14 +Version:4.4.16 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.4.14.tar.bz2 -> yast2-4.4.16.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.14/library/types/src/modules/URLRecode.rb new/yast2-4.4.16/library/types/src/modules/URLRecode.rb --- old/yast2-4.4.14/library/types/src/modules/URLRecode.rb 2021-06-29 18:19:30.0 +0200 +++ new/yast2-4.4.16/library/types/src/modules/URLRecode.rb 2021-07-16 09:14:19.0 +0200 @@ -7,7 +7,7 @@ class URLRecodeClass < Module # these will be substituted to a regex character class USERNAME_PASSWORD_FRAGMENT_SAFE_CHARS = "-A-Za-z0-9_.!~*'()".freeze -PATH_SAFE_CHARS = "-A-Za-z0-9_.!~*'()/:".freeze +PATH_SAFE_CHARS = "-A-Za-z0-9_.!~*'()/:$".freeze QUERY_SAFE_CHARS = "-A-Za-z0-9_.!~*'()/:=&".freeze # Escape password, user name and fragment part of URL string diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.14/library/types/test/url_test.rb new/yast2-4.4.16/library/types/test/url_test.rb --- old/yast2-4.4.14/library/types/test/url_test.rb 2021-06-29 18:19:30.0 +0200 +++ new/yast2-4.4.16/library/types/test/url_test.rb 2021-07-16 09:14:19.0 +0200 @@ -236,7 +236,7 @@ "path" => "/share$$share/path/on/the/share", "scheme" => "smb", "user" => "username")).to eq( - "smb://username:pas...@myserver.com/share%24%24share/path/on/the/share?workgroup=workgroup" + "smb://username:pas...@myserver.com/share$$share/path/on/the/share?workgroup=workgroup" ) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.14/library/types/test/urlrecode_test.rb new/yast2-4.4.16/library/types/test/urlrecode_test.rb --- old/yast2-4.4.14/library/types/test/urlrecode_test.rb 2021-06-29 18:19:30.0 +0200 +++ new/yast2-4.4.16/library/types/test/urlrecode_test.rb 2021-07-16 09:14:19.0 +0200 @@ -8,7 +8,7 @@ subject { Yast::URLRecode } describe "#EscapePath" do -let(:test_path) { "/@\#$%^&/dir/\u010D\u00FD\u011B\u0161\u010D\u00FD\u00E1/file" } +let(:test_path) { "/@\#%^&/dir/\u010D\u00FD\u011B\u0161\u010D\u00FD\u00E1/file" } it "returns nil if the url is nil too" do expect(subject.EscapePath(nil)).to eq(nil) end @@ -19,7 +19,7 @@ it "returns escaped path" do expect(subject.EscapePath(test_path)).to eq( - "/%40%23%24%25%5e%26/dir/%c4%8d%c3%bd%c4%9b%c5%a1%c4%8d%c3%bd%c3%a1/file" +"/%40%23%25%5e%26/dir/%c4%8d%c3%bd%c4%9b%c5%a1%c4%8d%c3%bd%c3%a1/file" ) end @@ -28,10 +28,15 @@ end it "returns escaped special characters" do - expect(subject.EscapePath(" !@\#$%^&*()/?+=:")).to eq( -"%20!%40%23%24%25%5e%26*()/%3f%2b%3d:" + expect(subject.EscapePath(" !@\#%^&*()/?+=:")).to eq( +"%20!%40%23%25%5e%26*()/%3f%2b%3d:" ) end + +it "does not escape '$'" do + expect(subject.EscapePath("path/to/%SUSE%/$releasever")) +.to eq("path/to/%25SUSE%25/$releasever") +
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-07-01 07:05:28 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2625 (New) Package is "yast2" Thu Jul 1 07:05:28 2021 rev:513 rq:903112 version:4.4.14 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-06-05 23:31:56.324480392 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2625/yast2.changes2021-07-01 07:05:33.591512040 +0200 @@ -1,0 +2,38 @@ +Wed Jun 23 13:24:04 UTC 2021 - Ancor Gonzalez Sosa + +- Y2Issues::Issue: renamed severity "fatal" to "error", to be more + consistent with other parts of (Auto)YaST +- Added options to configure the behavior of Y2Issues.report + (related to jsc#PM-2620 and bsc#1166743) +- 4.4.14 + +--- +Mon Jun 21 20:51:57 UTC 2021 - Josef Reidinger + +- Y2Issues::List: Add methods size and concat (related to + bsc#1181295). +- 4.4.13 + +--- +Thu Jun 17 06:15:02 UTC 2021 - Dirk M??ller + +- add riscv64 architecture helper (jsc#PM-2612) +- 4.4.12 + +--- +Fri Jun 11 15:45:21 UTC 2021 - Josef Reidinger + +- Yast2::AutoClient.run: Ensure that Reset, Read, and SetModified + return nil regardless of their implementation, to prevent + a crash in the component system (bsc#1187233) +- 4.4.11 + +--- +Tue Jun 8 08:26:13 UTC 2021 - Imobach Gonzalez Sosa + +- Ignore sysctl configuration files that do not have the .conf + extension. The only exception are kernel files + (/boot/sysctl.conf-*) (bsc#1187018). +- 4.4.10 + +--- Old: yast2-4.4.9.tar.bz2 New: yast2-4.4.14.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.2yjbab/_old 2021-07-01 07:05:34.191507353 +0200 +++ /var/tmp/diff_new_pack.2yjbab/_new 2021-07-01 07:05:34.195507321 +0200 @@ -17,13 +17,12 @@ Name: yast2 -Version:4.4.9 +Version:4.4.14 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only Group: System/YaST URL:https://github.com/yast/yast-yast2 - Source0:%{name}-%{version}.tar.bz2 Source1:yast2-rpmlintrc ++ yast2-4.4.9.tar.bz2 -> yast2-4.4.14.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.9/README.md new/yast2-4.4.14/README.md --- old/yast2-4.4.9/README.md 2021-06-04 10:57:39.0 +0200 +++ new/yast2-4.4.14/README.md 2021-06-29 18:19:30.0 +0200 @@ -47,4 +47,4 @@ If you have any question, feel free to ask at the [development mailing list](http://lists.opensuse.org/yast-devel/) or at the -[#yast](https://webchat.freenode.net/?channels=%23yast) IRC channel on freenode. +[#yast](https://web.libera.chat/#yast) IRC channel on libera.chat. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.9/doc/README_Template.md new/yast2-4.4.14/doc/README_Template.md --- old/yast2-4.4.9/doc/README_Template.md 2021-06-04 10:57:39.0 +0200 +++ new/yast2-4.4.14/doc/README_Template.md 2021-06-29 18:19:30.0 +0200 @@ -104,4 +104,4 @@ If you have any question, feel free to ask at the [development mailing list](http://lists.opensuse.org/yast-devel/) or at the -[#yast](https://webchat.freenode.net/?channels=%23yast) IRC channel on freenode. +[#yast](https://web.libera.chat/#yast) IRC channel on libera.chat. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.9/library/general/src/lib/cfa/sysctl_config.rb new/yast2-4.4.14/library/general/src/lib/cfa/sysctl_config.rb --- old/yast2-4.4.9/library/general/src/lib/cfa/sysctl_config.rb 2021-06-04 10:57:39.0 +0200 +++ new/yast2-4.4.14/library/general/src/lib/cfa/sysctl_config.rb 2021-06-29 18:19:30.0 +0200 @@ -157,7 +157,9 @@ if Yast::FileUtils.IsFile(path) [path] elsif Yast::FileUtils.IsDirectory(path) -Yast::SCR.Read(Yast::Path.new(".target.dir"), path).map { |file| File.join(path, file) } +Yast::SCR.Read(Yast::Path.new(".target.dir"), path) + .select { |f| f.end_with?(".conf") } # according to 'sysctl.conf' manpage, only .conf files are considered + .map { |f| File.join(path, f) } else log.debug("Ignoring not valid path: #{path}") diff -urN
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-06-01 10:33:46 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1898 (New) Package is "yast2" Tue Jun 1 10:33:46 2021 rev:511 rq:895495 version:4.4.5 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-05-07 16:45:47.664279006 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1898/yast2.changes2021-06-01 10:33:57.556455263 +0200 @@ -1,0 +2,15 @@ +Tue May 25 07:19:14 UTC 2021 - Jos?? Iv??n L??pez Gonz??lez + +- Add Yast2::Equatable mixin to avoid troubles with classes that + overloads the comparison methods (related to bsc#1186082). +- 4.4.5 + +--- +Fri May 7 15:10:14 UTC 2021 - Stefan Schubert + +- Logging all available product information into directory + /var/log/YaST2/installation_info. This should help for evaluating the + cause of e.g. bsc#1180888, bsc#1180908, bsc#1178688. +- 4.4.4 + +--- Old: yast2-4.4.3.tar.bz2 New: yast2-4.4.5.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.0PiK2U/_old 2021-06-01 10:33:58.200456360 +0200 +++ /var/tmp/diff_new_pack.0PiK2U/_new 2021-06-01 10:33:58.200456360 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.3 +Version:4.4.5 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.4.3.tar.bz2 -> yast2-4.4.5.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.3/library/general/src/data/country.ycp new/yast2-4.4.5/library/general/src/data/country.ycp --- old/yast2-4.4.3/library/general/src/data/country.ycp2021-05-05 12:48:16.0 +0200 +++ new/yast2-4.4.5/library/general/src/data/country.ycp2021-05-25 10:07:11.0 +0200 @@ -57,7 +57,6 @@ "EC" : _("Ecuador"), "EE" : _("Estonia"), "EG" : _("Egypt"), -"ES" : _("Catalonia"), "ES" : _("Spain"), "FI" : _("Finland"), "FO" : _("Faroe Islands"), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.3/library/general/src/data/country_long.ycp new/yast2-4.4.5/library/general/src/data/country_long.ycp --- old/yast2-4.4.3/library/general/src/data/country_long.ycp 2021-05-05 12:48:16.0 +0200 +++ new/yast2-4.4.5/library/general/src/data/country_long.ycp 2021-05-25 10:07:11.0 +0200 @@ -53,7 +53,7 @@ "bn_BD" : _("Bangladesh"), "br_FR" : _("France"), "bs_BA" : _("Bosnia and Herzegowina"), -"ca_ES" : _("Catalonia"), +"ca_ES" : _("Spain"), "cs_CZ" : _("Czech Republic"), "cy_GB" : _("Great Britain"), "da_DK" : _("Denmark"), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.3/library/general/src/lib/installation/installation_info.rb new/yast2-4.4.5/library/general/src/lib/installation/installation_info.rb --- old/yast2-4.4.3/library/general/src/lib/installation/installation_info.rb 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.4.5/library/general/src/lib/installation/installation_info.rb 2021-05-25 10:07:11.0 +0200 @@ -0,0 +1,129 @@ +# Copyright (c) [2021] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + +require "singleton" +require "yaml" + +require "yast" + +module Installation + # + # Class which collects all installation/update information in order + # to write it into the /var/log/YaST2/installation_info directory + # when the process has been finished correctly or the process has + # crashed. + # + # The implementation uses a callback mechanism to allow easily extending the + # logged data, it avoids circular dependencies between packages and easily handles + # optional YaST modules (e.g. the registration module is not
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-05-07 16:45:31 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2988 (New) Package is "yast2" Fri May 7 16:45:31 2021 rev:510 rq:890660 version:4.4.3 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-04-29 22:44:44.084209900 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.2988/yast2.changes2021-05-07 16:45:47.664279006 +0200 @@ -1,0 +2,7 @@ +Mon May 3 14:35:49 UTC 2021 - David Diaz + +- Do not crash when a client execution return false + (related to bsc#1185561, and bsc#1180954). +- 4.4.3 + +--- @@ -45 +52 @@ - (related to bsc#1180594). + (related to bsc#1180954). Old: yast2-4.4.2.tar.bz2 New: yast2-4.4.3.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.EJlzIY/_old 2021-05-07 16:45:48.280277069 +0200 +++ /var/tmp/diff_new_pack.EJlzIY/_new 2021-05-07 16:45:48.284277057 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.2 +Version:4.4.3 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.4.2.tar.bz2 -> yast2-4.4.3.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.2/library/control/src/modules/ProductControl.rb new/yast2-4.4.3/library/control/src/modules/ProductControl.rb --- old/yast2-4.4.2/library/control/src/modules/ProductControl.rb 2021-04-27 13:02:04.0 +0200 +++ new/yast2-4.4.3/library/control/src/modules/ProductControl.rb 2021-05-05 12:48:16.0 +0200 @@ -1348,7 +1348,7 @@ # This code will be triggered before the red pop window appears on the user's screen Hooks.run("installation_failure") if result == false - result = result.to_sym + result = Convert.to_symbol(result) Hooks.run("after_#{step_name}") else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.2/package/yast2.changes new/yast2-4.4.3/package/yast2.changes --- old/yast2-4.4.2/package/yast2.changes 2021-04-27 13:02:04.0 +0200 +++ new/yast2-4.4.3/package/yast2.changes 2021-05-05 12:48:16.0 +0200 @@ -1,4 +1,11 @@ --- +Mon May 3 14:35:49 UTC 2021 - David Diaz + +- Do not crash when a client execution return false + (related to bsc#1185561, and bsc#1180954). +- 4.4.3 + +--- Tue Apr 27 10:51:35 UTC 2021 - Josef Reidinger - Add to yast2 mixin Yast2::SecretAttributes for hiding sensitive @@ -42,7 +49,7 @@ - Use meaningful button labels when asking the user if would like to continue when an installation client is missing - (related to bsc#1180594). + (related to bsc#1180954). - 4.3.59 --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.2/package/yast2.spec new/yast2-4.4.3/package/yast2.spec --- old/yast2-4.4.2/package/yast2.spec 2021-04-27 13:02:04.0 +0200 +++ new/yast2-4.4.3/package/yast2.spec 2021-05-05 12:48:16.0 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.2 +Version:4.4.3 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-04-29 22:44:34 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.1947 (New) Package is "yast2" Thu Apr 29 22:44:34 2021 rev:509 rq:888755 version:4.4.2 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-04-23 17:50:23.354769788 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.1947/yast2.changes2021-04-29 22:44:44.084209900 +0200 @@ -1,0 +2,13 @@ +Tue Apr 27 10:51:35 UTC 2021 - Josef Reidinger + +- Add to yast2 mixin Yast2::SecretAttributes for hiding sensitive + information (bsc#1141017) +- 4.4.2 + +--- +Thu Apr 22 06:35:11 UTC 2021 - Imobach Gonzalez Sosa + +- The location given to the Y2Issue::Issue constructor can be a + string or a location object. + +--- Old: yast2-4.4.1.tar.bz2 New: yast2-4.4.2.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.Zzjg6M/_old 2021-04-29 22:44:44.808206676 +0200 +++ /var/tmp/diff_new_pack.Zzjg6M/_new 2021-04-29 22:44:44.812206658 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.4.1 +Version:4.4.2 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.4.1.tar.bz2 -> yast2-4.4.2.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.1/library/general/src/lib/y2issues/issue.rb new/yast2-4.4.2/library/general/src/lib/y2issues/issue.rb --- old/yast2-4.4.1/library/general/src/lib/y2issues/issue.rb 2021-04-19 08:37:30.0 +0200 +++ new/yast2-4.4.2/library/general/src/lib/y2issues/issue.rb 2021-04-27 13:02:04.0 +0200 @@ -38,7 +38,7 @@ class Issue include Yast::I18n -# @return [String,nil] Where the error is located. +# @return [Location,nil] Where the error is located. attr_reader :location # @return [String] Error message attr_reader :message @@ -46,13 +46,13 @@ attr_reader :severity # @param message [String] User-oriented message describing the problem -# @param location [URI,String,nil] Where the error is located. Use a URI or +# @param location [String,nil] Where the error is located. Use a URI or # a string to represent the error location. Use 'nil' if it # does not exist an specific location. # @param severity [Symbol] warning (:warn) or fatal (:fatal) def initialize(message, location: nil, severity: :warn) @message = message - @location = Location.parse(location) if location + @location = location.is_a?(String) ? Location.parse(location) : location @severity = severity end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.1/library/general/src/lib/yast2/secret_attributes.rb new/yast2-4.4.2/library/general/src/lib/yast2/secret_attributes.rb --- old/yast2-4.4.1/library/general/src/lib/yast2/secret_attributes.rb 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.4.2/library/general/src/lib/yast2/secret_attributes.rb 2021-04-27 13:02:04.0 +0200 @@ -0,0 +1,85 @@ +# Copyright (c) [2017] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + +module Yast2 + # Mixin that enables a class to define attributes that are never exposed via + # #inspect, #to_s or similar methods, with the goal of preventing + # unintentional leaks of sensitive information in the application logs. + module SecretAttributes +# Inner class to store the value of the attribute without exposing it +# directly +class Attribute + attr_reader :value + + def initialize(value) +@value = value + end + + def to_s +value.nil? ? "" : "" + end + + def inspect +value.nil? ? "nil" : "" + end + + def
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-04-23 17:50:19 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.12324 (New) Package is "yast2" Fri Apr 23 17:50:19 2021 rev:508 rq:886566 version:4.4.1 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-03-30 20:51:38.228132295 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.12324/yast2.changes 2021-04-23 17:50:23.354769788 +0200 @@ -1,0 +2,19 @@ +Fri Apr 16 12:03:50 UTC 2021 - Imobach Gonzalez Sosa + +- Add a mechanism to report issues to the user (related to + bsc#1181295). +- 4.4.1 + +--- +Wed Apr 14 12:09:49 UTC 2021 - Ladislav Slez??k + +- Updated manual page ("man yast2") (bsc#1184681) +- 4.4.0 + +--- +Mon Apr 12 15:12:41 UTC 2021 - Imobach Gonzalez Sosa + +- Add a default value for file_path argument in ::new and ::load + methods of CFA::LoginDefs class. + +--- Old: yast2-4.3.60.tar.bz2 New: yast2-4.4.1.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.oS14Gh/_old 2021-04-23 17:50:24.050770985 +0200 +++ /var/tmp/diff_new_pack.oS14Gh/_new 2021-04-23 17:50:24.054770991 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.60 +Version:4.4.1 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.3.60.tar.bz2 -> yast2-4.4.1.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.60/.coveralls.yml new/yast2-4.4.1/.coveralls.yml --- old/yast2-4.3.60/.coveralls.yml 2021-03-29 14:49:41.0 +0200 +++ new/yast2-4.4.1/.coveralls.yml 1970-01-01 01:00:00.0 +0100 @@ -1 +0,0 @@ -service_name: travis-ci diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.60/doc/yast2.8 new/yast2-4.4.1/doc/yast2.8 --- old/yast2-4.3.60/doc/yast2.82021-03-29 14:49:41.0 +0200 +++ new/yast2-4.4.1/doc/yast2.8 2021-04-19 08:37:30.0 +0200 @@ -1,14 +1,17 @@ -.\" Michal Svec .\" .\" Process this file with -.\" groff -man -Tascii foo.1 +.\" groff -man -Tutf8 yast2.8 +.\" or run +.\" man -l yast2.8 +.\" to display the man page without installing it .\" +.\" See https://www.gnu.org/software/groff/manual/html_node/man.html#man .\" -.TH YAST2 8 "January 2003" "yast2" "System configuration" +.TH YAST 8 "April 2021" "yast" "System configuration" .\" .\" .SH NAME -YaST2 \- universal configuration utility +YaST \- "Yet another Setup Tool", the installation and configuration tool .\" .\" .SH SYNOPSIS @@ -19,43 +22,33 @@ .B ] [ .I module specific options .B ] -.br -.B yast2 --install -.I -.B [ -.I -.B [ -.I ... -.B ] ] .\" .\" .SH DESCRIPTION -.B YaST2 -is used to configure the system. It can configure a common hardware -(sound cards, printers, keyboards, mice), network connections (network -cards, ISDN cards, modems, DSL connections), network clients and services -(NFS, NIS), as well as a general system options (language, partitioning, -software, bootloader). - -.br -.B YaST2 -comes with three frontends: -.B GTK -, -.B QT -and -.B ncurses. -All frontends are functionally equivalent. -The correct frontend is selected automatically based on the available -components and the current environment (the DISPLAY variable). - -.br +.B YaST +can be used to configure the system. It can configure common hardware +(sound cards, printers), network connections (network cards), network +clients and services (like NFS, FTP), as well as general system options +(language, partitioning, software, bootloader). +.\" +.P +.B YaST +comes with +.B Qt +(graphical) and +.B ncurses +(text mode) frontends located in libyui-qt and libyui-ncurses packages. Both frontends are +functionally equivalent. The correct frontend is selected automatically based +on the available components and the current environment (the DISPLAY variable). +.\" +.P Use .B yast2 alone to launch the -.B YaST2 Control Center +.B YaST Control Center from which you can select a particular configuration module or use -.B yast2 +.B yast2 +.I module to launch the module directly. .\" .\" @@ -63,57 +56,34 @@ .\" .TP .B --qt -Run YaST in the QT graphical frontend -.\" -.TP -.B --gtk -Run YaST in the GTK graphical frontend +Run YaST in the Qt graphical frontend if available, otherwise it uses the +ncurses frontend .\" .TP .B --ncurses -Run YaST in
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-03-30 20:51:22 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2401 (New) Package is "yast2" Tue Mar 30 20:51:22 2021 rev:507 rq:881940 version:4.3.60 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-03-12 13:31:41.530188866 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.2401/yast2.changes2021-03-30 20:51:38.228132295 +0200 @@ -1,0 +2,7 @@ +Mon Mar 29 09:46:31 UTC 2021 - Imobach Gonzalez Sosa + +- Add a AbstractWidget#displayed? to determine whether + a widget is in the UI (bsc#1184115). +- 4.3.60 + +--- Old: yast2-4.3.59.tar.bz2 New: yast2-4.3.60.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.rRj4Dt/_old 2021-03-30 20:51:39.056133223 +0200 +++ /var/tmp/diff_new_pack.rRj4Dt/_new 2021-03-30 20:51:39.060133227 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.59 +Version:4.3.60 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.3.59.tar.bz2 -> yast2-4.3.60.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.59/library/cwm/src/lib/cwm/abstract_widget.rb new/yast2-4.3.60/library/cwm/src/lib/cwm/abstract_widget.rb --- old/yast2-4.3.59/library/cwm/src/lib/cwm/abstract_widget.rb 2021-03-09 09:41:31.0 +0100 +++ new/yast2-4.3.60/library/cwm/src/lib/cwm/abstract_widget.rb 2021-03-29 14:49:41.0 +0200 @@ -188,6 +188,13 @@ Yast::UI.SetFocus(Id(widget_id)) end +# Determines whether the widget is currently displayed in the UI +# +# @return [Boolean] +def displayed? + Yast::UI.WidgetExists(Id(widget_id)) +end + protected # A helper to check if an event is invoked by this widget diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.59/library/cwm/src/lib/cwm/common_widgets.rb new/yast2-4.3.60/library/cwm/src/lib/cwm/common_widgets.rb --- old/yast2-4.3.59/library/cwm/src/lib/cwm/common_widgets.rb 2021-03-09 09:41:31.0 +0100 +++ new/yast2-4.3.60/library/cwm/src/lib/cwm/common_widgets.rb 2021-03-29 14:49:41.0 +0200 @@ -25,12 +25,18 @@ # A mix-in for widgets using the :Value property module ValueBasedWidget # Get widget value +# +# Calling this method only make sense when the widget is displayed (see #displayed?). +# # @return [Object] a value according to specific widget type def value Yast::UI.QueryWidget(Id(widget_id), :Value) end # Set widget value +# +# Calling this method only make sense when the widget is displayed (see #displayed?). +# # @param val [Object] a value according to specific widget type # @return [void] def value=(val) @@ -196,11 +202,19 @@ include ItemsSelection abstract_method :label +# Get widget value +# +# Calling this method only make sense when the widget is displayed (see #displayed?). +# # @return [String] ID of the selected item def value Yast::UI.QueryWidget(Id(widget_id), :CurrentItem) end +# Set widget value +# +# Calling this method only make sense when the widget is displayed (see #displayed?). +# # @param val [String] ID of the selected item def value=(val) Yast::UI.ChangeWidget(Id(widget_id), :CurrentItem, val) @@ -217,11 +231,19 @@ include ItemsSelection abstract_method :label +# Get widget value +# +# Calling this method only make sense when the widget is displayed (see #displayed?). +# # @return [Array] return IDs of selected items def value Yast::UI.QueryWidget(Id(widget_id), :SelectedItems) end +# Set widget value +# +# Calling this method only make sense when the widget is displayed (see #displayed?). +# # @param val [Array] IDs of newly selected items def value=(val) Yast::UI.ChangeWidget(Id(widget_id), :SelectedItems, val) @@ -287,10 +309,19 @@ # @!method hspacing # @return [Fixnum] margin at both sides of the options list +# Get widget value +# +# Calling this method only make sense when the widget is displayed (see #displayed?). +# def value Yast::UI.QueryWidget(Id(widget_id), :CurrentButton) end +# Set widget value +# +# Calling this method only make sense when the widget is displayed (see #displayed?). +
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-03-12 13:31:26 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2401 (New) Package is "yast2" Fri Mar 12 13:31:26 2021 rev:506 rq:877909 version:4.3.59 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-03-08 15:17:10.213934869 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.2401/yast2.changes2021-03-12 13:31:41.530188866 +0100 @@ -1,0 +2,22 @@ +Tue Mar 9 08:23:44 UTC 2021 - David Diaz + +- Use meaningful button labels when asking the user if would like + to continue when an installation client is missing + (related to bsc#1180594). +- 4.3.59 + +--- +Mon Mar 8 16:41:27 UTC 2021 - Josef Reidinger + +- save_y2logs: Make modified content of log files just warning + instead of fatal (bsc#1182710 see comment 2) +- 4.3.58 + +--- +Mon Mar 8 09:19:37 UTC 2021 - David Diaz + +- Ask the user if would like to continue when an installation + client is missing (related to bsc#1180594). +- 4.3.57 + +--- Old: yast2-4.3.56.tar.bz2 New: yast2-4.3.59.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.Av1mXq/_old 2021-03-12 13:31:42.33819 +0100 +++ /var/tmp/diff_new_pack.Av1mXq/_new 2021-03-12 13:31:42.33819 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.56 +Version:4.3.59 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.3.56.tar.bz2 -> yast2-4.3.59.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.56/library/control/src/modules/ProductControl.rb new/yast2-4.3.59/library/control/src/modules/ProductControl.rb --- old/yast2-4.3.56/library/control/src/modules/ProductControl.rb 2021-03-04 14:03:33.0 +0100 +++ new/yast2-4.3.59/library/control/src/modules/ProductControl.rb 2021-03-09 09:41:31.0 +0100 @@ -29,6 +29,7 @@ # require "yast" require "yast2/control_log_dir_rotator" +require "yast2/popup" module Yast class ProductControlClass < Module @@ -1336,16 +1337,46 @@ end end -Hooks.run("before_#{step_name}") +client_name = getClientName(step_name, step_execute) -result = WFM.CallFunction(getClientName(step_name, step_execute), args) +# Check if client exist before continuing +if WFM.ClientExists(client_name) + Hooks.run("before_#{step_name}") -# this code will be triggered before the red pop window appears on the user's screen -Hooks.run("installation_failure") if result == false + result = WFM.CallFunction(client_name, args) -result = Convert.to_symbol(result) + # This code will be triggered before the red pop window appears on the user's screen + Hooks.run("installation_failure") if result == false -Hooks.run("after_#{step_name}") + result = result.to_sym + + Hooks.run("after_#{step_name}") +else + # Client not found. Ask the user if want to continue (related to bsc#1180954) + log.error("Client '#{client_name}' not found") + + text = format( +# TRANSLATORS: Message warning the user that a client is missing where %{client} is +# replaced by the client name (e.g. "registration", "user") +_( + "Something went wrong and the expected '%{client}' dialog was not found.\n\n" \ + "Would you like to skip the dialog and continue anyway?" +), +client: client_name + ) + + options = { yes: Label.ContinueButton, no: Label.AbortButton } + continue = Yast2::Popup.show(text, buttons: options) == :yes + + if continue +log.warn("Continuing after skipping the '#{client_name}' missing client") +# If user decided to continue, uses the former_result (:next or :back) +result = former_result + else +# :abort because user decided to not continue +result = :abort + end +end Builtins.y2milestone("Calling %1 returned %2", argterm, result) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.56/package/yast2.changes new/yast2-4.3.59/package/yast2.changes ---
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-03-08 15:15:31 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2378 (New) Package is "yast2" Mon Mar 8 15:15:31 2021 rev:505 rq:876738 version:4.3.56 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-02-26 21:58:14.307756903 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.2378/yast2.changes2021-03-08 15:17:10.213934869 +0100 @@ -1,0 +2,7 @@ +Thu Mar 4 12:41:56 UTC 2021 - Josef Reidinger + +- Fix backward compatibility for focus parameter of + Report.AnyQuestion/Report.ErrorAnyQuestion (bsc#1183011) +- 4.3.56 + +--- Old: yast2-4.3.55.tar.bz2 New: yast2-4.3.56.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.57Js2Z/_old 2021-03-08 15:17:11.573935865 +0100 +++ /var/tmp/diff_new_pack.57Js2Z/_new 2021-03-08 15:17:11.577935868 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.55 +Version:4.3.56 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.3.55.tar.bz2 -> yast2-4.3.56.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.55/library/control/src/modules/ProductProfile.rb new/yast2-4.3.56/library/control/src/modules/ProductProfile.rb --- old/yast2-4.3.55/library/control/src/modules/ProductProfile.rb 2021-02-12 15:32:30.0 +0100 +++ new/yast2-4.3.56/library/control/src/modules/ProductProfile.rb 2021-03-04 14:03:33.0 +0100 @@ -212,7 +212,7 @@ ), continue_button, cancel_button, -:no_button +:focus_no ) if !ret && !product_id.nil? # canceled adding add-on: remove profile stored before diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.55/library/general/src/modules/Report.rb new/yast2-4.3.56/library/general/src/modules/Report.rb --- old/yast2-4.3.55/library/general/src/modules/Report.rb 2021-02-12 15:32:30.0 +0100 +++ new/yast2-4.3.56/library/general/src/modules/Report.rb 2021-03-04 14:03:33.0 +0100 @@ -352,16 +352,23 @@ Builtins.size(@errors) end +BACKWARD_MAPPING = { + focus_yes: :yes, + focus_no: :no +}.freeze + # Question with headline and Yes/No Buttons # @param [String] headline Popup Headline # @param [String] message Popup Message # @param [String] yes_button_message Yes Button Message # @param [String] no_button_message No Button Message -# @param [Symbol] focus Which Button has the focus +# @param [Symbol] focus Which Button has the focus. Possible values are `:yes` and :no`. +# For backward compatibility also `:focus_yes` and `:focus_no` is accepted. # @return [Boolean] True if Yes is pressed, otherwise false def AnyQuestion(headline, message, yes_button_message, no_button_message, focus) Builtins.y2milestone(1, "%1", message) if @log_yesno_messages + focus = BACKWARD_MAPPING[focus] || focus ret = false if @display_yesno_messages timeout = (@timeout_yesno_messages.to_s.to_i > 0) ? @timeout_yesno_messages : 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.55/library/general/test/report_test.rb new/yast2-4.3.56/library/general/test/report_test.rb --- old/yast2-4.3.55/library/general/test/report_test.rb2021-02-12 15:32:30.0 +0100 +++ new/yast2-4.3.56/library/general/test/report_test.rb2021-03-04 14:03:33.0 +0100 @@ -367,5 +367,15 @@ end end end + +describe ".AnyQuestion" do + it "accepts also :focus_yes/:focus_no as focus parameter" do +subject.DisplayYesNoMessages(true, 0) +expect(Yast2::Popup).to receive(:show) + .with("Message", headline: "test", buttons: { yes: "yes", no: "no" }, focus: :no, timeout: 0) + +subject.AnyQuestion("test", "Message", "yes", "no", :focus_no) + end +end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.55/package/yast2.changes new/yast2-4.3.56/package/yast2.changes --- old/yast2-4.3.55/package/yast2.changes 2021-02-12 15:32:30.0 +0100 +++ new/yast2-4.3.56/package/yast2.changes 2021-03-04 14:03:33.0 +0100 @@ -1,4 +1,11 @@ --- +Thu Mar 4
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-02-26 21:58:09 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2378 (New) Package is "yast2" Fri Feb 26 21:58:09 2021 rev:504 rq:872352 version:4.3.55 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-02-01 14:41:23.876641493 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.2378/yast2.changes2021-02-26 21:58:14.307756903 +0100 @@ -1,0 +2,30 @@ +Fri Feb 12 13:46:19 UTC 2021 - Ancor Gonzalez Sosa + +- Fixed bug introduced while adding auto wrapping (bsc#1179893) +- 4.3.55 + +--- +Wed Feb 10 15:56:52 UTC 2021 - Josef Reidinger + +- Use Auto Wrapping of long lines for Yast2::Popup and Yast::Report + (bsc#1179893) +- 4.3.54 + +--- +Wed Feb 10 07:51:10 UTC 2021 - Imobach Gonzalez Sosa + +- Do not use the 'installation-helper' binary to create snapshots + during installation or offline upgrade (bsc#1180142). +- Add a new exception to properly handle exceptions + when reading/writing snapshots numbers (related to bsc#1180142). +- 4.3.53 + +--- +Thu Feb 4 09:16:10 UTC 2021 - Ladislav Slez??k + +- Added supported migration "openSUSE Leap 15.3" -> SLES + (in 15.3 the product has been renamed from "openSUSE" to "Leap") + (bsc#1181773) +- 4.3.52 + +--- Old: yast2-4.3.51.tar.bz2 New: yast2-4.3.55.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.PN0IxH/_old 2021-02-26 21:58:14.903757426 +0100 +++ /var/tmp/diff_new_pack.PN0IxH/_new 2021-02-26 21:58:14.903757426 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.51 +Version:4.3.55 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.3.51.tar.bz2 -> yast2-4.3.55.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.51/library/commandline/test/commandline_test.rb new/yast2-4.3.55/library/commandline/test/commandline_test.rb --- old/yast2-4.3.51/library/commandline/test/commandline_test.rb 2021-01-27 13:48:13.0 +0100 +++ new/yast2-4.3.55/library/commandline/test/commandline_test.rb 2021-02-12 15:32:30.0 +0100 @@ -67,6 +67,10 @@ end describe ".UniqueOption" do +before do + allow(Yast::Report).to receive(:Error) +end + context "in options is only one of the options mentioned in unique_options" do it "returns string" do expect(subject.UniqueOption({ "c" => "v" }, ["c", "d", "e"])).to eq "c" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.51/library/general/example/popup_serie.rb new/yast2-4.3.55/library/general/example/popup_serie.rb --- old/yast2-4.3.51/library/general/example/popup_serie.rb 2021-01-27 13:48:13.0 +0100 +++ new/yast2-4.3.55/library/general/example/popup_serie.rb 2021-02-12 15:32:30.0 +0100 @@ -4,6 +4,10 @@ Yast2::Popup.show("Simple text") +Yast2::Popup.show("First paragraph.\n\n" + "Long text without newlines. " * 50) + +Yast2::Popup.show("First paragraph.", details: "Long text without newlines. " * 50) + Yast2::Popup.show("Long text\n" * 50) Yast2::Popup.show("Simple text with details", details: "More details here") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.51/library/general/src/lib/yast2/popup.rb new/yast2-4.3.55/library/general/src/lib/yast2/popup.rb --- old/yast2-4.3.51/library/general/src/lib/yast2/popup.rb 2021-01-27 13:48:13.0 +0100 +++ new/yast2-4.3.55/library/general/src/lib/yast2/popup.rb 2021-02-12 15:32:30.0 +0100 @@ -23,6 +23,10 @@ RICHTEXT_WIDTH = 60 RICHTEXT_HEIGHT = 10 + # Minimum width for auto wrapped labels. This value is used when + # the label has longer lines. + LABEL_MINWIDTH = 60 + # Show a popup, wait for a button press (or a timeout), return the button ID. # @param message [String] message to show. The only mandatory argument. # @param details [String] details that will be shown in another popup @@ -175,7 +179,8 @@ elsif message.lines.size >= LINES_THRESHOLD message_widget(plain_to_richtext(message), true) else - Left(Label(message)) + width = [LABEL_MINWIDTH,
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-02-01 14:41:22 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.28504 (New) Package is "yast2" Mon Feb 1 14:41:22 2021 rev:503 rq:867182 version:4.3.51 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-01-15 19:45:31.297958699 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.28504/yast2.changes 2021-02-01 14:41:23.876641493 +0100 @@ -1,0 +2,14 @@ +Wed Jan 27 09:22:50 UTC 2021 - Jos?? Iv??n L??pez Gonz??lez + +- Do not propose hibernation when running over a virtualized setup + (bsc#1180982). +- 4.3.51 + +--- +Wed Jan 20 09:28:51 UTC 2021 - Ladislav Slez??k + +- Fixed Resolvables class to uniqely identify the libzypp objects + to avoid random failures (related to bsc#1178688) +- 4.3.50 + +--- Old: yast2-4.3.49.tar.bz2 New: yast2-4.3.51.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.BBufqI/_old 2021-02-01 14:41:24.572642491 +0100 +++ /var/tmp/diff_new_pack.BBufqI/_new 2021-02-01 14:41:24.572642491 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.49 +Version:4.3.51 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only @@ -49,8 +49,8 @@ # Needed already in build time BuildRequires: yast2-core >= 2.18.12 BuildRequires: yast2-devtools >= 3.1.10 -# RPM dependency filters in Pkg.Resolvables() -BuildRequires: yast2-pkg-bindings >= 4.3.0 +# Pkg.Resolvables() with "path" search support +BuildRequires: yast2-pkg-bindings >= 4.3.7 BuildRequires: rubygem(%rb_default_ruby_abi:yast-rake) # for XML module BuildRequires: rubygem(%rb_default_ruby_abi:nokogiri) @@ -88,8 +88,8 @@ Requires: yast2-hardware-detection # for SLPAPI.pm Requires: yast2-perl-bindings -# RPM dependency filters in Pkg.Resolvables() -Requires: yast2-pkg-bindings >= 4.3.0 +# Pkg.Resolvables() with "path" search support +Requires: yast2-pkg-bindings >= 4.3.7 # for y2start Requires: yast2-ruby-bindings >= 3.2.10 # Nested items in tables ++ yast2-4.3.49.tar.bz2 -> yast2-4.3.51.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.49/.github/workflows/ci.yml new/yast2-4.3.51/.github/workflows/ci.yml --- old/yast2-4.3.49/.github/workflows/ci.yml 2021-01-13 18:10:03.0 +0100 +++ new/yast2-4.3.51/.github/workflows/ci.yml 2021-01-27 13:48:13.0 +0100 @@ -13,7 +13,7 @@ steps: - name: Git Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 # just for easier debugging... - name: Inspect Installed Packages @@ -42,7 +42,7 @@ steps: - name: Git Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Rubocop run: rake check:rubocop @@ -54,7 +54,7 @@ steps: - name: Git Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Package Build run: yast-ci-ruby -o package @@ -66,7 +66,7 @@ steps: - name: Git Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Yardoc run: yardoc @@ -80,7 +80,7 @@ steps: - name: Git Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Perl Syntax run: yast-ci-ruby -o perl_syntax diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.49/library/general/src/modules/Arch.rb new/yast2-4.3.51/library/general/src/modules/Arch.rb --- old/yast2-4.3.49/library/general/src/modules/Arch.rb2021-01-13 18:10:03.0 +0100 +++ new/yast2-4.3.51/library/general/src/modules/Arch.rb2021-01-27 13:48:13.0 +0100 @@ -343,6 +343,16 @@ @_is_laptop end +# Whether the system is running over a virtualized environment +# +# @return [Boolean] +def is_virtual + return @_is_virtual unless @_is_virtual.nil? + + @_is_virtual = SCR.Read(path(".target.string"), "/proc/cpuinfo") +.to_s.match?("^flags.*hypervisor.*\n") +end + # # UML stuff diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.49/library/general/test/arch_test.rb new/yast2-4.3.51/library/general/test/arch_test.rb --- old/yast2-4.3.49/library/general/test/arch_test.rb
commit yast2 for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-01-15 19:45:11 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.28504 (New) Package is "yast2" Fri Jan 15 19:45:11 2021 rev:502 rq:862954 version:4.3.49 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2020-12-18 19:52:14.925604000 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.28504/yast2.changes 2021-01-15 19:45:31.297958699 +0100 @@ -1,0 +2,22 @@ +Wed Jan 13 16:03:51 UTC 2021 - Ladislav Slez??k + +- Keep the libzypp target open to verify other packages + (bsc#1180858, related to the previous fix bsc#1179773) +- 4.3.49 + +--- +Mon Jan 11 16:40:37 UTC 2021 - Ladislav Slez??k + +- Ensure the libzypp target is initialized when downloading + the skelcd packages (to verify the GPG signatures) (bsc#1179773) +- Log more details when several resolvables (instead of a single + one) are unexpectedly found (related to bsc#1176276) +- 4.3.48 + +--- +Mon Jan 11 11:47:27 UTC 2021 - Josef Reidinger + +- Fix default for hibernation proposal (bsc#1169874) +- 4.3.47 + +--- Old: yast2-4.3.46.tar.bz2 New: yast2-4.3.49.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.RWsGDv/_old 2021-01-15 19:45:32.173960004 +0100 +++ /var/tmp/diff_new_pack.RWsGDv/_new 2021-01-15 19:45:32.185960021 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.46 +Version:4.3.49 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.3.46.tar.bz2 -> yast2-4.3.49.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.46/library/control/src/modules/ProductFeatures.rb new/yast2-4.3.49/library/control/src/modules/ProductFeatures.rb --- old/yast2-4.3.46/library/control/src/modules/ProductFeatures.rb 2020-12-16 10:25:50.0 +0100 +++ new/yast2-4.3.49/library/control/src/modules/ProductFeatures.rb 2021-01-13 18:10:03.0 +0100 @@ -73,7 +73,7 @@ "full_system_media_name" => "", "full_system_download_url"=> "", "save_y2logs" => true, - "propose_hibernate" => true + "propose_hibernation" => true }, "partitioning" => { "use_flexible_partitioning"=> false, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.46/library/control/src/modules/WorkflowManager.rb new/yast2-4.3.49/library/control/src/modules/WorkflowManager.rb --- old/yast2-4.3.46/library/control/src/modules/WorkflowManager.rb 2020-12-16 10:25:50.0 +0100 +++ new/yast2-4.3.49/library/control/src/modules/WorkflowManager.rb 2021-01-13 18:10:03.0 +0100 @@ -1692,7 +1692,11 @@ downloader = ::Packages::PackageDownloader.new(repo_id, package) Tempfile.open("downloaded-package-") do |tmp| +# libzypp needs the target for verifying the GPG signatures of the downloaded packages, +# keep the target initialized, it might be needed later for verifying other packages +Pkg.TargetInitialize("/") if Stage.initial downloader.download(tmp.path) + extract(tmp.path, dir) # the RPM package file is not needed after extracting it's content, # remove it explicitly now, do not wait for the garbage collector diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.46/library/packages/src/lib/y2packager/resolvable.rb new/yast2-4.3.49/library/packages/src/lib/y2packager/resolvable.rb --- old/yast2-4.3.46/library/packages/src/lib/y2packager/resolvable.rb 2020-12-16 10:25:50.0 +0100 +++ new/yast2-4.3.49/library/packages/src/lib/y2packager/resolvable.rb 2021-01-13 18:10:03.0 +0100 @@ -158,7 +158,10 @@ resolvables = Yast::Pkg.Resolvables(attrs, [attr]) # Finding more than one result is suspicious, log a warning - log.warn("Found several resolvables: #{resolvables.inspect}") if resolvables.size > 1 + if
commit yast2 for openSUSE:Factory
Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2020-12-18 19:52:13 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.5145 (New) Package is "yast2" Fri Dec 18 19:52:13 2020 rev:501 rq:856322 version:4.3.46 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2020-12-03 18:42:28.170136139 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.5145/yast2.changes2020-12-18 19:52:14.925604000 +0100 @@ -1,0 +2,7 @@ +Tue Dec 15 15:49:56 UTC 2020 - Stefan Schubert + +- Removed SCR agent .etc.inittab which is obsolete because SysVinit + is no longer supported (bsc#1175494). +- 4.3.46 + +--- Old: yast2-4.3.45.tar.bz2 New: yast2-4.3.46.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.wIv9Nf/_old 2020-12-18 19:52:15.925605101 +0100 +++ /var/tmp/diff_new_pack.wIv9Nf/_new 2020-12-18 19:52:15.929605105 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.45 +Version:4.3.46 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.3.45.tar.bz2 -> yast2-4.3.46.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.45/library/general/src/scrconf/etc_inittab.scr new/yast2-4.3.46/library/general/src/scrconf/etc_inittab.scr --- old/yast2-4.3.45/library/general/src/scrconf/etc_inittab.scr 2020-12-01 09:31:16.0 +0100 +++ new/yast2-4.3.46/library/general/src/scrconf/etc_inittab.scr 1970-01-01 01:00:00.0 +0100 @@ -1,32 +0,0 @@ -/** - * File: etc_inittab.scr - * Summary:Agent for reading/writing /etc/inittab - * Access: read/write - * Authors:Petr Blahos - * Michal Svec - * See:initttab(5) - * - * Example: - * Dir(.etc.inittab) - * (["id", "si", "l0", "l1", "l2", "~~" ... ]) - ** - * Read(.etc.inittab.id) - * ("5:initdefault:") - ** - * Write(.etc.inittab.id, "3:initdefault:") - * (true) - * - * $Id$ - */ -.etc.inittab - -`ag_ini( -`IniAgent( "/etc/inittab", - $[ - "options" : [ "global_values", "flat" ], - "comments" : [ "^#.*", "^[ \t]*$" ], - "params": [ - $[ "match" : [ "([^:]+):(.*[^ \t])[ \t]*$", "%s:%s" ] ] - ] - ] -)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.45/package/yast2.changes new/yast2-4.3.46/package/yast2.changes --- old/yast2-4.3.45/package/yast2.changes 2020-12-01 09:31:16.0 +0100 +++ new/yast2-4.3.46/package/yast2.changes 2020-12-16 10:25:50.0 +0100 @@ -1,4 +1,11 @@ --- +Tue Dec 15 15:49:56 UTC 2020 - Stefan Schubert + +- Removed SCR agent .etc.inittab which is obsolete because SysVinit + is no longer supported (bsc#1175494). +- 4.3.46 + +--- Mon Nov 30 15:00:28 UTC 2020 - David Diaz - Yast::Arch add support to know if code is running in a PV Xen guest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.45/package/yast2.spec new/yast2-4.3.46/package/yast2.spec --- old/yast2-4.3.45/package/yast2.spec 2020-12-01 09:31:16.0 +0100 +++ new/yast2-4.3.46/package/yast2.spec 2020-12-16 10:25:50.0 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.45 +Version:4.3.46 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ___ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org
commit yast2 for openSUSE:Factory
Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2020-12-03 18:40:56 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.5913 (New) Package is "yast2" Thu Dec 3 18:40:56 2020 rev:500 rq:852036 version:4.3.45 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2020-11-29 12:25:40.713835310 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.5913/yast2.changes2020-12-03 18:42:28.170136139 +0100 @@ -1,0 +2,7 @@ +Mon Nov 30 15:00:28 UTC 2020 - David Diaz + +- Yast::Arch add support to know if code is running in a PV Xen guest + (related to bsc#952253, bsc#1172742, and bsc#1179197). +- 4.3.45 + +--- @@ -4,0 +12 @@ +- 4.3.44 Old: yast2-4.3.44.tar.bz2 New: yast2-4.3.45.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.4GV9Np/_old 2020-12-03 18:42:28.874136583 +0100 +++ /var/tmp/diff_new_pack.4GV9Np/_new 2020-12-03 18:42:28.878136585 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.44 +Version:4.3.45 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.3.44.tar.bz2 -> yast2-4.3.45.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.44/library/general/src/modules/Arch.rb new/yast2-4.3.45/library/general/src/modules/Arch.rb --- old/yast2-4.3.44/library/general/src/modules/Arch.rb2020-11-27 14:04:56.0 +0100 +++ new/yast2-4.3.45/library/general/src/modules/Arch.rb2020-12-01 09:31:16.0 +0100 @@ -392,6 +392,18 @@ is_xen && !is_xen0 end +# Whether a Xen guest is paravirtualized (PV) or not (HVM) +# +# @see #is_xenU +# @see https://wiki.xen.org/wiki/DomU +# +# @return [Boolean] true if it is a PV Xen domU; false otherwise +def paravirtualized_xen_guest? + return false unless is_xenU + + SCR.Read(path(".target.string"), "/sys/hypervisor/guest_type").strip == "PV" +end + # Convenience method to retrieve the /proc/xen/capabilities content # # @return [String] @@ -514,6 +526,7 @@ publish function: :is_xen, type: "boolean ()" publish function: :is_xen0, type: "boolean ()" publish function: :is_xenU, type: "boolean ()" +publish function: :paravirtualized_xen_guest?, type: "boolean ()" publish function: :is_kvm, type: "boolean ()" publish function: :is_zkvm, type: "boolean ()" publish function: :has_smp, type: "boolean ()" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.44/library/general/test/arch_test.rb new/yast2-4.3.45/library/general/test/arch_test.rb --- old/yast2-4.3.44/library/general/test/arch_test.rb 2020-11-27 14:04:56.0 +0100 +++ new/yast2-4.3.45/library/general/test/arch_test.rb 2020-12-01 09:31:16.0 +0100 @@ -22,7 +22,7 @@ change_scr_root(File.join(GENERAL_DATA_PATH, "arch", scenario), ) end -context "when running the XEN hypervisor" do +context "when running in a XEN host" do let(:scenario) { "xen_dom0" } it "returns true" do @@ -30,7 +30,23 @@ end end -context "when not running the XEN hypervisor" do +context "when running in a XEN PV guest" do + let(:scenario) { "xen_pv_domU" } + + it "returns true" do +expect(Yast::Arch.is_xen).to eq(true) + end +end + +context "when running in a XEN HVM guest" do + let(:scenario) { "xen_hvm_domU" } + + it "returns true" do +expect(Yast::Arch.is_xen).to eq(true) + end +end + +context "when running in neither a XEN dom0 nor XEN domU" do let(:scenario) { "default" } it "returns false" do @@ -60,8 +76,16 @@ end end -context "when running in a XEN domU" do - let(:scenario) { "xen_domU" } +context "when running in a XEN PV guest" do + let(:scenario) { "xen_pv_domU" } + + it "returns false" do +expect(Yast::Arch.is_xen0).to eq(false) + end +end + +context "when running in a XEN HVM guest" do + let(:scenario) { "xen_hvm_domU" } it "returns false" do expect(Yast::Arch.is_xen0).to eq(false) @@ -82,7 +106,7 @@ end end -context "when running in a XEN dom0" do +context "when running in a XEN host" do let(:scenario) { "xen_dom0" } it "returns false" do @@ -90,13 +114,59 @@ end end -context "when running in a XEN domU" do - let(:scenario) { "xen_domU" } +context "when running in a XEN
[opensuse-commit] commit yast2 for openSUSE:Factory
Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2020-11-29 12:25:30 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.5913 (New) Package is "yast2" Sun Nov 29 12:25:30 2020 rev:499 rq:851314 version:4.3.44 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2020-11-13 18:57:24.582001914 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.5913/yast2.changes2020-11-29 12:25:40.713835310 +0100 @@ -1,0 +2,20 @@ +Fri Nov 27 12:18:41 UTC 2020 - Ludwig Nussel + +- prepare usrmerge: install legacy symlinks via spec file only (boo#1029961) + +--- +Thu Nov 26 13:35:52 UTC 2020 - Knut Anderssen + +- CWM ComboBox: an editable ComboBox will not alter the list of + items when the current value is not part of the list as it uses + the original list which could be already modified (bsc#1177137) +- 4.3.43 + +--- +Tue Nov 24 22:03:19 UTC 2020 - Knut Anderssen + +- CWM ComboBox: reverted the addition of the current_items method + (bsc#1177137) +- 4.3.42 + +--- Old: yast2-4.3.41.tar.bz2 New: yast2-4.3.44.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.JAibCO/_old 2020-11-29 12:25:41.449836054 +0100 +++ /var/tmp/diff_new_pack.JAibCO/_new 2020-11-29 12:25:41.453836059 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.41 +Version:4.3.44 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only @@ -171,6 +171,12 @@ %yast_install +%if !0%{?usrmerged} +mkdir -p %{buildroot}/sbin +ln -s ../%{_sbindir}/yast %{buildroot}/sbin +ln -s ../%{_sbindir}/yast2 %{buildroot}/sbin +%endif + # symlink the yardoc duplicates, saves over 2MB in installed system # (the RPM package size is decreased just by few kilobytes # because of the compression) @@ -232,7 +238,9 @@ %{_mandir}/*/* %doc %{yast_vardir}/hooks/README.md +%if !0%{?usrmerged} /sbin/yast* +%endif %{_sbindir}/yast* # wizard ++ yast2-4.3.41.tar.bz2 -> yast2-4.3.44.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.41/.github/workflows/ci.yml new/yast2-4.3.44/.github/workflows/ci.yml --- old/yast2-4.3.41/.github/workflows/ci.yml 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.3.44/.github/workflows/ci.yml 2020-11-27 14:04:56.0 +0100 @@ -0,0 +1,89 @@ + +# See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions + +name: CI + +on: [push, pull_request] + +jobs: + Tests: +runs-on: ubuntu-latest +container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + +steps: + +- name: Git Checkout + uses: actions/checkout@v1 + +# just for easier debugging... +- name: Inspect Installed Packages + run: rpm -qa | sort + +- name: Unit Tests + run: rake test:unit + env: +# enable code coverage reporting +COVERAGE: 1 +# English messages, UTF-8, "C" locale for numeric formatting tests +LC_ALL: +LANG: en_US.UTF-8 +LC_NUMERIC: C + +# send the coverage report to coveralls.io +- name: Coveralls Report + uses: coverallsapp/github-action@master + with: +github-token: ${{ secrets.GITHUB_TOKEN }} + + Rubocop: +runs-on: ubuntu-latest +container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + +steps: + +- name: Git Checkout + uses: actions/checkout@v1 + +- name: Rubocop + run: rake check:rubocop + + Package: +runs-on: ubuntu-latest +container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + +steps: + +- name: Git Checkout + uses: actions/checkout@v1 + +- name: Package Build + run: yast-ci-ruby -o package + + Yardoc: +runs-on: ubuntu-latest +container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + +steps: + +- name: Git Checkout + uses: actions/checkout@v1 + +- name: Yardoc + run: yardoc + + # downloading the Docker image takes some time so bundling several fast + # checks into one job avoids that overhead + Checks: +runs-on: ubuntu-latest +container: registry.opensuse.org/yast/head/containers/yast-ruby:latest + +steps: + +- name: Git Checkout + uses: actions/checkout@v1 + +- name: Perl Syntax + run: yast-ci-ruby -o perl_syntax + +- name: POT Check + run: rake check:pot diff -urN '--exclude=CVS'
[opensuse-commit] commit yast2 for openSUSE:Factory
Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2020-11-13 18:57:16 Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.24930 (New) Package is "yast2" Fri Nov 13 18:57:16 2020 rev:498 rq:848079 version:4.3.41 Changes: --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2020-10-23 12:20:55.440622858 +0200 +++ /work/SRC/openSUSE:Factory/.yast2.new.24930/yast2.changes 2020-11-13 18:57:24.582001914 +0100 @@ -1,0 +2,21 @@ +Wed Nov 11 22:25:45 UTC 2020 - Josef Reidinger + +- add methods to decide if hibernation should be proposed + (jsc#SLE-12280) +- 4.3.41 + +--- +Fri Nov 6 22:40:12 UTC 2020 - José Iván López González + +- Ensure #current_items always returns a list. +- Related to bsc#1177137. +- 4.3.40 + +--- +Thu Nov 5 09:08:49 UTC 2020 - Knut Anderssen + +- CWM ComboBox: query the current items offered by the widget when + the list of items is extended by a new value (bsc#1177137) +- 4.3.39 + +--- Old: yast2-4.3.38.tar.bz2 New: yast2-4.3.41.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.0TkiY0/_old 2020-11-13 18:57:25.566003054 +0100 +++ /var/tmp/diff_new_pack.0TkiY0/_new 2020-11-13 18:57:25.570003059 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.3.38 +Version:4.3.41 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.3.38.tar.bz2 -> yast2-4.3.41.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.38/library/control/src/modules/ProductFeatures.rb new/yast2-4.3.41/library/control/src/modules/ProductFeatures.rb --- old/yast2-4.3.38/library/control/src/modules/ProductFeatures.rb 2020-10-20 15:26:38.0 +0200 +++ new/yast2-4.3.41/library/control/src/modules/ProductFeatures.rb 2020-11-12 10:36:52.0 +0100 @@ -72,7 +72,8 @@ "base_product_license_directory" => "/usr/share/licenses/product/base/", "full_system_media_name" => "", "full_system_download_url"=> "", - "save_y2logs" => true + "save_y2logs" => true, + "propose_hibernate" => true }, "partitioning" => { "use_flexible_partitioning"=> false, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.38/library/cwm/src/lib/cwm/common_widgets.rb new/yast2-4.3.41/library/cwm/src/lib/cwm/common_widgets.rb --- old/yast2-4.3.38/library/cwm/src/lib/cwm/common_widgets.rb 2020-10-20 15:26:38.0 +0200 +++ new/yast2-4.3.41/library/cwm/src/lib/cwm/common_widgets.rb 2020-11-12 10:36:52.0 +0100 @@ -57,6 +57,13 @@ [] end +# List the current items offered in the widget +# +# @return [Array] +def current_items + Yast::UI.QueryWidget(Id(widget_id), :Items) || [] +end + # @return [WidgetHash] def cwm_definition super.merge( @@ -194,7 +201,8 @@ # # @param val [Object] Value to assign to the widget def value=(val) - change_items([[val, val]] + items) if editable? && !items.map(&:first).include?(val) + change_items([[val, val]] + current_items) if editable? && !current_items.map(&:first).include?(val) + self.orig_value = val end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.3.38/library/cwm/test/common_widgets_test.rb new/yast2-4.3.41/library/cwm/test/common_widgets_test.rb --- old/yast2-4.3.38/library/cwm/test/common_widgets_test.rb2020-10-20 15:26:38.0 +0200 +++ new/yast2-4.3.41/library/cwm/test/common_widgets_test.rb2020-11-12 10:36:52.0 +0100 @@ -140,16 +140,29 @@ describe "when the widget is editable" do subject { MountPointSelector.new } - it "adds the given value to the list of items" do -expect(subject).to receive(:change_items).with([["/srv", "/srv"], ["/", "/ (root)"]]) -subject.value = "/srv" + context "and there is no current items" do +it "adds the given value" do + expect(subject).to receive(:change_items).with([["/srv", "/srv"]]) + subject.value = "/srv" +end + end + + context "and there are current items" do +before do + allow(subject).to