pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-foolscap Update to 0.6.3. Note that 0.6.1 real...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/29aa816b178d
branches:  trunk
changeset: 604201:29aa816b178d
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri May 25 11:22:58 2012 +0000

description:
Update to 0.6.3.  Note that 0.6.1 really does not work with Twisted in
pkgsrc.

* Release 0.6.3 (05-Jan-2012)

** Compatibility Fixes

This release really is compatible with Twisted-11.1.0 . The previous Foolscap
release (0.6.2), despite the changes described below, suffered mild
incompatibilites with the new TLS code in the final Twisted-11.1.0 release.
The most common symptom is a DirtyReactorError in unit tests that use
Tub.stopService() in their tearDown() method (to coordinate shutdown and
cleanup). Another symptom is tests overlapping with one another, causing
port-already-in-use errors.

This incompatibility did not generally affect normal operation, but only
impacted unit tests.

** Other Changes

The Debian packaging tools in misc/ were removed, as they were pretty stale.
These days, both Debian and Ubuntu make their own Foolscap packages.


* Release 0.6.2 (15-Oct-2011)

** Compatibility Fixes

Foolscap-0.6.2 will be compatible with future versions of Twisted (>11.0.0).
The 0.6.1 release will not: a TLS change went into Twisted trunk recently
(after the 11.0.0 release) which broke Foolscap 0.6.1 and earlier.

This release also fixes a minor incompatibility with newer versions of
OpenSSL (0.9.8o was ok, 1.0.0d was not), which caused errors in the test
suite (but normal runtime operation) on e.g. Ubuntu 11.10 "Oneiric".

** Git-Over-Foolscap Tools

The doc/examples/ directory contains two executables (git-foolscap and
git-remote-pb) which, when placed in your $PATH, make it easy to use Foolscap
to access a Git repository. These use the flappserver/flappclient tools and
let you build a FURL that provides read-only or read-write access to a single
repository. This is somewhat like providing SSH access to a repo, but with a
much smaller scope: the client will only be able to manipulate the one
repository, and gets no other authority on the target system. See the tool's
inline comments for usage instructions.

** Minor Fixes

Using 'flappserver upload-file FILE1 FILE2 FILE3..' (with three or more
files) now correctly uploads all files: previously it only managed to upload
the first and last.

'flappserver' argument handling was improved slightly. A workaround was added
to handle a Twisted stdio-closing bug which affected flappserver's
run-command function and broke the git-foolscap tool. Several changes were
made for the benefit of Windows: log filenames all use hyphens (not colons),
log filtering tools tolerate the lack of atomic-rename filesystem operations,
and some unixisms in the test suite were removed.

The Tub.setLogGathererFURL() method can now accept a list (iterable) of log
gatherer FURLs, not just a single one.

diffstat:

 net/py-foolscap/Makefile |  5 +++--
 net/py-foolscap/PLIST    |  5 ++++-
 net/py-foolscap/distinfo |  8 ++++----
 3 files changed, 11 insertions(+), 7 deletions(-)

diffs (51 lines):

diff -r 9c4e965d6f13 -r 29aa816b178d net/py-foolscap/Makefile
--- a/net/py-foolscap/Makefile  Fri May 25 11:12:22 2012 +0000
+++ b/net/py-foolscap/Makefile  Fri May 25 11:22:58 2012 +0000
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.4 2011/02/25 09:47:27 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2012/05/25 11:22:58 gdt Exp $
 #
 
-DISTNAME=      foolscap-0.6.1
+DISTNAME=      foolscap-0.6.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/.tar//}
 CATEGORIES=    net python
 MASTER_SITES=  http://pypi.python.org/packages/source/f/foolscap/
 
 MAINTAINER=    kamel.derouiche%gmail.com@localhost
+#MAINTAINER+=  gdt%NetBSD.org@localhost
 HOMEPAGE=      http://foolscap.lothar.com/trac
 COMMENT=       Foolscap contains an RPC protocol for Twisted
 LICENSE=       mit
diff -r 9c4e965d6f13 -r 29aa816b178d net/py-foolscap/PLIST
--- a/net/py-foolscap/PLIST     Fri May 25 11:12:22 2012 +0000
+++ b/net/py-foolscap/PLIST     Fri May 25 11:22:58 2012 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2011/01/29 15:46:58 gdt Exp $
+@comment $NetBSD: PLIST,v 1.3 2012/05/25 11:22:58 gdt Exp $
 bin/flappclient
 bin/flappserver
 bin/flogtool
@@ -175,6 +175,9 @@
 ${PYSITELIB}/foolscap/test/__init__.py
 ${PYSITELIB}/foolscap/test/__init__.pyc
 ${PYSITELIB}/foolscap/test/__init__.pyo
+${PYSITELIB}/foolscap/test/apphelper.py
+${PYSITELIB}/foolscap/test/apphelper.pyc
+${PYSITELIB}/foolscap/test/apphelper.pyo
 ${PYSITELIB}/foolscap/test/bench_banana.py
 ${PYSITELIB}/foolscap/test/bench_banana.pyc
 ${PYSITELIB}/foolscap/test/bench_banana.pyo
diff -r 9c4e965d6f13 -r 29aa816b178d net/py-foolscap/distinfo
--- a/net/py-foolscap/distinfo  Fri May 25 11:12:22 2012 +0000
+++ b/net/py-foolscap/distinfo  Fri May 25 11:22:58 2012 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2011/01/29 15:46:58 gdt Exp $
+$NetBSD: distinfo,v 1.3 2012/05/25 11:22:58 gdt Exp $
 
-SHA1 (foolscap-0.6.1.tar.gz) = bb1a9de492a007abbf9c355e07b3b79c4fa0319e
-RMD160 (foolscap-0.6.1.tar.gz) = 5b296e6f0e5500e5121c4c468663127a4def1673
-Size (foolscap-0.6.1.tar.gz) = 486798 bytes
+SHA1 (foolscap-0.6.3.tar.gz) = 04650dc4221e2e1aabd7c71c90efeddbce3d4435
+RMD160 (foolscap-0.6.3.tar.gz) = 2eb41303fc31dce46716a790d6ff35ff3dbe8884
+Size (foolscap-0.6.3.tar.gz) = 475403 bytes



Home | Main Index | Thread Index | Old Index