commit yast2 for openSUSE:Leap:15.2:Update
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2:Update checked in at 2020-08-29 12:24:17 Comparing /work/SRC/openSUSE:Leap:15.2:Update/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.yast2.new.3399 (New) Package is "yast2" Sat Aug 29 12:24:17 2020 rev:2 rq:829710 version:unknown Changes: New Changes file: NO CHANGES FILE!!! Other differences: -- ++ _link ++ --- /var/tmp/diff_new_pack.tQrF3z/_old 2020-08-29 12:24:18.556641690 +0200 +++ /var/tmp/diff_new_pack.tQrF3z/_new 2020-08-29 12:24:18.560641691 +0200 @@ -1 +1 @@ - +
commit yast2 for openSUSE:Leap:15.2:Update
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2:Update checked in at 2020-07-27 16:19:56 Comparing /work/SRC/openSUSE:Leap:15.2:Update/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.yast2.new.3592 (New) Package is "yast2" Mon Jul 27 16:19:56 2020 rev:1 rq:822637 version:unknown Changes: New Changes file: NO CHANGES FILE!!! New: _link Other differences: -- ++ _link ++
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-05-01 15:06:47 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.2738 (New) Package is "yast2" Fri May 1 15:06:47 2020 rev:182 rq:798682 version:4.2.83 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-04-17 13:36:35.772177128 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.2738/yast2.changes 2020-05-01 15:06:49.758503404 +0200 @@ -1,0 +2,7 @@ +Fri Apr 24 14:53:03 UTC 2020 - Knut Anderssen + +- Avoid using systemctl calls when already started with the + installation and thus, running inside the chroot (bsc#1168849) +- 4.2.83 + +--- Old: yast2-4.2.82.tar.bz2 New: yast2-4.2.83.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.4ZO8S0/_old 2020-05-01 15:06:50.122504194 +0200 +++ /var/tmp/diff_new_pack.4ZO8S0/_new 2020-05-01 15:06:50.126504204 +0200 @@ -1,7 +1,7 @@ # # spec file for package yast2 # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,17 +12,17 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: yast2 -Version:4.2.82 +Version:4.2.83 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only Group: System/YaST -Url:https://github.com/yast/yast-yast2 +URL:https://github.com/yast/yast-yast2 Source0:%{name}-%{version}.tar.bz2 Source1:yast2-rpmlintrc ++ yast2-4.2.82.tar.bz2 -> yast2-4.2.83.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.82/Dockerfile new/yast2-4.2.83/Dockerfile --- old/yast2-4.2.82/Dockerfile 2020-04-13 18:11:42.0 +0200 +++ new/yast2-4.2.83/Dockerfile 2020-04-24 19:38:22.0 +0200 @@ -1,7 +1,7 @@ # Use this base image # - built: https://registry.opensuse.org # - source: https://github.com/yast/ci-ruby-container -FROM registry.opensuse.org/yast/head/containers/yast-ruby +FROM registry.opensuse.org/yast/sle-15/sp2/containers/yast-ruby COPY . /usr/src/app # English messages, UTF-8, "C" locale for numeric formatting tests ENV LC_ALL= LANG=en_US.UTF-8 LC_NUMERIC=C diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.82/Rakefile new/yast2-4.2.83/Rakefile --- old/yast2-4.2.82/Rakefile 2020-04-13 18:11:42.0 +0200 +++ new/yast2-4.2.83/Rakefile 2020-04-24 19:38:22.0 +0200 @@ -1,5 +1,7 @@ require "yast/rake" +Yast::Tasks.submit_to :sle15sp2 + Yast::Tasks.configuration do |conf| # lets ignore license check for now conf.skip_license_check << /.*/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.82/library/systemd/src/lib/yast2/systemd/unit.rb new/yast2-4.2.83/library/systemd/src/lib/yast2/systemd/unit.rb --- old/yast2-4.2.82/library/systemd/src/lib/yast2/systemd/unit.rb 2020-04-13 18:11:42.0 +0200 +++ new/yast2-4.2.83/library/systemd/src/lib/yast2/systemd/unit.rb 2020-04-24 19:38:22.0 +0200 @@ -106,7 +106,9 @@ # @return [Yast2::Systemd::UnitProperties] def show(property_text = nil) # Using different handler during first stage (installation, update, ...) -if Yast::Stage.initial && !Yast::Systemd.Running +# Avoid to call systemctl when running inside a chroot (bsc#1168849) as +# it reports an error by default. +if Yast::WFM.scr_chrooted? || (Yast::Stage.initial && !Yast::Systemd.Running) UnitInstallationProperties.new(self) else UnitProperties.new(self, property_text) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.82/library/systemd/test/yast2/systemctl_test.rb new/yast2-4.2.83/library/systemd/test/yast2/systemctl_test.rb --- old/yast2-4.2.82/library/systemd/test/yast2/systemctl_test.rb 2020-04-13 18:11:42.0 +0200 +++ new/yast2-4.2.83/library/systemd/test/yast2/systemctl_test.rb 2020-04-24 19:38:22.0 +0200 @@ -9,6 +9,7 @@ before do allow(Yast::Systemd).to receive(:Running).and_return(true) +
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-04-17 13:36:34 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.2738 (New) Package is "yast2" Fri Apr 17 13:36:34 2020 rev:181 rq:793938 version:4.2.82 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-04-14 14:20:31.249253875 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.2738/yast2.changes 2020-04-17 13:36:35.772177128 +0200 @@ -1,0 +2,7 @@ +Mon Apr 13 12:36:58 UTC 2020 - Knut Anderssen + +- Remove ip aliases that were marked to be deleted from the + interface configuration files (bsc#1146020) +- 4.2.82 + +--- Old: yast2-4.2.81.tar.bz2 New: yast2-4.2.82.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.4YfBcg/_old 2020-04-17 13:36:36.280177510 +0200 +++ /var/tmp/diff_new_pack.4YfBcg/_new 2020-04-17 13:36:36.284177513 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.81 +Version:4.2.82 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.2.81.tar.bz2 -> yast2-4.2.82.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.81/library/network/src/modules/NetworkInterfaces.rb new/yast2-4.2.82/library/network/src/modules/NetworkInterfaces.rb --- old/yast2-4.2.81/library/network/src/modules/NetworkInterfaces.rb 2020-04-07 14:46:40.0 +0200 +++ new/yast2-4.2.82/library/network/src/modules/NetworkInterfaces.rb 2020-04-13 18:11:42.0 +0200 @@ -801,12 +801,11 @@ # remove deleted devices log.info("Deleted=#{@Deleted}") - Builtins.foreach(@Deleted) do |d| -# delete config file -p = Builtins.add(path(".network.section"), d) -log.debug("deleting: #{p}") -SCR.Write(p, nil) + @Deleted.each do |d| +iface, alias_num = d.split("#") +alias_num ? delete_alias(original_devs, iface, alias_num) : delete_device(iface) end + @Deleted = [] # write all devices @@ -1537,6 +1536,38 @@ devices end +# Convenience method to delete an interface config file from the system +# +# @param iface [String] interface name of the config file to be deleted +def delete_device(iface) + p = path(".network.section") + iface + log.debug("deleting: #{p}") + SCR.Write(p, nil) +end + +# Convenience method to delete an specific ip alias from an interface +# config file +# +# @param devices [Hash>] hash with the devices +# to remove the aliases from +# @param iface [String] interface name of the alias which alias need to be +# removed +# @param alias_num [String] index num of the alias that needs to be removed +def delete_alias(devices, iface, alias_num) + dev_map = devices.values.find { |d| d.keys.include?(iface) } || {} + dev_aliases = dev_map.fetch(iface, {}).fetch("_aliases", {}) + + base = path(".network.value") + iface + # look in OriginalDevs because we need to catch all variables + # of the alias + + dev_aliases.fetch(alias_num, {}).keys.each do |key| +p = base + "#{key}_#{alias_num}" +log.debug("deleting: #{p}") +SCR.Write(p, nil) + end +end + publish variable: :Name, type: "string" publish variable: :Current, type: "map " publish variable: :CardRegex, type: "map " diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.81/library/network/test/network_interfaces_test.rb new/yast2-4.2.82/library/network/test/network_interfaces_test.rb --- old/yast2-4.2.81/library/network/test/network_interfaces_test.rb 2020-04-07 14:46:40.0 +0200 +++ new/yast2-4.2.82/library/network/test/network_interfaces_test.rb 2020-04-13 18:11:42.0 +0200 @@ -322,6 +322,8 @@ let(:network_path) { File.join(data_dir, "etc/sysconfig/network") } let(:ifcfg_copy) { File.join(network_path, "ifcfg-copy") } let(:ifcfg_file) { File.join(network_path, "ifcfg-eth1") } +let(:eth0_back) { File.join(network_path, "ifcfg-eth0.backup") } +let(:eth0) { File.join(network_path, "ifcfg-eth0") } before do subject.CleanCacheRead() @@ -329,8 +331,11 @@ around do |example| ::FileUtils.cp(ifcfg_file, ifcfg_copy) + ::FileUtils.cp(eth0, eth0_back) change_scr_root(data_dir, ) + ::FileUtils.cp(eth0_back, eth0) ::FileUtils.rm(ifcfg_copy) + ::FileUtils.rm(eth0_back) end context "when
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-04-14 14:20:24 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.3248 (New) Package is "yast2" Tue Apr 14 14:20:24 2020 rev:180 rq:792546 version:4.2.81 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-04-08 12:47:54.762328217 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.3248/yast2.changes 2020-04-14 14:20:31.249253875 +0200 @@ -1,0 +2,6 @@ +Tue Apr 7 08:33:55 UTC 2020 - Stefan Hundhammer + +- Retranslate wizard help button in NCurses UI (bsc#1167224) +- 4.2.81 + +--- Old: yast2-4.2.80.tar.bz2 New: yast2-4.2.81.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.bT0gHw/_old 2020-04-14 14:20:31.733254237 +0200 +++ /var/tmp/diff_new_pack.bT0gHw/_new 2020-04-14 14:20:31.737254240 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.80 +Version:4.2.81 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only @@ -225,7 +225,6 @@ # documentation (not included in devel subpackage) %doc %dir %{yast_docdir} %license %{yast_docdir}/COPYING -%doc %{yast_docdir}/CONTRIBUTING.md %doc %{yast_docdir}/README.md %{_mandir}/*/* ++ yast2-4.2.80.tar.bz2 -> yast2-4.2.81.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.80/CONTRIBUTING.md new/yast2-4.2.81/CONTRIBUTING.md --- old/yast2-4.2.80/CONTRIBUTING.md2020-04-03 13:37:08.0 +0200 +++ new/yast2-4.2.81/CONTRIBUTING.md1970-01-01 01:00:00.0 +0100 @@ -1,89 +0,0 @@ -YaST Contribution Guidelines - - -YaST is an open source project and as such it welcomes all kinds of -contributions. If you decide to contribute, please follow these guidelines to -ensure the process is effective and pleasant both for you and the YaST maintainers. - -There are two main forms of contribution: reporting bugs and performing code -changes. - -Bug Reports - -If you find a problem, please report it either using -[Bugzilla](https://bugzilla.suse.com/enter_bug.cgi?format=guided=openSUSE+Factory=YaST2) -or [GitHub issues](../../issues). (For Bugzilla, use the [simplified -registration](https://secure-www.novell.com/selfreg/jsp/createSimpleAccount.jsp) -if you don't have an account yet.) - -When creating a bug report, please follow our [bug reporting -guidelines](http://en.opensuse.org/openSUSE:Report_a_YaST_bug). - -We can't guarantee that every bug will be fixed, but we'll try. - -Code Changes - - -We welcome all kinds of code contributions, from simple bug fixes to significant -refactorings and implementation of new features. However, before making any -non-trivial contribution, get in touch with us first — this can prevent wasted -effort on both sides. Also, have a look at our [development -documentation](http://en.opensuse.org/openSUSE:YaST_development). - -To send us your code change, use GitHub pull requests. The workflow is as -follows: - - 1. Fork the project. - - 2. Create a topic branch based on `master`. - - 3. Implement your change, including tests (if possible). Make sure you adhere - to the [Ruby style - guide](https://github.com/SUSE/style-guides/blob/master/Ruby.md). - - 4. Update the package version (in `packages/*.spec`, usually by - `rake version:bump`) and add a new entry to the `package/*.changes` file - (by `osc vc package`). - For bigger changes or changes which need longer discussion it is advised to - add this as a separate last commit so it can be easily updated when another - change is merged in the meantime. - - 5. Make sure your change didn't break anything by building the RPM package - (`rake osc:build`). The build process includes running the full testsuite. - - 6. Publish the branch and create a pull request. - - 7. YaST developers will review your change and possibly point out issues. - Adapt the code under their guidance until they are all resolved. - - 8. Finally, the pull request will get merged or rejected. - -See also [GitHub's guide on -contributing](https://help.github.com/articles/fork-a-repo). - -If you want to do multiple unrelated changes, use separate branches and pull -requests. - -### Commits - -Each commit in the pull request should do only one thing, which is clearly -described by its commit message. Especially avoid mixing formatting changes and -functional changes into one commit. When writing commit messages, adhere to -[widely used
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-04-08 12:47:53 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.3248 (New) Package is "yast2" Wed Apr 8 12:47:53 2020 rev:179 rq:791238 version:4.2.80 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-03-31 07:22:59.226414102 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.3248/yast2.changes 2020-04-08 12:47:54.762328217 +0200 @@ -1,0 +2,15 @@ +Fri Apr 3 09:55:17 UTC 2020 - Knut Anderssen + +- Modify the way YaST detects whether systemd is running or not + (bsc#1168307) +- 4.2.80 + +--- +Fri Mar 27 13:12:00 UTC 2020 - Knut Anderssen + +- Reread network interfaces configuration after writing it avoiding + wrong values when reopen network configuration dialog during an + installation (bsc#1166778) +- 4.2.79 + +--- Old: yast2-4.2.78.tar.bz2 New: yast2-4.2.80.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.ZXp0Fg/_old 2020-04-08 12:47:55.162328419 +0200 +++ /var/tmp/diff_new_pack.ZXp0Fg/_new 2020-04-08 12:47:55.166328422 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.78 +Version:4.2.80 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.2.78.tar.bz2 -> yast2-4.2.80.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.78/.travis.yml new/yast2-4.2.80/.travis.yml --- old/yast2-4.2.78/.travis.yml2020-03-26 14:18:52.0 +0100 +++ new/yast2-4.2.80/.travis.yml2020-04-03 13:37:08.0 +0200 @@ -12,4 +12,4 @@ script: # the "yast-travis-ruby" script is included in the base yastdevel/ruby image # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby - - docker run -it -e TRAVIS=1 -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-yast2-image yast-travis-ruby + - docker run -it -e TRAVIS=1 --privileged -e TRAVIS_JOB_ID="$TRAVIS_JOB_ID" yast-yast2-image yast-travis-ruby diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.78/library/network/src/modules/NetworkInterfaces.rb new/yast2-4.2.80/library/network/src/modules/NetworkInterfaces.rb --- old/yast2-4.2.78/library/network/src/modules/NetworkInterfaces.rb 2020-03-26 14:18:52.0 +0100 +++ new/yast2-4.2.80/library/network/src/modules/NetworkInterfaces.rb 2020-04-03 13:37:08.0 +0200 @@ -954,6 +954,9 @@ # Finish him SCR.Write(path(".network"), nil) + # Reread all settings to avoid wrong values when reopen the network + # dialog during installation (bsc#1166778) + CleanCacheRead() true end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.78/library/network/test/data/etc/sysconfig/network/ifcfg-eth1 new/yast2-4.2.80/library/network/test/data/etc/sysconfig/network/ifcfg-eth1 --- old/yast2-4.2.78/library/network/test/data/etc/sysconfig/network/ifcfg-eth1 2020-03-26 14:18:52.0 +0100 +++ new/yast2-4.2.80/library/network/test/data/etc/sysconfig/network/ifcfg-eth1 2020-04-03 13:37:08.0 +0200 @@ -1,4 +1,4 @@ -DEVICE=eth1 +DEVICE='eth1' BOOTPROTO='static' STARTMODE='auto' -SLAVE=YES +SLAVE='YES' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.78/library/network/test/data/etc/sysconfig/network/single_quote.test new/yast2-4.2.80/library/network/test/data/etc/sysconfig/network/single_quote.test --- old/yast2-4.2.78/library/network/test/data/etc/sysconfig/network/single_quote.test 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.2.80/library/network/test/data/etc/sysconfig/network/single_quote.test 2020-04-03 13:37:08.0 +0200 @@ -0,0 +1,5 @@ +DEVICE='single' +BOOTPROTO='dhcp' +STARTMODE='auto' +DHCLIENT_SET_HOSTNAME='yes' +NAME='single 'quoted' name' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.78/library/network/test/network_interfaces_test.rb new/yast2-4.2.80/library/network/test/network_interfaces_test.rb --- old/yast2-4.2.78/library/network/test/network_interfaces_test.rb 2020-03-26 14:18:52.0 +0100 +++ new/yast2-4.2.80/library/network/test/network_interfaces_test.rb 2020-04-03 13:37:08.0 +0200 @@ -52,6 +52,9 @@ describe "#Read" do let(:data_dir) { File.join(File.dirname(__FILE__), "data") } +let(:network_path) {
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-03-31 07:22:58 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.3160 (New) Package is "yast2" Tue Mar 31 07:22:58 2020 rev:178 rq:789309 version:4.2.78 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-03-26 05:41:03.587268858 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.3160/yast2.changes 2020-03-31 07:22:59.226414102 +0200 @@ -1,0 +2,14 @@ +Thu Mar 26 12:57:33 UTC 2020 - David Diaz + +- Remove no longer needed multi status selector since it + does not work as expected (bsc#1167523). +- 4.2.78 + +--- +Tue Mar 24 16:40:09 UTC 2020 - Ladislav Slezák + +- Fixed alignment in the multi selection CWM widget + (part of bsc#1167523) +- 4.2.77 + +--- Old: yast2-4.2.76.tar.bz2 New: yast2-4.2.78.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.13Tpks/_old 2020-03-31 07:22:59.602414265 +0200 +++ /var/tmp/diff_new_pack.13Tpks/_new 2020-03-31 07:22:59.606414267 +0200 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.76 +Version:4.2.78 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.2.76.tar.bz2 -> yast2-4.2.78.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.76/library/cwm/src/lib/cwm/multi_status_selector.rb new/yast2-4.2.78/library/cwm/src/lib/cwm/multi_status_selector.rb --- old/yast2-4.2.76/library/cwm/src/lib/cwm/multi_status_selector.rb 2020-03-23 14:55:14.0 +0100 +++ new/yast2-4.2.78/library/cwm/src/lib/cwm/multi_status_selector.rb 1970-01-01 01:00:00.0 +0100 @@ -1,481 +0,0 @@ -# Copyright (c) [2020] 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 "cwm" -require "abstract_method" - -module CWM - # Custom widget to manage multi status selection items - # - # It uses a RichText to emulate the multi selection list meeting following requirements: - # - # - Allow to select more than one item. - # - Able to represent multiple statuses: no selected, selected, auto selected. - # - Items can be enable or disabled. - # - Emit different events to distinguish the interaction through check box input or its label. - # - Automatic text wrapping. - # - Keep the vertical scroll. - # - # If you want to see it in action, have a look at yast2-registration or yast2-packager modules. - # - # TODO: make possible to use it more than once in the same dialog, maybe by using the parent - # widget_id as a prefix for the event_id. See {CWM::MultiStatusSelector#handle} and - # {CWM::MultiStatusSelector::Item.event_id}. - # - # @example Defining a MultiStatusSelector to manage products selection (with dependencies) - # - # require "cwm/multi_status_selector" - # - # class MyMultiStatusSelector < CWM::MultiStatusSelector - # attr_reader :items - # - # def initialize(products) - # @products = products - # @items = products.map { |p| Item.new(p) } - # end - # - # def contents - # VBox( - # VWeight(60, super), - # VWeight(40, details) - # ) - # end - # - # def toggle(item) - # item.toggle - # select_dependencies - # label_event_handler(item) - # end - # - # private - # - # attr_accessor :products - # - # def details - # @details ||= CWM::RichText.new - # end - # - # def select_dependencies - # # logic to recalculate auto selected items - # end - # - # def label_event_handler(item) - # details.value = item.description - # end - # - # class Item < CWM::MultiStateSelector::Item - # attr_reader :status,
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-03-26 05:41:01 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.3160 (New) Package is "yast2" Thu Mar 26 05:41:01 2020 rev:177 rq:787745 version:4.2.76 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-03-19 08:35:50.773831033 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.3160/yast2.changes 2020-03-26 05:41:03.587268858 +0100 @@ -1,0 +2,21 @@ +Mon Mar 23 11:15:56 UTC 2020 - Josef Reidinger + +- Add Popup#SuppressFeedback to allow to hide feedback for certain + actions (needed for bsc#1165705) +- 4.2.76 + +--- +Sat Mar 21 11:56:41 UTC 2020 - Knut Anderssen + +- Force a reset of the firewalld API instance before reading the + firewalld configuration (bsc#1166698) +- 4.2.75 + +--- +Tue Mar 17 15:46:35 UTC 2020 - Ladislav Slezák + +- Fixed CWM::MultiStatusSelector help text icons displayed during + installation (related to bsc#1157780, bsc#1161308, bsc#1161200) +- 4.2.74 + +--- Old: yast2-4.2.73.tar.bz2 New: yast2-4.2.76.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.fux8sp/_old 2020-03-26 05:41:03.979269061 +0100 +++ /var/tmp/diff_new_pack.fux8sp/_new 2020-03-26 05:41:03.983269063 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.73 +Version:4.2.76 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.2.73.tar.bz2 -> yast2-4.2.76.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.73/library/cwm/src/lib/cwm/multi_status_selector.rb new/yast2-4.2.76/library/cwm/src/lib/cwm/multi_status_selector.rb --- old/yast2-4.2.73/library/cwm/src/lib/cwm/multi_status_selector.rb 2020-03-13 11:47:39.0 +0100 +++ new/yast2-4.2.76/library/cwm/src/lib/cwm/multi_status_selector.rb 2020-03-23 14:55:14.0 +0100 @@ -299,12 +299,12 @@ def self.help help_text = "" # TRANSLATORS: help text for a not selected check box -help_text << "#{icon_for(UNSELECTED)} = #{_("Not selected")}" +help_text << "#{icon_for(UNSELECTED, mode: mode)} = #{_("Not selected")}" # TRANSLATORS: help text for a selected check box -help_text << "#{icon_for(SELECTED)} = #{_("Selected")}" +help_text << "#{icon_for(SELECTED, mode: mode)} = #{_("Selected")}" # TRANSLATORS: help text for an automatically selected check box # (it has a different look that a user selected check box) -help_text << "#{icon_for(AUTO_SELECTED)} = #{_("Auto selected")}" +help_text << "#{icon_for(AUTO_SELECTED, mode: mode)} = #{_("Auto selected")}" help_text << "" help_text end @@ -405,11 +405,28 @@ "#{checkbox_input} #{checkbox_label}" end + # Determines whether running in installation mode + # + # We do not use Stage.initial because of firstboot, which runs in 'installation' mode + # but in 'firstboot' stage. + # + # @return [Boolean] Boolean if running in installation or update mode + def self.installation? +Yast::Mode.installation || Yast::Mode.update + end + + # Returns the current mode + # + # @return [String] "normal" in a running system; "inst" during the installation + def self.mode +installation? ? "inst" : "normal" + end + private # @see .icon_for def icon -self.class.icon_for(status, mode: mode, state: state) +self.class.icon_for(status, mode: self.class.mode, state: state) end # Builds the check box input representation @@ -434,13 +451,6 @@ end end - # Returns the current mode - # - # @return [String] "normal" in a running system; "inst" during the installation - def mode -installation? ? "inst" : "normal" - end - # Returns the current input state # # @return [String] "enabled" when item must be enabled; "disabled" otherwise @@ -462,20 +472,10 @@ # "black" otherwise def color return "grey" unless enabled? -return "white" if installation? +return "white" if self.class.installation? "black" end - - # Determines whether running in installation mode - # - # We do not use Stage.initial because of firstboot,
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-03-19 08:35:43 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.3160 (New) Package is "yast2" Thu Mar 19 08:35:43 2020 rev:176 rq:786011 version:4.2.73 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-03-13 10:55:59.356375390 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.3160/yast2.changes 2020-03-19 08:35:50.773831033 +0100 @@ -1,0 +2,7 @@ +Fri Mar 13 01:54:58 UTC 2020 - David Diaz + +- CWM::MultiStatusSelector minor improvements (related to + bsc#1157780). +- 4.2.73 + +--- Old: yast2-4.2.72.tar.bz2 New: yast2-4.2.73.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.5xd9xb/_old 2020-03-19 08:35:51.433831437 +0100 +++ /var/tmp/diff_new_pack.5xd9xb/_new 2020-03-19 08:35:51.437831439 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.72 +Version:4.2.73 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.2.72.tar.bz2 -> yast2-4.2.73.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.72/library/cwm/src/lib/cwm/multi_status_selector.rb new/yast2-4.2.73/library/cwm/src/lib/cwm/multi_status_selector.rb --- old/yast2-4.2.72/library/cwm/src/lib/cwm/multi_status_selector.rb 2020-03-12 10:56:26.0 +0100 +++ new/yast2-4.2.73/library/cwm/src/lib/cwm/multi_status_selector.rb 2020-03-13 11:47:39.0 +0100 @@ -121,6 +121,21 @@ HBox(content) end +# Updates the content based on items list +def refresh + new_value = items.map do |item| +item_content = item.to_richtext + +if Yast::UI.TextMode + "#{item_content}" +else + "#{item_content}" +end + end + + content.value = new_value.join +end + # @macro seeAbstractWidget def handle(event) if event["ID"].to_s.include?(Item.event_id) @@ -173,11 +188,6 @@ items.find { |i| i.id.to_s == needle.to_s } end -# Updates the content based on items list -def refresh - content.value = items.map(&:to_richtext).join("") -end - # Convenience widget to keep the content updated # # @return [ContentArea] @@ -210,6 +220,8 @@ class Item extend Yast::I18n + textdomain "base" + # Map to icons used in GUI to represent all the known statuses in both scenarios, during # installation (`inst` mode) and in a running system (`normal` mode). # @@ -261,8 +273,6 @@ LABEL_EVENT_ID = "#{EVENT_ID}label".freeze private_constant :LABEL_EVENT_ID - textdomain "cwm" - # @!method id # The item id # @return [#to_s] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.72/library/cwm/test/multi_status_selector_test.rb new/yast2-4.2.73/library/cwm/test/multi_status_selector_test.rb --- old/yast2-4.2.72/library/cwm/test/multi_status_selector_test.rb 2020-03-12 10:56:26.0 +0100 +++ new/yast2-4.2.73/library/cwm/test/multi_status_selector_test.rb 2020-03-13 11:47:39.0 +0100 @@ -62,9 +62,48 @@ let(:first_item) { { id: 1, status: :selected, enabled: false } } let(:second_item) { { id: 2, status: :unselected, enabled: true } } let(:items) { [first_item, second_item] } + let(:content) { subject.contents.nested_find { |i| i.is_a?(CWM::RichText) } } include_examples "CWM::CustomWidget" + describe "#refresh" do +before do + allow(Yast::UI).to receive(:TextMode).and_return(text_mode) +end + +context "when running in text mode" do + let(:text_mode) { true } + + it "includes tags" do +expect(content).to receive(:value=).with(//) + +subject.refresh + end + + it "does not include tags" do +expect(content).to_not receive(:value=).with(//) + +subject.refresh + end +end + +context "when not running in text mode" do + let(:text_mode) { false } + + it "includes tags" do +expect(content).to receive(:value=).with(//) + +subject.refresh + end + + it "does not include tags" do +expect(content).to_not receive(:value=).with(//) + +subject.refresh + end +end + end + describe "#init" do it "renders all items" do expect(subject.items).to all(receive(:to_richtext)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore'
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-03-13 10:55:58 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.3160 (New) Package is "yast2" Fri Mar 13 10:55:58 2020 rev:175 rq:784369 version:4.2.72 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-02-27 06:41:17.605583373 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.3160/yast2.changes 2020-03-13 10:55:59.356375390 +0100 @@ -1,0 +2,40 @@ +Thu Mar 12 09:14:16 UTC 2020 - David Diaz + +- Add the new CWM::MultiStatusSelector custom widget (related to + bsc#1157780, bsc#1161308, bsc#1161200). +- 4.2.72 + +--- +Thu Mar 12 08:26:12 UTC 2020 - Ladislav Slezák + +- Do not remove the installation repositories in the "Previously + Used Repositories" step (bsc#1163081) +- 4.2.71 + +--- +Fri Mar 6 13:26:57 UTC 2020 - David Diaz + +- Allow to restore the vertical scroll of a CWM::RichText + (related to bsc#1049965) +- 4.2.70 + +--- +Fri Mar 6 12:00:43 UTC 2020 - David Diaz + +- Read the list of network service properly, no matter where + it is stored (bsc#1162853). +- 4.2.69 + +--- +Fri Mar 6 08:58:24 UTC 2020 - Ladislav Slezák + +- Skip repository reloading at installation to avoid unselecting + products to install (bsc#1165501) +- 4.2.68 + +--- +Wed Feb 26 10:42:42 CET 2020 - sch...@suse.de + +- Updated docu for SysctlConfig class (bsc#1151649). + +--- Old: yast2-4.2.67.tar.bz2 New: yast2-4.2.72.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.KPR9Tb/_old 2020-03-13 10:55:59.904375781 +0100 +++ /var/tmp/diff_new_pack.KPR9Tb/_new 2020-03-13 10:55:59.904375781 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.67 +Version:4.2.72 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.2.67.tar.bz2 -> yast2-4.2.72.tar.bz2 ++ 1826 lines of diff (skipped)
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-02-27 06:41:16 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092 (New) Package is "yast2" Thu Feb 27 06:41:16 2020 rev:174 rq:779091 version:4.2.67 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-02-21 23:49:57.276638367 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092/yast2.changes 2020-02-27 06:41:17.605583373 +0100 @@ -1,0 +2,14 @@ +Mon Feb 24 15:02:15 CET 2020 - sch...@suse.de + +- Creating an own Augeas instance for each parsed sysctl file + (bsc#1151649). +- 4.2.67 + +--- +Mon Feb 17 17:59:07 UTC 2020 - sch...@suse.de + +- SysctlConfig class: Handle sysctl entries in different + directories (bsc#1151649). +- 4.2.66 + +--- Old: yast2-4.2.65.tar.bz2 New: yast2-4.2.67.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.HiYOEC/_old 2020-02-27 06:41:18.069584339 +0100 +++ /var/tmp/diff_new_pack.HiYOEC/_new 2020-02-27 06:41:18.073584348 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.65 +Version:4.2.67 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.2.65.tar.bz2 -> yast2-4.2.67.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.65/library/general/src/lib/cfa/conflict_report.rb new/yast2-4.2.67/library/general/src/lib/cfa/conflict_report.rb --- old/yast2-4.2.65/library/general/src/lib/cfa/conflict_report.rb 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.2.67/library/general/src/lib/cfa/conflict_report.rb 2020-02-25 10:03:16.0 +0100 @@ -0,0 +1,50 @@ +# Copyright (c) [2020] 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 "Report" + +module CFA + # Class for showing conflicts. + class ConfictReport +include Yast::Logger +include Yast::I18n +extend Yast::I18n + +# Popup which shows the conflicting files and their attributes. +# +# @param conflicts [Hash>] conflicting filepath with the +#corresponding array of entry names. +def self.report(conflicts) + textdomain "base" + return if !conflicts || conflicts.empty? + + text = "" + text << _("Changed values have conflicts with:") + conflicts.each do |filename, conflict| +text << _("File: %s") % filename +text << _("Conflicting entries: %s") % conflict.join(", ") +text << "" + end + text << _("You will have to adapt these entries manually in order to set your changes.") + Yast::Report.LongWarning(text) +end + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.65/library/general/src/lib/cfa/sysctl.rb new/yast2-4.2.67/library/general/src/lib/cfa/sysctl.rb --- old/yast2-4.2.65/library/general/src/lib/cfa/sysctl.rb 2020-02-17 18:24:24.0 +0100 +++ new/yast2-4.2.67/library/general/src/lib/cfa/sysctl.rb 2020-02-25 10:03:16.0 +0100 @@ -1,4 +1,4 @@ -# Copyright (c) [2019] SUSE LLC +# Copyright (c) [2019-2020] SUSE LLC # # All Rights Reserved. # @@ -42,16 +42,24 @@ # sysctl.load # sysctl.raw_forward_ipv6 #=> "0" # sysctl.raw_forward_ipv6 = "1" - # sysctl.forward_ipv6? #=> true + # + # NOTE: This class only handles "/etc/sysctl.d/70-yast.conf" and /etc/sysctl.conf. + # But sysctl values will also be handled by other files/directories. This will be + # managed by class SysctlConfig. So please use SysctlConfig in order to read/write + # sysctl values. class Sysctl < BaseModel include Yast::Logger Yast.import "Stage" -PARSER = AugeasParser.new("sysctl.lns") PATH =
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-02-21 23:49:51 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092 (New) Package is "yast2" Fri Feb 21 23:49:51 2020 rev:173 rq:777510 version:4.2.65 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-02-10 16:41:23.307700581 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092/yast2.changes 2020-02-21 23:49:57.276638367 +0100 @@ -1,0 +2,6 @@ +Mon Feb 17 16:59:07 UTC 2020 - Stefan Hundhammer + +- Fixed user-visible messages (bsc#1084015) +- 4.2.65 + +--- Old: yast2-4.2.64.tar.bz2 New: yast2-4.2.65.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.dHRet1/_old 2020-02-21 23:49:58.532640863 +0100 +++ /var/tmp/diff_new_pack.dHRet1/_new 2020-02-21 23:49:58.536640871 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.64 +Version:4.2.65 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.2.64.tar.bz2 -> yast2-4.2.65.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.64/library/general/src/modules/FileUtils.rb new/yast2-4.2.65/library/general/src/modules/FileUtils.rb --- old/yast2-4.2.64/library/general/src/modules/FileUtils.rb 2020-02-04 17:47:59.0 +0100 +++ new/yast2-4.2.65/library/general/src/modules/FileUtils.rb 2020-02-17 18:24:24.0 +0100 @@ -283,7 +283,7 @@ # TRANSLATORS: popup question (with continue / cancel buttons) # %1 is the filesystem path _( - "Although the path %1 exists, it is not a directory.\nContinue or cancel the operation?\n" + "Although the path %1 exists, it is not a directory.\nContinue or cancel the operation?" ), pathvalue ) @@ -295,7 +295,7 @@ Builtins.sformat( # TRANSLATORS: question popup (with yes / no buttons). A user entered non-existent path # for a share, %1 is entered path -_("The path %1 does not exist.\nCreate it now?\n"), +_("The path %1 does not exist.\nCreate it now?"), pathvalue ) ) @@ -315,7 +315,7 @@ # TRANSLATORS: popup question (with continue / cancel buttons) # %1 is the name (path) of the directory _( - "Failed to create the directory %1.\nContinue or cancel the current operation?\n" + "Failed to create the directory %1.\nContinue or cancel the current operation?" ), pathvalue ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.64/library/gpg/src/modules/GPGWidgets.rb new/yast2-4.2.65/library/gpg/src/modules/GPGWidgets.rb --- old/yast2-4.2.64/library/gpg/src/modules/GPGWidgets.rb 2020-02-04 17:47:59.0 +0100 +++ new/yast2-4.2.65/library/gpg/src/modules/GPGWidgets.rb 2020-02-17 18:24:24.0 +0100 @@ -203,7 +203,7 @@ "void (string, map)" ), "help" => _( - "GPG Private Key\nThe table contains list of the private GPG keys." + "GPG Private Key\nThe table contains a list of private GPG keys." ) } end @@ -235,7 +235,7 @@ "void (string, map)" ), "help" => _( - "GPG Public Key\nThe table contains list of the public GPG keys." + "GPG Public Key\nThe table contains a list of public GPG keys." ) } end @@ -282,7 +282,7 @@ "handle"=> fun_ref(method(:GpgNewKey), "symbol (string, map)"), "help" => _( "Create a new GPG key\n" \ -"gpg --gen-key is started, see gpg manual pager for more information.\n" \ +"gpg --gen-key is started, see the gpg manual page for more information.\n" \ "Press Ctrl+C to cancel.\n" \ "" ) @@ -327,7 +327,7 @@ ), # help text "help" => _( -"Passphrase\nEnter passphrase to unlock the GPG key." +"Passphrase\nEnter the passphrase to unlock the GPG key." ) } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.64/library/network/src/modules/SuSEFirewallProposal.rb new/yast2-4.2.65/library/network/src/modules/SuSEFirewallProposal.rb ---
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-02-10 16:41:16 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092 (New) Package is "yast2" Mon Feb 10 16:41:16 2020 rev:172 rq:772183 version:4.2.64 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-02-04 17:55:02.084771558 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092/yast2.changes 2020-02-10 16:41:23.307700581 +0100 @@ -1,0 +2,7 @@ +Tue Feb 4 14:15:37 UTC 2020 - Josef Reidinger + +- Show on WSL only WSL capable modules in control center + (bsc#1162650) +- 4.2.64 + +--- Old: yast2-4.2.63.tar.bz2 New: yast2-4.2.64.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.tBvNcg/_old 2020-02-10 16:41:23.695700855 +0100 +++ /var/tmp/diff_new_pack.tBvNcg/_new 2020-02-10 16:41:23.695700855 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.63 +Version:4.2.64 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only ++ yast2-4.2.63.tar.bz2 -> yast2-4.2.64.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.63/library/desktop/src/clients/menu.rb new/yast2-4.2.64/library/desktop/src/clients/menu.rb --- old/yast2-4.2.63/library/desktop/src/clients/menu.rb2020-01-31 18:06:46.0 +0100 +++ new/yast2-4.2.64/library/desktop/src/clients/menu.rb2020-02-04 17:47:59.0 +0100 @@ -62,6 +62,7 @@ "X-SuSE-YaST-Group", "X-SuSE-YaST-SortKey", "X-SuSE-YaST-RootOnly", +"X-SuSE-YaST-WSL", "Hidden" ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.63/library/desktop/src/modules/Desktop.rb new/yast2-4.2.64/library/desktop/src/modules/Desktop.rb --- old/yast2-4.2.63/library/desktop/src/modules/Desktop.rb 2020-01-31 18:06:46.0 +0100 +++ new/yast2-4.2.64/library/desktop/src/modules/Desktop.rb 2020-02-04 17:47:59.0 +0100 @@ -32,6 +32,7 @@ def main Yast.import "UI" textdomain "base" + Yast.import "Arch" Yast.import "Map" Yast.import "Directory" @@ -111,7 +112,7 @@ end # Read module and group data from desktop files -# @param [Array] Values list of values to be parsed (empty to read all) +# @param [Array] Values list of values to be parsed (empty or nil reads nothing) def Read(values_to_parse) values_to_parse = deep_copy(values_to_parse) extract_desktop_filename = lambda do |fullpath| @@ -258,12 +259,11 @@ end Builtins.foreach(mods) do |m| -if Builtins.haskey(@Modules, m) && -Ops.get_string(@Modules, [m, "Hidden"], "false") != "true" - l = Builtins.add( -l, -Item(Id(m), Ops.get_string(@Modules, [m, "GenericName"], "???")) - ) +if @Modules[m].is_a?(::Hash) && +@Modules[m]["Hidden"] != "true" && +# wsl specific whitelisting of modules +(!Arch.is_wsl || @Modules[m]["X-SuSE-YaST-WSL"] == "true") + l << Item(Id(m), Ops.get_string(@Modules, [m, "GenericName"], "???")) end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.63/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.SWSingle.desktop new/yast2-4.2.64/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.SWSingle.desktop --- old/yast2-4.2.63/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.SWSingle.desktop 1970-01-01 01:00:00.0 +0100 +++ new/yast2-4.2.64/library/desktop/test/data/usr/share/applications/YaST2/org.opensuse.yast.SWSingle.desktop 2020-02-04 17:47:59.0 +0100 @@ -0,0 +1,27 @@ +[Desktop Entry] +X-SuSE-DocTeamID=ycc_org.opensuse.yast.SWSingle +Type=Application +Categories=Settings;System;Qt;X-SuSE-YaST;X-SuSE-YaST-Software; + +X-KDE-ModuleType=Library +X-KDE-HasReadOnlyMode=true +X-SuSE-YaST-Call=sw_single + +X-SuSE-YaST-Group=Software +X-SuSE-YaST-Argument= +X-SuSE-YaST-RootOnly=true +X-SuSE-YaST-WSL=true +X-SuSE-YaST-AutoInst= +X-SuSE-YaST-Geometry= +X-SuSE-YaST-SortKey=20 +X-SuSE-YaST-AutoInstResource= +X-SuSE-YaST-Keywords=software,packages,rpm,repositories,installation,deletion + +Icon=yast-sw_single +Exec=xdg-su -c "/sbin/yast2 sw_single" + +Name=YaST Software Management +GenericName=Software Management +Comment=Install or remove software packages and manage software
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-02-04 17:54:42 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092 (New) Package is "yast2" Tue Feb 4 17:54:42 2020 rev:171 rq:769634 version:4.2.63 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-01-17 11:59:00.696439895 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092/yast2.changes 2020-02-04 17:55:02.084771558 +0100 @@ -1,0 +2,62 @@ +Fri Jan 31 16:07:35 UTC 2020 - José Iván López González + +- Add new widgets CWM::ProgressBar and CWM::DynamicProgressBar. +- Needed for bsc#1135366. +- 4.2.63 + +--- +Thu Jan 30 11:19:00 UTC 2020 - Ladislav Slezák + +- Do not crash when the "software/base_products" is not defined + in the control.xml (bsc#1161956) +- 4.2.62 + +--- +Wed Jan 29 13:22:50 UTC 2020 - Josef Reidinger + +- Speed up run on WSL (bsc#1157575) +- 4.2.61 + +--- +Tue Jan 28 08:42:45 UTC 2020 - Ladislav Slezák + +- Added classes for handling the old repository setup during + upgrade (related to bsc#1159433) +- 4.2.60 + +--- +Thu Jan 23 14:29:49 UTC 2020 - Imobach Gonzalez Sosa + +- Add an option to enable the online search in the package + selector (jsc#SLE-9109). +- 4.2.59 + +--- +Thu Jan 23 13:22:10 UTC 2020 - Steffen Winterfeldt + +- don't use /bin/systemd compat symlink (bsc#1160890) +- 4.2.58 + +--- +Wed Jan 22 15:27:15 UTC 2020 - Josef Reidinger + +- CommandLine: Add ability to actions to skip writing. + Useful for more CLI bug fixes e.g. bsc#1160928 +- 4.2.57 + +--- +Wed Jan 22 11:44:01 CET 2020 - sch...@suse.de + +- Evaluating system release/version in an more understandable form + for the user e.g. "15-SP2" (improvement for fate#325834). +- 4.2.56 + +--- +Tue Jan 14 16:38:43 UTC 2020 - David Diaz + +- Add a text helper to strip HTML tags (related bsc#1157780) +- Moves text helpers to String refinements, keeping backward + compatibility. +- 4.2.55 + +--- Old: yast2-4.2.54.tar.bz2 New: yast2-4.2.63.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.n0A6OT/_old 2020-02-04 17:55:02.844772016 +0100 +++ /var/tmp/diff_new_pack.n0A6OT/_new 2020-02-04 17:55:02.848772019 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version:4.2.54 +Version:4.2.63 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only @@ -117,8 +117,8 @@ Conflicts: yast2-installation < 4.2.9 # moved cfg_mail.scr Conflicts: yast2-mail < 3.1.7 -# Older packager use removed API e.g. user_switched_to_details -Conflicts: yast2-packager < 4.2.44 +# y2packager/repository.rb has been moved here +Conflicts: yast2-packager < 4.2.46 # Older snapper does not provide machine-readable output Conflicts: snapper < 0.8.6 ++ yast2-4.2.54.tar.bz2 -> yast2-4.2.63.tar.bz2 ++ 3059 lines of diff (skipped)
commit yast2 for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package yast2 for openSUSE:Leap:15.2 checked in at 2020-01-17 11:58:59 Comparing /work/SRC/openSUSE:Leap:15.2/yast2 (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092 (New) Package is "yast2" Fri Jan 17 11:58:59 2020 rev:170 rq:764556 version:4.2.54 Changes: --- /work/SRC/openSUSE:Leap:15.2/yast2/yast2.changes2020-01-15 16:32:04.904877097 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2.new.26092/yast2.changes 2020-01-17 11:59:00.696439895 +0100 @@ -1,0 +2,35 @@ +Fri Jan 10 14:43:20 UTC 2020 - sch...@suse.de + +- Do not refresh package installation overview if the medium has + been changed and the user has switched to the release notes tab. + (bsc#1129426, bsc#1159367) +- 4.2.54 + +--- +Fri Jan 10 13:43:20 UTC 2020 - Ancor Gonzalez Sosa + +- Fixed error during upgrade if Btrfs is used and '/var/lib/YaST2' + is missing (bsc#1159562) +- 4.2.53 + +--- +Fri Jan 10 09:04:16 UTC 2020 - Martin Vidner + +- Propagate an error status when a CommandLine module gets an + unknown command (related to bsc#1144351). +- 4.2.52 + +--- +Wed Jan 8 16:27:59 UTC 2020 - Ancor Gonzalez Sosa + +- Fix an exception in the live installation caused by a missing + "require" clause (bsc#1160362). +- 4.2.51 + +--- +Mon Jan 6 15:03:45 UTC 2020 - Ladislav Slezák + +- Persian is also an RTL language (related to bsc#1156437) +- 4.2.50 + +--- Old: yast2-4.2.49.tar.bz2 New: yast2-4.2.54.tar.bz2 Other differences: -- ++ yast2.spec ++ --- /var/tmp/diff_new_pack.NASU0E/_old 2020-01-17 11:59:01.028440040 +0100 +++ /var/tmp/diff_new_pack.NASU0E/_new 2020-01-17 11:59:01.028440040 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # 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.2.49 +Version:4.2.54 Release:0 Summary:YaST2 Main Package License:GPL-2.0-only @@ -117,8 +117,8 @@ Conflicts: yast2-installation < 4.2.9 # moved cfg_mail.scr Conflicts: yast2-mail < 3.1.7 -# Older packager use removed API -Conflicts: yast2-packager < 4.0.33 +# Older packager use removed API e.g. user_switched_to_details +Conflicts: yast2-packager < 4.2.44 # Older snapper does not provide machine-readable output Conflicts: snapper < 0.8.6 ++ yast2-4.2.49.tar.bz2 -> yast2-4.2.54.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.49/library/commandline/src/modules/CommandLine.rb new/yast2-4.2.54/library/commandline/src/modules/CommandLine.rb --- old/yast2-4.2.49/library/commandline/src/modules/CommandLine.rb 2019-12-19 15:11:34.0 +0100 +++ new/yast2-4.2.54/library/commandline/src/modules/CommandLine.rb 2020-01-14 09:28:04.0 +0100 @@ -360,7 +360,7 @@ # translators: error message in command line interface Error(Builtins.sformat(_("Unknown Command: %1"), command)) -return { "command" => command } +return {} end # build the list of options for the command diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.2.49/library/commandline/test/commandline_test.rb new/yast2-4.2.54/library/commandline/test/commandline_test.rb --- old/yast2-4.2.49/library/commandline/test/commandline_test.rb 2019-12-19 15:11:34.0 +0100 +++ new/yast2-4.2.54/library/commandline/test/commandline_test.rb 2020-01-14 09:28:04.0 +0100 @@ -4,6 +4,10 @@ Yast.import "CommandLine" +# If these test fail (or succeed) in mysterious ways then it may be +# wfm.rb eagerly rescuing a RSpec::Mocks::MockExpectationError +# (fixed meanwhile in ruby-bindings). In such cases see the y2log. + describe Yast::CommandLine do # restore the original modes to not accidentally influence the other tests # (these tests change the UI mode to "commandline") @@ -38,4 +42,11 @@ Yast::WFM.CallFunction("dummy_cmdline", ["crash"]) end + + it "complains about unknown commands and returns false" do +expect(Yast::CommandLine).to receive(:Print).with(/Unknown Command:/) +