Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package crmsh for openSUSE:Factory checked in at 2022-07-22 19:21:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crmsh (Old) and /work/SRC/openSUSE:Factory/.crmsh.new.21925 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crmsh" Fri Jul 22 19:21:19 2022 rev:249 rq:990604 version:4.4.0+20220711.573ebb98 Changes: -------- --- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes 2022-07-09 17:05:34.728930322 +0200 +++ /work/SRC/openSUSE:Factory/.crmsh.new.21925/crmsh.changes 2022-07-22 19:21:31.784689089 +0200 @@ -1,0 +2,6 @@ +Mon Jul 11 06:59:28 UTC 2022 - xli...@suse.com + +- Update to version 4.4.0+20220711.573ebb98: + * Dev: parallax: Add strict option to avoid raise exception when set to False + +------------------------------------------------------------------- Old: ---- crmsh-4.4.0+20220708.6ed6b56f.tar.bz2 New: ---- crmsh-4.4.0+20220711.573ebb98.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crmsh.spec ++++++ --- /var/tmp/diff_new_pack.BbupPH/_old 2022-07-22 19:21:32.228689775 +0200 +++ /var/tmp/diff_new_pack.BbupPH/_new 2022-07-22 19:21:32.232689781 +0200 @@ -36,7 +36,7 @@ Summary: High Availability cluster command-line interface License: GPL-2.0-or-later Group: %{pkg_group} -Version: 4.4.0+20220708.6ed6b56f +Version: 4.4.0+20220711.573ebb98 Release: 0 URL: http://crmsh.github.io Source0: %{name}-%{version}.tar.bz2 ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.BbupPH/_old 2022-07-22 19:21:32.264689831 +0200 +++ /var/tmp/diff_new_pack.BbupPH/_new 2022-07-22 19:21:32.268689837 +0200 @@ -9,7 +9,7 @@ </service> <service name="tar_scm"> <param name="url">https://github.com/ClusterLabs/crmsh.git</param> - <param name="changesrevision">6ed6b56f3466172c3375dd28ff68492d18bebcb8</param> + <param name="changesrevision">573ebb9879786925d04ce19017e06179936d833d</param> </service> </servicedata> (No newline at EOF) ++++++ crmsh-4.4.0+20220708.6ed6b56f.tar.bz2 -> crmsh-4.4.0+20220711.573ebb98.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/crmsh-4.4.0+20220708.6ed6b56f/crmsh/parallax.py new/crmsh-4.4.0+20220711.573ebb98/crmsh/parallax.py --- old/crmsh-4.4.0+20220708.6ed6b56f/crmsh/parallax.py 2022-07-08 07:57:36.000000000 +0200 +++ new/crmsh-4.4.0+20220711.573ebb98/crmsh/parallax.py 2022-07-11 08:41:22.000000000 +0200 @@ -14,10 +14,11 @@ # slurp: Copies files from a set of remote hosts to local folders """ def __init__(self, nodes, cmd=None, localdir=None, filename=None, - src=None, dst=None, askpass=False, ssh_options=None): + src=None, dst=None, askpass=False, ssh_options=None, strict=True): self.nodes = nodes self.askpass = askpass self.ssh_options = ssh_options + self.strict = strict # used for call self.cmd = cmd @@ -45,7 +46,9 @@ def handle(self, results): for host, result in results: if isinstance(result, parallax.Error): - raise ValueError("Failed on {}: {}".format(host, result)) + exception_str = "Failed on {}: {}".format(host, result) + if self.strict: + raise ValueError(exception_str) return results def call(self): @@ -62,7 +65,7 @@ return self.handle(list(results.items())) -def parallax_call(nodes, cmd, askpass=False, ssh_options=None): +def parallax_call(nodes, cmd, askpass=False, ssh_options=None, strict=True): """ Executes the given command on a set of hosts, collecting the output nodes: a set of hosts @@ -71,11 +74,11 @@ ssh_options: Extra options to pass to SSH Returns [(host, (rc, stdout, stdin)), ...] or ValueError exception """ - p = Parallax(nodes, cmd=cmd, askpass=askpass, ssh_options=ssh_options) + p = Parallax(nodes, cmd=cmd, askpass=askpass, ssh_options=ssh_options, strict=strict) return p.call() -def parallax_slurp(nodes, localdir, filename, askpass=False, ssh_options=None): +def parallax_slurp(nodes, localdir, filename, askpass=False, ssh_options=None, strict=True): """ Copies from the remote node to the local node nodes: a set of hosts @@ -86,11 +89,11 @@ Returns [(host, (rc, stdout, stdin, localpath)), ...] or ValueError exception """ p = Parallax(nodes, localdir=localdir, filename=filename, - askpass=askpass, ssh_options=ssh_options) + askpass=askpass, ssh_options=ssh_options, strict=strict) return p.slurp() -def parallax_copy(nodes, src, dst, askpass=False, ssh_options=None): +def parallax_copy(nodes, src, dst, askpass=False, ssh_options=None, strict=True): """ Copies from the local node to a set of remote hosts nodes: a set of hosts @@ -100,5 +103,5 @@ ssh_options: Extra options to pass to SSH Returns [(host, (rc, stdout, stdin)), ...] or ValueError exception """ - p = Parallax(nodes, src=src, dst=dst, askpass=askpass, ssh_options=ssh_options) + p = Parallax(nodes, src=src, dst=dst, askpass=askpass, ssh_options=ssh_options, strict=strict) return p.copy()