Hello community,

here is the log from the commit of package yast2-users for openSUSE:Factory 
checked in at 2020-01-30 09:40:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-users (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-users.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-users"

Thu Jan 30 09:40:31 2020 rev:227 rq:766965 version:4.2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-users/yast2-users.changes  2020-01-17 
16:03:22.096382741 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-users.new.26092/yast2-users.changes       
2020-01-30 09:41:24.965490596 +0100
@@ -1,0 +2,7 @@
+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
+
+-------------------------------------------------------------------

Old:
----
  yast2-users-4.2.7.tar.bz2

New:
----
  yast2-users-4.2.8.tar.bz2

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

Other differences:
------------------
++++++ yast2-users.spec ++++++
--- /var/tmp/diff_new_pack.IkHhka/_old  2020-01-30 09:41:25.613490942 +0100
+++ /var/tmp/diff_new_pack.IkHhka/_new  2020-01-30 09:41:25.617490945 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-users
-Version:        4.2.7
+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.7.tar.bz2 -> yast2-users-4.2.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.2.7/package/yast2-users.changes 
new/yast2-users-4.2.8/package/yast2-users.changes
--- old/yast2-users-4.2.7/package/yast2-users.changes   2020-01-16 
10:57:59.000000000 +0100
+++ new/yast2-users-4.2.8/package/yast2-users.changes   2020-01-24 
17:14:52.000000000 +0100
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+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)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-users-4.2.7/package/yast2-users.spec 
new/yast2-users-4.2.8/package/yast2-users.spec
--- old/yast2-users-4.2.7/package/yast2-users.spec      2020-01-16 
10:57:59.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.7
+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.7/src/clients/users.rb 
new/yast2-users-4.2.8/src/clients/users.rb
--- old/yast2-users-4.2.7/src/clients/users.rb  2020-01-16 10:57:59.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.7/src/include/users/cmdline.rb 
new/yast2-users-4.2.8/src/include/users/cmdline.rb
--- old/yast2-users-4.2.7/src/include/users/cmdline.rb  2020-01-16 
10:57:59.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


Reply via email to