Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crmsh for openSUSE:Factory checked 
in at 2025-03-21 20:22:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crmsh (Old)
 and      /work/SRC/openSUSE:Factory/.crmsh.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh"

Fri Mar 21 20:22:43 2025 rev:360 rq:1254886 version:5.0.0+20250321.169fb42c

Changes:
--------
--- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes      2025-03-19 
22:33:53.162535843 +0100
+++ /work/SRC/openSUSE:Factory/.crmsh.new.2696/crmsh.changes    2025-03-21 
20:22:59.680188748 +0100
@@ -1,0 +2,15 @@
+Thu Mar 20 23:39:49 UTC 2025 - xli...@suse.com
+
+- Update to version 5.0.0+20250321.169fb42c:
+  * Update crmsh/idmgmt.py
+  * Dev: behave: Add functional test for previous commit
+  * Fix: idmgmt: Replace hashtag('#') with point('.') in id (bsc#1239782)
+
+-------------------------------------------------------------------
+Wed Mar 19 10:25:54 UTC 2025 - xli...@suse.com
+
+- Update to version 5.0.0+20250319.39f5be9f:
+  * Dev: testcases: Adjust original testcases for previous changes
+  * Dev: cibverify: Print output of crm_verify directly
+
+-------------------------------------------------------------------

Old:
----
  crmsh-5.0.0+20250319.96e9d2ea.tar.bz2

New:
----
  crmsh-5.0.0+20250321.169fb42c.tar.bz2

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

Other differences:
------------------
++++++ crmsh.spec ++++++
--- /var/tmp/diff_new_pack.Wrsxoh/_old  2025-03-21 20:23:01.252254149 +0100
+++ /var/tmp/diff_new_pack.Wrsxoh/_new  2025-03-21 20:23:01.280255314 +0100
@@ -36,7 +36,7 @@
 Summary:        High Availability cluster command-line interface
 License:        GPL-2.0-or-later
 Group:          %{pkg_group}
-Version:        5.0.0+20250319.96e9d2ea
+Version:        5.0.0+20250321.169fb42c
 Release:        0
 URL:            http://crmsh.github.io
 Source0:        %{name}-%{version}.tar.bz2

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Wrsxoh/_old  2025-03-21 20:23:01.712273287 +0100
+++ /var/tmp/diff_new_pack.Wrsxoh/_new  2025-03-21 20:23:01.756275118 +0100
@@ -9,7 +9,7 @@
 </service>
 <service name="tar_scm">
   <param name="url">https://github.com/ClusterLabs/crmsh.git</param>
-  <param 
name="changesrevision">7d2f6fbd32e407a378d0adbaa40225fe0a16784f</param>
+  <param 
name="changesrevision">169fb42c9c02677ab20b7e7e7fdab73b91ceefcf</param>
 </service>
 </servicedata>
 (No newline at EOF)

++++++ crmsh-5.0.0+20250319.96e9d2ea.tar.bz2 -> 
crmsh-5.0.0+20250321.169fb42c.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-5.0.0+20250319.96e9d2ea/crmsh/cibverify.py 
new/crmsh-5.0.0+20250321.169fb42c/crmsh/cibverify.py
--- old/crmsh-5.0.0+20250319.96e9d2ea/crmsh/cibverify.py        2025-03-19 
06:00:35.000000000 +0100
+++ new/crmsh-5.0.0+20250321.169fb42c/crmsh/cibverify.py        2025-03-21 
00:15:06.000000000 +0100
@@ -22,11 +22,6 @@
 def verify(cib):
     rc, _, stderr = ShellUtils().get_stdout_stderr(cib_verify, 
cib.encode('utf-8'))
     for i, line in enumerate(line for line in stderr.split('\n') if line):
-        if i == 0:
-            if "warning:" in line:
-                logger.warning(_prettify(line, 0))
-            else:
-                logger.error(_prettify(line, 0))
-        else:
-            logger.error(_prettify(line, 7))
+        indent = 0 if i == 0 else 7
+        print(_prettify(line, indent))
     return rc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-5.0.0+20250319.96e9d2ea/crmsh/idmgmt.py 
new/crmsh-5.0.0+20250321.169fb42c/crmsh/idmgmt.py
--- old/crmsh-5.0.0+20250319.96e9d2ea/crmsh/idmgmt.py   2025-03-19 
06:00:35.000000000 +0100
+++ new/crmsh-5.0.0+20250321.169fb42c/crmsh/idmgmt.py   2025-03-21 
00:15:06.000000000 +0100
@@ -65,6 +65,9 @@
             node_id = pfx
     if is_used(node_id):
         node_id = _gen_free_id(node_id)
+    # The ID type in XML allows only `^[_a-zA-Z][\w\-.]*$`
+    # `crm_attribute` command replaces `#` with `.` in this case
+    node_id = node_id.replace('#', '.')
     save(node_id)
     return node_id
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-5.0.0+20250319.96e9d2ea/test/features/configure_bugs.feature 
new/crmsh-5.0.0+20250321.169fb42c/test/features/configure_bugs.feature
--- old/crmsh-5.0.0+20250319.96e9d2ea/test/features/configure_bugs.feature      
2025-03-19 06:00:35.000000000 +0100
+++ new/crmsh-5.0.0+20250321.169fb42c/test/features/configure_bugs.feature      
2025-03-21 00:15:06.000000000 +0100
@@ -73,3 +73,11 @@
     Given   Get the latest schema version
     When    Use crm configure upgrade to upgrade the schema
     Then    The schema version is the latest
+
+  @clean
+  Scenario: Edit attributes starts with a hashtag (bsc#1239782)
+    Given   Cluster service is "stopped" on "hanode1"
+    When    Run "crm cluster init -y" on "hanode1"
+    Then    Cluster service is "started" on "hanode1"
+    When    Run "crm node attribute hanode1 set cpu 2" on "hanode1"
+    Then    Run "crm -F configure filter "sed 's/cpu=/#cpu='/g"" OK on 
"hanode1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-5.0.0+20250319.96e9d2ea/test/testcases/common.excl 
new/crmsh-5.0.0+20250321.169fb42c/test/testcases/common.excl
--- old/crmsh-5.0.0+20250319.96e9d2ea/test/testcases/common.excl        
2025-03-19 06:00:35.000000000 +0100
+++ new/crmsh-5.0.0+20250321.169fb42c/test/testcases/common.excl        
2025-03-21 00:15:06.000000000 +0100
@@ -23,5 +23,5 @@
 ^\.EXT sed ["][^"]+
 ^\.EXT [a-zA-Z]+ validate-all
 ^[ ]+File ["][^"]+
-^.*\: ([0-9]+\: )?\(cluster\_status\)  warning\: Fencing and resource 
management disabled due to lack of quorum
+\(cluster\_status\)    warning\: Fencing and resource management disabled due 
to lack of quorum
 not fencing unseen nodes

Reply via email to