14
0
forked from pool/python-Fabric

- Update to version 1.4.0:

* 🐛495 Fixed documentation example showing how to subclass
    ~fabric.tasks.Task. Thanks to Brett Haydon for the catch and Mark Merritt
    for the patch.
  * 🐛410 Fixed a bug where using the ~fabric.decorators.task decorator
    inside/under another decorator such as ~fabric.decorators.hosts could cause
    that task to become invalid when invoked by name (due to how old-style vs
    new-style tasks are detected.) Thanks to Dan Colish for the initial patch.
  * :feature:559 ~fabric.contrib.project.rsync_project now allows users to
    append extra SSH-specific arguments to rsync's --rsh flag.
  * :feature:138 :ref:env.port <port> may now be written to at fabfile module
    level to set a default nonstandard port number. Previously this value was
  * :feature:3 Fabric can now load a subset of SSH config functionality
    directly from your local ~/.ssh/config if :ref:env.use_ssh_config
    <use-ssh-config> is set to True. See :ref:ssh-config for details.
    Thanks to Kirill Pinchuk for the initial patch.
  * :feature:12 Added the ability to try connecting multiple times to
    temporarily-down remote systems, instead of immediately failing. (Default
    behavior is still to only try once.) See :ref:env.timeout <timeout> and
    :ref:env.connection_attempts <connection-attempts> for controlling both
    connection timeouts and total number of attempts. ~fabric.operations.reboot
    has also been overhauled (but practically deprecated -- see its updated
    docs.)
  * :feature:474 ~fabric.tasks.execute now allows you to access the executed
    task's return values, by itself returning a dictionary whose keys are the
  * 🐛487 Overhauled the regular expression escaping performed in
    ~fabric.contrib.files.append and ~fabric.contrib.files.contains to try
    and handle more corner cases. Thanks to Neilen Marais for the patch.
  * :support:532 Reorganized and cleaned up the output of fab --help.
  * :feature:8 Added :option:--skip-bad-hosts/:ref:env.skip_bad_hosts

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=17
This commit is contained in:
Sascha Peilicke
2012-02-20 22:17:34 +00:00
committed by Git OBS Bridge
parent ea35d5edd8
commit 1792bb693f
3 changed files with 63 additions and 50 deletions

3
Fabric-1.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8a35bd3cda109e99fda5196ccf7a386cc41bf56252e17513260c740a3106f95
size 178745

View File

