Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2024-05-09 12:14:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new.1880 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh" Thu May 9 12:14:48 2024 rev:333 rq:1172882 version:4.6.0+20240509.37a1c4e3 Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2024-04-30 17:29:30.894873257 +0200 +++ /work/SRC/openSUSE:Factory/.crmsh.new.1880/crmsh.changes 2024-05-09 12:15:02.073478415 +0200 @@ -1,0 +2,14 @@ +Thu May 09 07:48:15 UTC 2024 - xli...@suse.com + +- Update to version 4.6.0+20240509.37a1c4e3: + * Dev: unittest: Adjust unit test for previous commit + * Dev: utils: Add info when property is newly added + +------------------------------------------------------------------- +Tue Apr 30 01:30:45 UTC 2024 - xli...@suse.com + +- Update to version 4.6.0+20240430.5d7136c8: + * Dev: doc/website-v1: update man-4.6 (#1409) + * Fix: doc/toolchain: fix missing anchor in generated AIO doc (#1409) + +------------------------------------------------------------------- Old: ---- crmsh-4.6.0+20240430.641cb15b.tar.bz2 New: ---- crmsh-4.6.0+20240509.37a1c4e3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.786V9k/_old 2024-05-09 12:15:02.813505277 +0200 +++ /var/tmp/diff_new_pack.786V9k/_new 2024-05-09 12:15:02.817505422 +0200 @@ -36,7 +36,7 @@ Summary: High Availability cluster command-line interface License: GPL-2.0-or-later Group: %{pkg_group} -Version: 4.6.0+20240430.641cb15b +Version: 4.6.0+20240509.37a1c4e3 Release: 0 URL: http://crmsh.github.io Source0: %{name}-%{version}.tar.bz2 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.786V9k/_old 2024-05-09 12:15:02.861507019 +0200 +++ /var/tmp/diff_new_pack.786V9k/_new 2024-05-09 12:15:02.865507164 +0200 @@ -9,7 +9,7 @@ </service> <service name="tar_scm"> <param name="url">https://github.com/ClusterLabs/crmsh.git</param> - <param name="changesrevision">641cb15b7e93ed74412c833fb6767d2c3530d3b1</param> + <param name="changesrevision">2ddd571f8715bc63698fe05775cfceb15d755eda</param> </service> </servicedata> (No newline at EOF) ++++++ crmsh-4.6.0+20240430.641cb15b.tar.bz2 -> crmsh-4.6.0+20240509.37a1c4e3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.6.0+20240430.641cb15b/crmsh/utils.py new/crmsh-4.6.0+20240509.37a1c4e3/crmsh/utils.py --- old/crmsh-4.6.0+20240430.641cb15b/crmsh/utils.py 2024-04-30 01:35:26.000000000 +0200 +++ new/crmsh-4.6.0+20240509.37a1c4e3/crmsh/utils.py 2024-05-09 08:43:44.000000000 +0200 @@ -2859,11 +2859,12 @@ origin_value = get_property(property_name, property_type) if origin_value and str(origin_value) == str(property_value): return - if conditional: - if crm_msec(origin_value) >= crm_msec(property_value): - return + if conditional and crm_msec(origin_value) >= crm_msec(property_value): + return + if not origin_value and property_value: + logger.info("Set property \"%s\" in %s to %s", property_name, property_type, property_value) if origin_value and str(origin_value) != str(property_value): - logger.warning("\"{}\" in {} is set to {}, it was {}".format(property_name, property_type, property_value, origin_value)) + logger.warning("\"%s\" in %s is set to %s, it was %s", property_name, property_type, property_value, origin_value) property_sub_cmd = "property" if property_type == "crm_config" else property_type cmd = "crm configure {} {}={}".format(property_sub_cmd, property_name, property_value) sh.cluster_shell().get_stdout_or_raise_error(cmd) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.6.0+20240430.641cb15b/doc/toolchain/bin/adocxt new/crmsh-4.6.0+20240509.37a1c4e3/doc/toolchain/bin/adocxt --- old/crmsh-4.6.0+20240430.641cb15b/doc/toolchain/bin/adocxt 2024-04-30 01:35:26.000000000 +0200 +++ new/crmsh-4.6.0+20240509.37a1c4e3/doc/toolchain/bin/adocxt 2024-05-09 08:43:44.000000000 +0200 @@ -10,7 +10,7 @@ RE_FROM_CODE = re.compile(r'^\[\[([^,]+),[^,]*,From Code]]$') RE_TAG = re.compile('^cmdhelp_(.*)$') RE_SECTION_TITLE = re.compile('^=') -RE_FROM_CODE_OR_SECTION_TITLE=re.compile(r'^(?:\[\[([^,]+),[^,]*,From Code]]$|=)') +RE_ANCHOR_OR_SECTION_TITLE=re.compile(r'^(?:\[\[.*]]$|=)') TAG_EXCLUDES = { 'cmdhelp_root_report', @@ -86,7 +86,7 @@ break case _: # waiting for next section - found = RE_FROM_CODE_OR_SECTION_TITLE.match(line) + found = RE_ANCHOR_OR_SECTION_TITLE.match(line) if found: tag = None section_title = None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.6.0+20240430.641cb15b/doc/website-v1/man-4.6.adoc new/crmsh-4.6.0+20240509.37a1c4e3/doc/website-v1/man-4.6.adoc --- old/crmsh-4.6.0+20240430.641cb15b/doc/website-v1/man-4.6.adoc 2024-04-30 01:35:26.000000000 +0200 +++ new/crmsh-4.6.0+20240509.37a1c4e3/doc/website-v1/man-4.6.adoc 2024-05-09 08:43:44.000000000 +0200 @@ -1103,6 +1103,7 @@ +[[cmdhelp_cluster_health,Cluster health check]] ==== `health` Runs a larger set of tests and queries on all nodes in the cluster to @@ -1363,6 +1364,7 @@ +[[cmdhelp_cluster_rename,Rename the cluster]] ==== `rename` Rename the cluster name @@ -1407,6 +1409,7 @@ +[[cmdhelp_cluster_status,Cluster status check]] ==== `status` Reports the status for the cluster messaging layer on the local @@ -1433,6 +1436,7 @@ +[[cmdhelp_cluster_wait_for_startup,Wait for cluster to start]] ==== `wait_for_startup` Mostly useful in scripts or automated workflows, this command will @@ -2493,6 +2497,7 @@ +[[cmdhelp_node_ready,put node into ready mode]] ==== `ready` Set the node's maintenance status to `off`. The node should be @@ -2550,6 +2555,7 @@ +[[cmdhelp_node_status-attr,manage status attributes]] ==== `status-attr` Edit node attributes which are in the CIB status section, i.e., diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.6.0+20240430.641cb15b/test/unittests/test_utils.py new/crmsh-4.6.0+20240509.37a1c4e3/test/unittests/test_utils.py --- old/crmsh-4.6.0+20240430.641cb15b/test/unittests/test_utils.py 2024-04-30 01:35:26.000000000 +0200 +++ new/crmsh-4.6.0+20240509.37a1c4e3/test/unittests/test_utils.py 2024-05-09 08:43:44.000000000 +0200 @@ -1267,7 +1267,7 @@ mock_get.return_value = "start" utils.set_property("no-quorum-policy", "stop") mock_run.assert_called_once_with("crm configure property no-quorum-policy=stop") - mock_warn.assert_called_once_with('"no-quorum-policy" in crm_config is set to stop, it was start') + mock_warn.assert_called_once_with('"%s" in %s is set to %s, it was %s', 'no-quorum-policy', 'crm_config', 'stop', 'start') @mock.patch('crmsh.utils.get_property')