Hello community, here is the log from the commit of package python-parallax.14734 for openSUSE:Leap:15.1:Update checked in at 2020-10-29 10:24:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.1:Update/python-parallax.14734 (Old) and /work/SRC/openSUSE:Leap:15.1:Update/.python-parallax.14734.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parallax.14734" Thu Oct 29 10:24:10 2020 rev:1 rq:844043 version:1.0.6 Changes: -------- New Changes file: --- /dev/null 2020-10-22 01:51:33.322291705 +0200 +++ /work/SRC/openSUSE:Leap:15.1:Update/.python-parallax.14734.new.3463/python-parallax.changes 2020-10-29 10:24:10.557979214 +0100 @@ -0,0 +1,117 @@ +------------------------------------------------------------------- +Tue May 19 02:32:03 UTC 2020 - XinLiang <[email protected]> + +- Add ssh_key option used by -i option of ssh and scp(bsc#1169581) + Add patch 0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch + +------------------------------------------------------------------- +Wed Apr 1 08:54:34 UTC 2020 - Kristoffer Gronlund <[email protected]> + +- Release 1.0.6 +- Replace preexec_fn as start_new_session +- No need to mask signals for subprocess call + +------------------------------------------------------------------- +Thu Aug 22 07:50:06 UTC 2019 - Kristoffer Gronlund <[email protected]> + +- Release 1.0.5 +- Surpress warning messages when needed (bsc#1146748) +- Fix assert_ DeprecationWarning + +------------------------------------------------------------------- +Tue May 28 07:12:30 UTC 2019 - Kristoffer Gronlund <[email protected]> + +- Work around hidden python packaging magic (bsc#1131136) + +------------------------------------------------------------------- +Tue Dec 18 09:40:49 UTC 2018 - [email protected] + +- Obsolete old python-parallax package (bsc#1103832) + +------------------------------------------------------------------- +Mon Dec 10 12:30:31 UTC 2018 - Tomáš Chvátal <[email protected]> + +- Fix Source URL +- Fix fdupes call + +------------------------------------------------------------------- +Fri Jul 27 14:41:09 UTC 2018 - [email protected] + +- Use noun phrase in summary. + +------------------------------------------------------------------- +Thu Jun 28 14:32:46 UTC 2018 - [email protected] + +- Release 1.0.4 +- Fix super call for python2 (bsc#1099514) + +------------------------------------------------------------------- +Fri Nov 3 08:14:07 UTC 2017 - [email protected] + +- Release 1.0.3 +- Add to_ascii function to convert byte message to str (bsc#1066330) + +------------------------------------------------------------------- +Mon Aug 28 12:57:29 UTC 2017 - [email protected] + +- Release 1.0.2 +- Switch to new singlespec packaging + +------------------------------------------------------------------- +Thu Dec 8 17:14:48 UTC 2016 - [email protected] + +- Fix broken build for non-SUSE distributions (again) + +------------------------------------------------------------------- +Mon Aug 15 14:51:56 UTC 2016 - [email protected] + +- Fix update-alternatives implementation. + +------------------------------------------------------------------- +Wed Apr 27 08:49:44 UTC 2016 - [email protected] + +- Fix broken package build for non-SUSE distributions + +------------------------------------------------------------------- +Mon Mar 7 08:48:52 UTC 2016 - [email protected] + +- Add alternatives entry for parallax-askpass + +------------------------------------------------------------------- +Fri Jun 12 15:26:42 UTC 2015 - [email protected] + +- Release 1.0.1 + + The host list expander function was not unicode-safe (bsc#934594) + + Clean up and update documentation for Options.inline (#1) + + Fix python3 error using askpass option (krig/parallel-ssh#1) + +------------------------------------------------------------------- +Thu Feb 12 16:47:44 UTC 2015 - [email protected] + +- Release 1.0.0a3 + - Be more accepting with format of limit argument + - Fix incorrect name of options attribute + +------------------------------------------------------------------- +Sat Jan 3 12:54:21 UTC 2015 - [email protected] + +- Fix license to be SPDX compliant; applied license is BSD3 derived + +------------------------------------------------------------------- +Thu Dec 25 17:29:27 UTC 2014 - [email protected] + +- Release 1.0.0a2 + - Prepend hostname on each line when -P is set (fate#318220) + - Fix quiet option after API patch + +------------------------------------------------------------------- +Thu Nov 20 07:33:26 UTC 2014 - [email protected] + +- Revised packaging +- Removed dependency on xz + +------------------------------------------------------------------- +Wed Oct 15 14:23:38 UTC 2014 - [email protected] + +- Initial release. + New: ---- 0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch parallax-1.0.6.tar.gz python-parallax.changes python-parallax.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-parallax.spec ++++++ # # spec file for package python-parallax # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-parallax Version: 1.0.6 Release: 0 Summary: Python module for multi-node SSH command execution and file copy License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/krig/parallax/ Source: https://files.pythonhosted.org/packages/source/p/parallax/parallax-%{version}.tar.gz Patch1: 0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros %define oldpython python Obsoletes: %{oldpython}-parallax < %{version} Requires: openssh BuildArch: noarch %if 0%{?suse_version} Requires(post): update-alternatives Requires(postun): update-alternatives %else Requires(post): %{_sbindir}/update-alternatives Requires(postun): %{_sbindir}/update-alternatives %endif %python_subpackages %description Parallax SSH provides an interface to executing commands on multiple nodes at once using SSH. It also provides commands for sending and receiving files to multiple nodes using SCP. %prep %setup -q -n parallax-%{version} %patch1 -p1 %build %python_build %install %python_install %python_clone -a %{buildroot}%{_bindir}/parallax-askpass %python_expand %fdupes %{buildroot}%{$python_sitelib} %post %python_install_alternative parallax-askpass %postun %python_uninstall_alternative parallax-askpass %files %{python_files} %doc AUTHORS README.md %license COPYING %{python_sitelib}/parallax %{python_sitelib}/parallax-%{version}*.egg-info %python_alternative %{_bindir}/parallax-askpass %changelog ++++++ 0001-Add-ssh_key-option-used-by-i-option-of-ssh-scp.patch ++++++ >From f5ccee901d346873adbe5d979b5b70d0ba029570 Mon Sep 17 00:00:00 2001 From: liangxin1300 <[email protected]> Date: Fri, 24 Apr 2020 07:05:13 +0800 Subject: [PATCH] Add ssh_key option used by -i option of ssh/scp --- parallax/__init__.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/parallax/__init__.py b/parallax/__init__.py index fc1a6e7..1008ca2 100644 --- a/parallax/__init__.py +++ b/parallax/__init__.py @@ -87,6 +87,7 @@ class Options(object): askpass = False # Ask for a password outdir = None # Write stdout to a file per host in this directory errdir = None # Write stderr to a file per host in this directory + ssh_key = None # Specific ssh key used by ssh/scp -i option ssh_options = [] # Extra options to pass to SSH ssh_extra = [] # Extra arguments to pass to SSH verbose = False # Warning and diagnostic messages @@ -138,19 +139,21 @@ class _CallOutputBuilder(object): return ret -def _build_call_cmd(host, port, user, cmdline, options, extra): +def _build_call_cmd(host, port, user, cmdline, opts): cmd = ['ssh', host, '-o', 'NumberOfPasswordPrompts=1', '-o', 'SendEnv=PARALLAX_NODENUM PARALLAX_HOST'] - if options: - for opt in options: + if opts.ssh_options: + for opt in opts.ssh_options: cmd += ['-o', opt] if user: cmd += ['-l', user] if port: cmd += ['-p', port] - if extra: - cmd.extend(extra) + if opts.ssh_key: + cmd += ['-i', opts.ssh_key] + if opts.ssh_extra: + cmd.extend(opts.ssh_extra) if cmdline: cmd.append(cmdline) return cmd @@ -173,9 +176,7 @@ def call(hosts, cmdline, opts=Options()): warn_message=opts.warn_message, callbacks=_CallOutputBuilder()) for host, port, user in _expand_host_port_user(hosts): - cmd = _build_call_cmd(host, port, user, cmdline, - options=opts.ssh_options, - extra=opts.ssh_extra) + cmd = _build_call_cmd(host, port, user, cmdline, opts) t = Task(host, port, user, cmd, stdin=opts.input_stream, verbose=opts.verbose, @@ -219,6 +220,8 @@ def _build_copy_cmd(host, port, user, src, dst, opts): cmd += ['-P', port] if opts.recursive: cmd.append('-r') + if opts.ssh_key: + cmd += ['-i', opts.ssh_key] if opts.ssh_extra: cmd.extend(opts.ssh_extra) cmd.append(src) @@ -312,6 +315,8 @@ def _build_slurp_cmd(host, port, user, src, dst, opts): cmd += ['-P', port] if opts.recursive: cmd.append('-r') + if opts.ssh_key: + cmd += ['-i', opts.ssh_key] if opts.ssh_extra: cmd.extend(opts.ssh_extra) if user: -- 2.21.1