@@ -1,47 +1,53 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 14 11:46:00 UTC 2012 - alexandre@exatati.com.br Mon Feb 20 22:15:10 UTC 2012 - saschpe@gmx.de
- Update to 1.4.0: - Update to version 1.4.0:
- [Bug] #495: Fixed documentation example showing how to subclass Task. * :bug:495 Fixed documentation example showing how to subclass
Thanks to Brett Haydon for the catch and Mark Merritt for the patch. ~fabric.tasks.Task. Thanks to Brett Haydon for the catch and Mark Merritt
- [Bug] #410: Fixed a bug where using the task decorator inside/under for the patch.
another decorator such as hosts could cause that task to become invalid * :bug:410 Fixed a bug where using the ~fabric.decorators.task decorator
when invoked by name (due to how old-style vs new-style tasks are inside/under another decorator such as ~fabric.decorators.hosts could cause
detected.) Thanks to Dan Colish for the initial patch. that task to become invalid when invoked by name (due to how old-style vs
- [Feature] #559: rsync_project now allows users to append extra new-style tasks are detected.) Thanks to Dan Colish for the initial patch.
SSH-specific arguments to rsyncs --rsh flag. * :feature:559 ~fabric.contrib.project.rsync_project now allows users to
- [Feature] #138: env.port may now be written to at fabfile module level append extra SSH-specific arguments to rsync's --rsh flag.
to set a default nonstandard port number. Previously this value was * :feature:138 :ref:env.port <port> may now be written to at fabfile module
level to set a default nonstandard port number. Previously this value was
read-only. read-only.
- [Feature] #3: Fabric can now load a subset of SSH config functionality * :feature:3 Fabric can now load a subset of SSH config functionality
directly from your local ~/.ssh/config if env.use_ssh_config is set directly from your local ~/.ssh/config if :ref:env.use_ssh_config
to True. See Leveraging native SSH config files for details. Thanks <use-ssh-config> is set to True. See :ref:ssh-config for details.
to Kirill Pinchuk for the initial patch. Thanks to Kirill Pinchuk for the initial patch.
- [Feature] #12: Added the ability to try connecting multiple times to * :feature:12 Added the ability to try connecting multiple times to
temporarily-down remote systems, instead of immediately failing. temporarily-down remote systems, instead of immediately failing. (Default
(Default behavior is still to only try once.) See env.timeout and behavior is still to only try once.) See :ref:env.timeout <timeout> and
env.connection_attempts for controlling both connection timeouts and :ref:env.connection_attempts <connection-attempts> for controlling both
total number of attempts. reboot has also been overhauled (but connection timeouts and total number of attempts. ~fabric.operations.reboot
practically deprecated see its updated docs.) has also been overhauled (but practically deprecated -- see its updated
- [Feature] #474: execute now allows you to access the executed tasks docs.)
return values, by itself returning a dictionary whose keys are the * :feature:474 ~fabric.tasks.execute now allows you to access the executed
task's return values, by itself returning a dictionary whose keys are the
host strings executed against. host strings executed against.
- [Bug] #487: Overhauled the regular expression escaping performed in * :bug:487 Overhauled the regular expression escaping performed in
append and contains to try and handle more corner cases. Thanks to ~fabric.contrib.files.append and ~fabric.contrib.files.contains to try
Neilen Marais for the patch. and handle more corner cases. Thanks to Neilen Marais for the patch.
- [Support] #532: Reorganized and cleaned up the output of fab --help. * :support:532 Reorganized and cleaned up the output of fab --help.
- [Feature] #8: Added --skip-bad-hosts/env.skip_bad_hosts option to * :feature:8 Added :option:--skip-bad-hosts/:ref:env.skip_bad_hosts
allow skipping past temporarily down/unreachable hosts. <skip-bad-hosts> option to allow skipping past temporarily down/unreachable
- [Feature] #13: Env vars may now be set at runtime via the new hosts.
--set command-line flag. * :feature:13 Env vars may now be set at runtime via the new :option:--set
- [Feature] #506: A new output alias, commands, has been added, command-line flag.
which allows hiding remote stdout and local “running command X” * :feature:506 A new :ref:output alias <output-aliases>, commands, has
been added, which allows hiding remote stdout and local "running command X"
output lines. output lines.
- [Feature] #72: SSH agent forwarding support has made it into * :feature:72 SSH agent forwarding support has made it into Fabric's SSH
Fabrics SSH library, and hooks for using it have been added library, and hooks for using it have been added (disabled by default; use
(disabled by default; use -A or env.forward_agent to enable.) :option:-A or :ref:env.forward_agent <forward-agent> to enable.) Thanks
Thanks to Ben Davis for porting an existing Paramiko patch to ssh to Ben Davis for porting an existing Paramiko patch to ssh and providing
and providing the necessary tweak to Fabric. the necessary tweak to Fabric.
- Package AUTHORS and LICENSE
- Run testsuite and add related BuildRequires
- BuildRequire python-ssh
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 13 04:01:33 UTC 2012 - alexandre@exatati.com.br Fri Jan 13 04:01:33 UTC 2012 - alexandre@exatati.com.br
@@ -72,7 +78,7 @@ Thu Nov 24 00:51:06 UTC 2011 - alexandre@exatati.com.br
the catch. the catch.
- [Bug] #475: Allow escaping of equals signs in per-task args/kwargs. - [Bug] #475: Allow escaping of equals signs in per-task args/kwargs.
- [Bug] #450: Improve traceback display when handling - [Bug] #450: Improve traceback display when handling
``ImportError``s for dependencies. Thanks to David Wolever for the patches. ImportErrors for dependencies. Thanks to David Wolever for the patches.
- [Bug] #446: Add QNX to list of secondary-case sed targets. - [Bug] #446: Add QNX to list of secondary-case sed targets.
Thanks to Rodrigo Madruga for the tip. Thanks to Rodrigo Madruga for the tip.
- [Bug] #443: exists didnt expand tildes; now it does. Thanks to - [Bug] #443: exists didnt expand tildes; now it does. Thanks to

View File

@@ -19,23 +19,24 @@
Name: python-Fabric Name: python-Fabric
Version: 1.4.0 Version: 1.4.0
Release: 0 Release: 0
Url: http://fabfile.org
Summary: Fabric is a simple, Pythonic tool for remote execution and deployment Summary: Fabric is a simple, Pythonic tool for remote execution and deployment
License: BSD-2-Clause License: BSD-2-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Source: Fabric-%{version}.tar.bz2 Url: http://fabfile.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: Fabric-%{version}.tar.gz
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distribute BuildRequires: python-distribute
Requires: python-paramiko >= 1.7.6 BuildRequires: python-fudge
BuildRequires: python-nose
BuildRequires: python-ssh
Requires: python-distribute Requires: python-distribute
%if 0%{?suse_version} Requires: python-ssh
%py_requires BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1110 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch BuildArch: noarch
%endif %endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description %description
Fabric is a Python (2.5 or higher) library and command-line tool for Fabric is a Python (2.5 or higher) library and command-line tool for
@@ -82,9 +83,12 @@ python setup.py build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
nosetests
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc README %doc AUTHORS LICENSE README
%{_bindir}/fab %{_bindir}/fab
%{python_sitelib}/* %{python_sitelib}/*