Hello community, here is the log from the commit of package yast2-users for openSUSE:Leap:15.2 checked in at 2020-02-04 17:54:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/yast2-users (Old) and /work/SRC/openSUSE:Leap:15.2/.yast2-users.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-users" Tue Feb 4 17:54:25 2020 rev:51 rq:768915 version:4.2.8 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/yast2-users/yast2-users.changes 2020-01-15 16:32:30.632886554 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.yast2-users.new.26092/yast2-users.changes 2020-02-04 17:54:44.384760871 +0100 @@ -1,0 +2,13 @@ +Fri Jan 24 15:43:42 UTC 2020 - Josef Reidinger <[email protected]> + +- Fix return code for `yast2 users list` and `yast2 users show` + (bsc#1143516) +- 4.2.8 + +------------------------------------------------------------------- +Thu Jan 16 09:46:36 UTC 2020 - Ludwig Nussel <[email protected]> + +- Disable block device selector in WSL (boo#1154238) +- 4.2.7 + +------------------------------------------------------------------- Old: ---- yast2-users-4.2.6.tar.bz2 New: ---- yast2-users-4.2.8.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-users.spec ++++++ --- /var/tmp/diff_new_pack.Y7UEYH/_old 2020-02-04 17:54:44.772761105 +0100 +++ /var/tmp/diff_new_pack.Y7UEYH/_new 2020-02-04 17:54:44.776761108 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-users # -# 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-users -Version: 4.2.6 +Version: 4.2.8 Release: 0 Summary: YaST2 - User and Group Configuration License: GPL-2.0-only @@ -33,8 +33,8 @@ BuildRequires: perl-Digest-SHA1 BuildRequires: perl-XML-Writer BuildRequires: update-desktop-files -# CFA::ShadowConfig -BuildRequires: yast2 >= 4.2.39 +# CLI readonly +BuildRequires: yast2 >= 4.2.57 BuildRequires: yast2-core-devel BuildRequires: yast2-devtools >= 4.2.2 BuildRequires: yast2-perl-bindings @@ -59,8 +59,8 @@ # this forces using yast2-ldap with correct LDAP object names (fate#303596) Requires: yast2-ldap >= 3.1.2 -# CFA::ShadowConfig -Requires: yast2 >= 4.2.39 +# CLI readonly +Requires: yast2 >= 4.2.57 # cryptsha256, cryptsha516 Requires: yast2-core >= 2.21.0 ++++++ yast2-users-4.2.6.tar.bz2 -> yast2-users-4.2.8.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-4.2.6/package/yast2-users.changes new/yast2-users-4.2.8/package/yast2-users.changes --- old/yast2-users-4.2.6/package/yast2-users.changes 2019-11-27 10:45:26.000000000 +0100 +++ new/yast2-users-4.2.8/package/yast2-users.changes 2020-01-24 17:14:52.000000000 +0100 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Fri Jan 24 15:43:42 UTC 2020 - Josef Reidinger <[email protected]> + +- Fix return code for `yast2 users list` and `yast2 users show` + (bsc#1143516) +- 4.2.8 + +------------------------------------------------------------------- +Thu Jan 16 09:46:36 UTC 2020 - Ludwig Nussel <[email protected]> + +- Disable block device selector in WSL (boo#1154238) +- 4.2.7 + +------------------------------------------------------------------- Mon Nov 25 15:37:16 UTC 2019 - Imobach Gonzalez Sosa <[email protected]> - bsc#1155735, bsc#1157541: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-4.2.6/package/yast2-users.spec new/yast2-users-4.2.8/package/yast2-users.spec --- old/yast2-users-4.2.6/package/yast2-users.spec 2019-11-27 10:45:26.000000000 +0100 +++ new/yast2-users-4.2.8/package/yast2-users.spec 2020-01-24 17:14:52.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-users -Version: 4.2.6 +Version: 4.2.8 Release: 0 Summary: YaST2 - User and Group Configuration License: GPL-2.0-only @@ -33,8 +33,8 @@ BuildRequires: perl-Digest-SHA1 BuildRequires: perl-XML-Writer BuildRequires: update-desktop-files -# CFA::ShadowConfig -BuildRequires: yast2 >= 4.2.39 +# CLI readonly +BuildRequires: yast2 >= 4.2.57 BuildRequires: yast2-core-devel BuildRequires: yast2-devtools >= 4.2.2 BuildRequires: yast2-perl-bindings @@ -59,8 +59,8 @@ # this forces using yast2-ldap with correct LDAP object names (fate#303596) Requires: yast2-ldap >= 3.1.2 -# CFA::ShadowConfig -Requires: yast2 >= 4.2.39 +# CLI readonly +Requires: yast2 >= 4.2.57 # cryptsha256, cryptsha516 Requires: yast2-core >= 2.21.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-4.2.6/src/clients/users.rb new/yast2-users-4.2.8/src/clients/users.rb --- old/yast2-users-4.2.6/src/clients/users.rb 2019-11-27 10:45:26.000000000 +0100 +++ new/yast2-users-4.2.8/src/clients/users.rb 2020-01-24 17:14:52.000000000 +0100 @@ -119,14 +119,16 @@ # help text for unknown parameter name "non_strict_help" => _( "User parameters that should be listed" - ) + ), + "readonly" => true }, "show" => { - "handler" => fun_ref(method(:UserShowHandler), "boolean (map)"), + "handler" => fun_ref(method(:UserShowHandler), "boolean (map)"), # translators: command line help text for show action - "help" => _( + "help" => _( "Show information of selected user" - ) + ), + "readonly" => true }, "add" => { "handler" => fun_ref( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-4.2.6/src/include/users/cmdline.rb new/yast2-users-4.2.8/src/include/users/cmdline.rb --- old/yast2-users-4.2.6/src/include/users/cmdline.rb 2019-11-27 10:45:26.000000000 +0100 +++ new/yast2-users-4.2.8/src/include/users/cmdline.rb 2020-01-24 17:14:52.000000000 +0100 @@ -130,7 +130,7 @@ # --------------------------------- cmd-line handlers for users ------------ # List users - # @return [Boolean] false + # @return [Boolean] true def UsersListHandler(options) options = deep_copy(options) sets = [] @@ -189,7 +189,7 @@ CommandLine.Print(out) end end - false # do not call Write... + true end # Show one user information @@ -273,7 +273,7 @@ CommandLine.Print(Builtins.sformat("%1\n\t%2", key, svalue)) end - false # do not call Write... + true end # Add user diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-users-4.2.6/src/lib/users/widgets/public_key_selector.rb new/yast2-users-4.2.8/src/lib/users/widgets/public_key_selector.rb --- old/yast2-users-4.2.6/src/lib/users/widgets/public_key_selector.rb 2019-11-27 10:45:26.000000000 +0100 +++ new/yast2-users-4.2.8/src/lib/users/widgets/public_key_selector.rb 2020-01-24 17:14:52.000000000 +0100 @@ -25,6 +25,7 @@ require "yast2/popup" require "tmpdir" +Yast.import "Arch" Yast.import "Label" Yast.import "UI" Yast.import "UsersSimple" @@ -153,15 +154,20 @@ # # @return [Yast::Term] def blk_device_selector - VBox( - Left( - HBox( - blk_devices_combo_box, - PushButton(Id(:refresh), Opt(:notify), Yast::Label.RefreshButton) - ) - ), + # no block devices in WSL + if Yast::Arch.is_wsl Left(PushButton(Id(:browse), Opt(:notify), Yast::Label.BrowseButton)) - ) + else + VBox( + Left( + HBox( + blk_devices_combo_box, + PushButton(Id(:refresh), Opt(:notify), Yast::Label.RefreshButton) + ) + ), + Left(PushButton(Id(:browse), Opt(:notify), Yast::Label.BrowseButton)) + ) + end end # UI which shows the public key content @@ -234,6 +240,9 @@ # # @return [String] Key content def read_key + # /mnt has windows drives mounted by default + return read_key_from("/mnt") if Yast::Arch.is_wsl + select_blk_device dir = Dir.mktmpdir begin
