Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crmsh for openSUSE:Factory checked 
in at 2023-11-13 22:21:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crmsh (Old)
 and      /work/SRC/openSUSE:Factory/.crmsh.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh"

Mon Nov 13 22:21:40 2023 rev:308 rq:1125416 version:4.6.0+20231113.d7b4639a

Changes:
--------
--- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes      2023-10-10 
20:58:44.534692526 +0200
+++ /work/SRC/openSUSE:Factory/.crmsh.new.17445/crmsh.changes   2023-11-13 
22:25:20.601383025 +0100
@@ -1,0 +2,13 @@
+Mon Nov 13 08:05:37 UTC 2023 - xli...@suse.com
+
+- Update to version 4.6.0+20231113.d7b4639a:
+  * Dev: behave: Adjust functional test for previous change
+  * Dev: ui_utils: Supports '=' when setting node/resource attributes
+
+-------------------------------------------------------------------
+Mon Nov 13 05:29:55 UTC 2023 - xli...@suse.com
+
+- Update to version 4.6.0+20231113.1957d80b:
+  * Dev: cmd_status: Show error correctly for crm status
+
+-------------------------------------------------------------------

Old:
----
  crmsh-4.6.0+20231010.247218bf.tar.bz2

New:
----
  crmsh-4.6.0+20231113.d7b4639a.tar.bz2

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

Other differences:
------------------
++++++ crmsh.spec ++++++
--- /var/tmp/diff_new_pack.T2xlJk/_old  2023-11-13 22:25:21.577418961 +0100
+++ /var/tmp/diff_new_pack.T2xlJk/_new  2023-11-13 22:25:21.581419109 +0100
@@ -36,7 +36,7 @@
 Summary:        High Availability cluster command-line interface
 License:        GPL-2.0-or-later
 Group:          %{pkg_group}
-Version:        4.6.0+20231010.247218bf
+Version:        4.6.0+20231113.d7b4639a
 Release:        0
 URL:            http://crmsh.github.io
 Source0:        %{name}-%{version}.tar.bz2

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.T2xlJk/_old  2023-11-13 22:25:21.629420876 +0100
+++ /var/tmp/diff_new_pack.T2xlJk/_new  2023-11-13 22:25:21.633421023 +0100
@@ -9,7 +9,7 @@
 </service>
 <service name="tar_scm">
   <param name="url">https://github.com/ClusterLabs/crmsh.git</param>
-  <param 
name="changesrevision">247218bf17eceaabc907832a93ec8fc981552c3a</param>
+  <param 
name="changesrevision">d7b4639ae3c65c69f74727a098ebbe8d41628fcf</param>
 </service>
 </servicedata>
 (No newline at EOF)

++++++ crmsh-4.6.0+20231010.247218bf.tar.bz2 -> 
crmsh-4.6.0+20231113.d7b4639a.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.6.0+20231010.247218bf/crmsh/cmd_status.py 
new/crmsh-4.6.0+20231113.d7b4639a/crmsh/cmd_status.py
--- old/crmsh-4.6.0+20231010.247218bf/crmsh/cmd_status.py       2023-10-10 
03:34:48.000000000 +0200
+++ new/crmsh-4.6.0+20231113.d7b4639a/crmsh/cmd_status.py       2023-11-13 
08:35:49.000000000 +0100
@@ -88,7 +88,7 @@
             _crm_mon = "%s -1" % (prog)
 
     status_cmd = "%s %s" % (_crm_mon, opts)
-    return shell.get_stdout(utils.add_sudo(status_cmd))
+    return shell.get_stdout_stderr(utils.add_sudo(status_cmd))
 
 
 def cmd_status(args):
@@ -117,9 +117,9 @@
     extra = ' '.join(opts.get(arg, arg) for arg in args)
     if not args:
         extra = "-r"
-    rc, s = crm_mon(extra)
+    rc, s, err = crm_mon(extra)
     if rc != 0:
-        raise IOError("crm_mon (rc=%d): %s" % (rc, s))
+        raise IOError(f"{err} (rc={rc})")
 
     utils.page_string(CrmMonFilter()(s))
     return True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.6.0+20231010.247218bf/crmsh/ui_utils.py 
new/crmsh-4.6.0+20231113.d7b4639a/crmsh/ui_utils.py
--- old/crmsh-4.6.0+20231010.247218bf/crmsh/ui_utils.py 2023-10-10 
03:34:48.000000000 +0200
+++ new/crmsh-4.6.0+20231113.d7b4639a/crmsh/ui_utils.py 2023-11-13 
08:35:49.000000000 +0100
@@ -49,6 +49,8 @@
     '''
     try:
         attr_cmd = _get_attr_cmd(attr_ext_commands, subcmd)
+        if re.search("\w+=\w+", attr):
+            attr, value = attr.split('=')
         return _dispatch_attr_cmd(cmd, attr_cmd, rsc, subcmd, attr, value)
     except ValueError as msg:
         cmdline = [rsc, subcmd, attr]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.6.0+20231010.247218bf/test/features/configure_bugs.feature 
new/crmsh-4.6.0+20231113.d7b4639a/test/features/configure_bugs.feature
--- old/crmsh-4.6.0+20231010.247218bf/test/features/configure_bugs.feature      
2023-10-10 03:34:48.000000000 +0200
+++ new/crmsh-4.6.0+20231113.d7b4639a/test/features/configure_bugs.feature      
2023-11-13 08:35:49.000000000 +0100
@@ -15,9 +15,12 @@
     And     Online nodes are "hanode1 hanode2"
 
     # mask password by default
-    When    Run "crm node utilization hanode1 set password qwertyui" on 
"hanode1"
+    When    Run "crm node utilization hanode1 set password=qwertyui" on 
"hanode1"
     When    Try "crm configure show|grep password|grep qwertyui"
     Then    Expected return code is "1"
+    When    Run "crm node utilization hanode2 set password testingpass" on 
"hanode1"
+    When    Try "crm configure show|grep password|grep testingpass"
+    Then    Expected return code is "1"
     And     Show crm configure
 
     # mask password and ip address

Reply via email to