Hello community, here is the log from the commit of package python-Fabric for openSUSE:Factory checked in at 2012-11-25 13:35:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Fabric (Old) and /work/SRC/openSUSE:Factory/.python-Fabric.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Fabric", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/python-Fabric/python-Fabric.changes 2012-11-14 16:53:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-Fabric.new/python-Fabric.changes 2012-11-25 13:35:34.000000000 +0100 @@ -1,0 +2,10 @@ +Fri Nov 16 11:30:26 UTC 2012 - [email protected] + +- Update to 1.5.1: + - [Bug] #776: Fixed serious-but-non-obvious bug in direct-tcpip + driven gatewaying (e.g. that triggered by -g or env.gateway.) + Should work correctly now. + - [Bug] #771: Sphinx autodoc helper unwrap_tasks didn’t play + nice with @task(name=xxx) in some situations. This has been fixed. + +------------------------------------------------------------------- Old: ---- Fabric-1.5.0.tar.bz2 New: ---- Fabric-1.5.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Fabric.spec ++++++ --- /var/tmp/diff_new_pack.yLTOp9/_old 2012-11-25 13:35:35.000000000 +0100 +++ /var/tmp/diff_new_pack.yLTOp9/_new 2012-11-25 13:35:35.000000000 +0100 @@ -17,7 +17,7 @@ Name: python-Fabric -Version: 1.5.0 +Version: 1.5.1 Release: 0 Summary: Fabric is a simple, Pythonic tool for remote execution and deployment License: BSD-2-Clause ++++++ Fabric-1.5.0.tar.bz2 -> Fabric-1.5.1.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Fabric-1.5.0/Fabric.egg-info/PKG-INFO new/Fabric-1.5.1/Fabric.egg-info/PKG-INFO --- old/Fabric-1.5.0/Fabric.egg-info/PKG-INFO 2012-11-07 01:09:06.000000000 +0100 +++ new/Fabric-1.5.1/Fabric.egg-info/PKG-INFO 2012-11-15 22:07:34.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: Fabric -Version: 1.5.0 +Version: 1.5.1 Summary: Fabric is a simple, Pythonic tool for remote execution and deployment. Home-page: http://fabfile.org Author: Jeff Forcier @@ -8,7 +8,7 @@ License: UNKNOWN Description: To find out what's new in this version of Fabric, please see `the changelog - <http://docs.fabfile.org/en/1.5.0/changelog.html>`_. + <http://docs.fabfile.org/en/1.5/changelog.html>`_. You can also install the `in-development version <https://github.com/fabric/fabric/tarball/master#egg=fabric-dev>`_ using diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Fabric-1.5.0/PKG-INFO new/Fabric-1.5.1/PKG-INFO --- old/Fabric-1.5.0/PKG-INFO 2012-11-07 01:09:07.000000000 +0100 +++ new/Fabric-1.5.1/PKG-INFO 2012-11-15 22:07:35.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: Fabric -Version: 1.5.0 +Version: 1.5.1 Summary: Fabric is a simple, Pythonic tool for remote execution and deployment. Home-page: http://fabfile.org Author: Jeff Forcier @@ -8,7 +8,7 @@ License: UNKNOWN Description: To find out what's new in this version of Fabric, please see `the changelog - <http://docs.fabfile.org/en/1.5.0/changelog.html>`_. + <http://docs.fabfile.org/en/1.5/changelog.html>`_. You can also install the `in-development version <https://github.com/fabric/fabric/tarball/master#egg=fabric-dev>`_ using diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Fabric-1.5.0/docs/changelog.rst new/Fabric-1.5.1/docs/changelog.rst --- old/Fabric-1.5.0/docs/changelog.rst 2012-11-07 01:08:32.000000000 +0100 +++ new/Fabric-1.5.1/docs/changelog.rst 2012-11-15 22:06:46.000000000 +0100 @@ -25,11 +25,14 @@ Changelog ========= +* :release:`1.5.1 <2012-11-15>` +* :bug:`776` Fixed serious-but-non-obvious bug in direct-tcpip driven + gatewaying (e.g. that triggered by ``-g`` or ``env.gateway``.) Should work + correctly now. +* :bug:`771` Sphinx autodoc helper `~fabric.docs.unwrap_tasks` didn't play nice + with ``@task(name=xxx)`` in some situations. This has been fixed. * :release:`1.5.0 <2012-11-06>` * :release:`1.4.4 <2012-11-06>` -* :feature:`684` Update how `~fabric.decorators.task` wraps task functions to - preserve additional metadata; this allows decorated functions to play nice - with Sphinx autodoc. Thanks to Jaka Hudoklin for catch & patch. * :feature:`38` (also :issue:`698`) Implement both SSH-level and ``ProxyCommand``-based gatewaying for SSH traffic. (This is distinct from tunneling non-SSH traffic over the SSH connection, which is :issue:`78` and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Fabric-1.5.0/fabric/docs.py new/Fabric-1.5.1/fabric/docs.py --- old/Fabric-1.5.0/fabric/docs.py 2012-11-07 01:08:17.000000000 +0100 +++ new/Fabric-1.5.1/fabric/docs.py 2012-11-08 00:30:06.000000000 +0100 @@ -37,10 +37,20 @@ .. seealso:: `~fabric.tasks.WrappedCallableTask`, `~fabric.decorators.task` """ + set_tasks = [] for name, obj in vars(module).items(): if isinstance(obj, WrappedCallableTask): - setattr(module, name, obj.wrapped) + setattr(module, obj.name, obj.wrapped) + # Handle situation where a task's real name shadows a builtin. + # If the builtin comes after the task in vars().items(), the object + # we just setattr'd above will get re-hidden :( + set_tasks.append(obj.name) + # In the same vein, "privately" named wrapped functions whose task + # name is public, needs to get renamed so autodoc picks it up. + obj.wrapped.func_name = obj.name else: + if name in set_tasks: + continue has_docstring = getattr(obj, '__doc__', False) if hide_nontasks and has_docstring and not name.startswith('_'): setattr(module, '_%s' % name, obj) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Fabric-1.5.0/fabric/network.py new/Fabric-1.5.1/fabric/network.py --- old/Fabric-1.5.0/fabric/network.py 2012-11-07 01:08:17.000000000 +0100 +++ new/Fabric-1.5.1/fabric/network.py 2012-11-15 22:03:04.000000000 +0100 @@ -80,7 +80,7 @@ """ Force a new connection to ``key`` host string. """ - from fabric.state import env + from fabric.state import env, output user, host, port = normalize(key) key = normalize_to_string(key) sock = None @@ -89,7 +89,9 @@ gateway = normalize_to_string(env.gateway) # Ensure initial gateway connection if gateway not in self: - self[gateway] = connect(user, host, port) + if output.debug: + print "Creating new gateway connection to %r" % gateway + self[gateway] = connect(*normalize(gateway)) # Now we should have an open gw connection and can ask it for a # direct-tcpip channel to the real target. (Bypass our own # __getitem__ override to avoid hilarity.) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Fabric-1.5.0/fabric/operations.py new/Fabric-1.5.1/fabric/operations.py --- old/Fabric-1.5.0/fabric/operations.py 2012-11-07 01:08:17.000000000 +0100 +++ new/Fabric-1.5.1/fabric/operations.py 2012-11-15 20:20:49.000000000 +0100 @@ -838,7 +838,8 @@ .. versionadded:: 1.0 """ - _execute(default_channel(), command, True, True, True) + _execute(channel=default_channel(), command=command, pty=True, + combine_stderr=True, invoke_shell=True) @contextmanager @@ -875,8 +876,10 @@ print("[%s] %s: %s" % (env.host_string, which, given_command)) # Actual execution, stdin/stdout/stderr handling, and termination - result_stdout, result_stderr, status = _execute(default_channel(), wrapped_command, - pty, combine_stderr, stdout, stderr) + result_stdout, result_stderr, status = _execute( + channel=default_channel(), command=wrapped_command, pty=pty, + combine_stderr=combine_stderr, invoke_shell=False, stdout=stdout, + stderr=stderr) # Assemble output string out = _AttributeString(result_stdout) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Fabric-1.5.0/fabric/version.py new/Fabric-1.5.1/fabric/version.py --- old/Fabric-1.5.0/fabric/version.py 2012-11-07 01:08:17.000000000 +0100 +++ new/Fabric-1.5.1/fabric/version.py 2012-11-15 22:06:55.000000000 +0100 @@ -9,7 +9,7 @@ from os.path import abspath, dirname -VERSION = (1, 5, 0, 'final', 0) +VERSION = (1, 5, 1, 'final', 0) def git_sha(): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Fabric-1.5.0/setup.py new/Fabric-1.5.1/setup.py --- old/Fabric-1.5.0/setup.py 2012-11-07 01:08:17.000000000 +0100 +++ new/Fabric-1.5.1/setup.py 2012-11-07 03:46:54.000000000 +0100 @@ -9,7 +9,6 @@ readme = open('README.rst').read() -v = get_version('short') long_description = """ To find out what's new in this version of Fabric, please see `the changelog <http://docs.fabfile.org/en/%s/changelog.html>`_. @@ -25,7 +24,7 @@ ---- For more information, please see the Fabric website or execute ``fab --help``. -""" % (v, readme) +""" % (get_version('branch'), readme) setup( name='Fabric', -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
