1.1 --- a/PKG-INFO Wed Aug 29 23:29:00 2007 +0000 1.2 +++ b/PKG-INFO Wed Aug 29 23:29:35 2007 +0000 1.3 @@ -1,12 +1,12 @@ 1.4 Metadata-Version: 1.1 1.5 Name: WebStack 1.6 -Version: 1.2.4 1.7 +Version: 1.2.5 1.8 Author: Paul Boddie 1.9 Author-email: paul at boddie org uk 1.10 Maintainer: Paul Boddie 1.11 Maintainer-email: paul at boddie org uk 1.12 Home-page: http://www.boddie.org.uk/python/WebStack.html 1.13 -Download-url: http://www.boddie.org.uk/python/downloads/WebStack-1.2.4.tar.gz 1.14 +Download-url: http://www.boddie.org.uk/python/downloads/WebStack-1.2.5.tar.gz 1.15 Summary: Common API for Python Web applications 1.16 License: LGPL 1.17 Description: WebStack is a package which provides a common API for Python Web applications
2.1 --- a/README.txt Wed Aug 29 23:29:00 2007 +0000 2.2 +++ b/README.txt Wed Aug 29 23:29:35 2007 +0000 2.3 @@ -34,6 +34,12 @@ 2.4 2.5 See the docs/supported-frameworks.html document for more information. 2.6 2.7 +New in WebStack 1.2.5 (Changes since WebStack 1.2.4) 2.8 +---------------------------------------------------- 2.9 + 2.10 + * Fixed mod_python status codes using a solution proposed by John Krukoff. 2.11 + * Added Ubuntu Feisty (7.04) package support. 2.12 + 2.13 New in WebStack 1.2.4 (Changes since WebStack 1.2.3) 2.14 ---------------------------------------------------- 2.15 2.16 @@ -394,9 +400,10 @@ 2.17 2.18 1. Create new package directories under packages if necessary. 2.19 2. Make a symbolic link in the distribution's root directory to keep the 2.20 - Debian tools happy: 2.21 + Debian tools happy. For example: 2.22 2.23 ln -s packages/ubuntu-hoary/python2.4-webstack/debian/ 2.24 + ln -s packages/ubuntu-feisty/python-webstack/debian/ 2.25 2.26 3. Run the package builder: 2.27
3.1 --- a/WebStack/__init__.py Wed Aug 29 23:29:00 2007 +0000 3.2 +++ b/WebStack/__init__.py Wed Aug 29 23:29:35 2007 +0000 3.3 @@ -20,6 +20,6 @@ 3.4 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 3.5 """ 3.6 3.7 -__version__ = "1.2.4" 3.8 +__version__ = "1.2.5" 3.9 3.10 # vim: tabstop=4 expandtab shiftwidth=4
4.1 --- a/docs/index.html Wed Aug 29 23:29:00 2007 +0000 4.2 +++ b/docs/index.html Wed Aug 29 23:29:35 2007 +0000 4.3 @@ -10,19 +10,19 @@ 4.4 using the WebStack framework.</p> 4.5 <h2>Setting Up</h2> 4.6 <p>First of all, let us assume that the WebStack distribution has been 4.7 -unpacked and now sits in the <code>WebStack-1.2.4</code> directory.</p> 4.8 +unpacked and now sits in the <code>WebStack-1.2.5</code> directory.</p> 4.9 <p>Before we begin, we must make sure that the WebStack package is 4.10 available 4.11 to Python. The easiest way to do this is to change into the 4.12 -<code>WebStack-1.2.4</code> directory and to run the <code>setup.py</code> 4.13 +<code>WebStack-1.2.5</code> directory and to run the <code>setup.py</code> 4.14 script provided with the version of Python you are going to be using 4.15 (possibly as a privileged user like <code>root</code>):</p> 4.16 -<pre>cd WebStack-1.2.4<br />python setup.py install</pre> 4.17 +<pre>cd WebStack-1.2.5<br />python setup.py install</pre> 4.18 <p>If you don't want to install WebStack in this way, or if you can't 4.19 do so 4.20 because you don't have <code>root</code> privileges, you can just make 4.21 sure 4.22 -that the <code>WebStack-1.2.4</code> directory sits on your 4.23 +that the <code>WebStack-1.2.5</code> directory sits on your 4.24 <code>PYTHONPATH</code>.</p> 4.25 <h2>Supported Frameworks</h2><p>With the help of Python's built-in 4.26 standard library, WebStack can run without any additional software, but 4.27 @@ -30,7 +30,7 @@ 4.28 run WebStack applications in other environments.</p><ul><li><a href="supported-frameworks.html">Supported Frameworks</a></li></ul><h2>Viewing the API Documentation</h2> 4.29 <p>The API documentation for use in conjunction with this 4.30 guide can be found inside the <a href="../apidocs/index.html"><code>apidocs</code></a> 4.31 -directory within the <code>WebStack-1.2.4</code> directory. Of course, 4.32 +directory within the <code>WebStack-1.2.5</code> directory. Of course, 4.33 it is always possible to view WebStack's API documentation 4.34 within Python by importing modules (such as <a href="../apidocs/public/WebStack.Generic-module.html"><code>WebStack.Generic</code></a>) 4.35 and using Python's built-in <code>help</code> function.</p>
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/packages/ubuntu-feisty/python-webstack/debian/changelog Wed Aug 29 23:29:35 2007 +0000 5.3 @@ -0,0 +1,132 @@ 5.4 +webstack (1.2.5-0ubuntu1) feisty; urgency=low 5.5 + 5.6 + * Fixed mod_python status codes using a solution proposed 5.7 + by John Krukoff. 5.8 + * Added Ubuntu Feisty (7.04) package support. 5.9 + 5.10 + -- Paul Boddie <paul@boddie.org.uk> Thu, 30 Aug 2007 01:12:11 +0200 5.11 + 5.12 +webstack (1.2.4-0ubuntu1) hoary; urgency=low 5.13 + 5.14 + * Made a SessionDirectoryRepository which uses directories 5.15 + for data produced by the shelve module, rather than 5.16 + attempting to manipulate files produced by the shelve 5.17 + module, since the details of such files may differ 5.18 + between environments: a situation noticed by John 5.19 + Krukoff in an environment without the bsddb module 5.20 + installed. 5.21 + 5.22 + -- Paul Boddie <paul@boddie.org.uk> Wed, 13 Jun 2007 01:49:34 +0200 5.23 + 5.24 +webstack (1.2.3-0ubuntu1) hoary; urgency=low 5.25 + 5.26 + * Fixed inadvertent OpenSSL dependency, noticed by John 5.27 + Krukoff. 5.28 + 5.29 + -- Paul Boddie <paul@boddie.org.uk> Mon, 16 Apr 2007 16:41:33 +0200 5.30 + 5.31 +webstack (1.2.2-0ubuntu1) hoary; urgency=low 5.32 + 5.33 + * Added an EncodingSelector class for the setting of 5.34 + default encodings on transactions. 5.35 + * Added some documentation about path processing 5.36 + strategies. 5.37 + * Added a secure variant of the BaseHTTPServer provided in 5.38 + the adapter for BaseHTTPRequestHandler. 5.39 + 5.40 + -- Paul Boddie <paul@boddie.org.uk> Wed, 28 Feb 2007 20:47:05 +0100 5.41 + 5.42 +webstack (1.2.1-0ubuntu1) hoary; urgency=low 5.43 + 5.44 + * Fixed mod_python get_content_type method. 5.45 + * Fixed LoginResource form field processing; changed the 5.46 + field type to password. 5.47 + * Exposed LoginResource and LoginRedirectResource page 5.48 + contents as attributes. 5.49 + * Added documentation about extending 5.50 + LoginRedirectResource and using PathSelector to remember 5.51 + an application's root path. 5.52 + * Changed handle_errors to 1 throughout the examples. 5.53 + 5.54 + -- Paul Boddie <paul@boddie.org.uk> Thu, 18 Jan 2007 23:39:11 +0100 5.55 + 5.56 +webstack (1.2-0ubuntu1) hoary; urgency=low 5.57 + 5.58 + * Added support for Django. 5.59 + * Fixed documentation about the representation of file 5.60 + upload fields. 5.61 + * Changed mod_python, Java Servlet and Webware (> 0.8.1) 5.62 + deployment to use a deploy function instead of more 5.63 + complicated configuration mechanisms. 5.64 + * Improved mod_python deployment documentation and tools 5.65 + so that cleaner application paths/URLs can now be used. 5.66 + * Moved user and path_info default definitions into 5.67 + WebStack.Generic as class attributes. 5.68 + * Fixed encoding usage issues with path fields when using 5.69 + get_fields in a Zope environment. 5.70 + * Added a FileResource class to WebStack.Resources.Static. 5.71 + * Made DirectoryRepository convert filenames to Unicode in 5.72 + all cases. 5.73 + * Renamed the Apache and Java Servlet tools, making them 5.74 + scripts which are installed by setup.py. 5.75 + * Fixed CGI content charsets and languages support. 5.76 + * Fixed CGI cookie output. 5.77 + * Added URL overriding in the LoginRedirectResource. 5.78 + * Exposed a get_target function from 5.79 + WebStack.Resources.Login in order to better support 5.80 + alternative login resources. 5.81 + * Added improved error reporting for BaseHTTPRequestHandler, 5.82 + CGI, Django and WSGI. 5.83 + * Added a traverse_path method to the Transaction class. 5.84 + * Made a path_encoding alias for urlencoding in the 5.85 + initialisation of WebStack.Resources.ResourceMap 5.86 + objects. 5.87 + * Added a Selectors module to WebStack.Resources in order 5.88 + to support common resource selection patterns. 5.89 + 5.90 + -- Paul Boddie <paul@boddie.org.uk> Sat, 6 Jan 2007 21:29:09 +0100 5.91 + 5.92 +webstack (1.1.2-0ubuntu1) hoary; urgency=low 5.93 + 5.94 + * Fixed missing import in WebStack.Repositories.Directory. 5.95 + 5.96 + -- Paul Boddie <paul@boddie.org.uk> Tue, 10 Jan 2006 16:07:52 +0100 5.97 + 5.98 +webstack (1.1.1-0ubuntu1) hoary; urgency=low 5.99 + 5.100 + * Fixed update_path to handle the root path properly. 5.101 + 5.102 + -- Paul Boddie <paul@boddie.org.uk> Tue, 6 Dec 2005 02:39:02 +0100 5.103 + 5.104 +webstack (1.1-0ubuntu1) hoary; urgency=low 5.105 + 5.106 + * Added a Repositories package to provide session-like 5.107 + support for different kinds of storage. 5.108 + * Added an explicit filesystem encoding to the Calendar 5.109 + example and adopted the DirectoryRepository from the 5.110 + Repositories package. 5.111 + * Added get_path_without_info, update_path and redirect 5.112 + methods to the Transaction class. 5.113 + * Added get_attributes (attribute support) to the 5.114 + Transaction class. 5.115 + * Added a values method to Helpers.Session.Wrapper. 5.116 + * Fixed get_processed_virtual_path_info (to match from 5.117 + right to left). 5.118 + * Improved/fixed exception handling in the adapters so 5.119 + that transactions are committed as the final act of an 5.120 + adapter experiencing an unhandled exception. This should 5.121 + result in session stores being closed properly. 5.122 + * Changed the Helpers.Session.SessionStore to use 5.123 + DirectoryRepository. 5.124 + * Made the "not found" behaviour of DirectoryResource more 5.125 + configurable. 5.126 + * Added documentation for MapResource and DirectoryResource. 5.127 + * Fixed the distribution names in the Ubuntu changelog. 5.128 + 5.129 + -- Paul Boddie <paul@boddie.org.uk> Mon, 14 Nov 2005 15:39:55 +0100 5.130 + 5.131 +webstack (1.0-0ubuntu1) hoary; urgency=low 5.132 + 5.133 + * New upstream release. 5.134 + 5.135 + -- Paul Boddie <paul@boddie.org.uk> Tue, 16 Aug 2005 19:19:05 +0200
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/packages/ubuntu-feisty/python-webstack/debian/compat Wed Aug 29 23:29:35 2007 +0000 6.3 @@ -0,0 +1,1 @@ 6.4 +5
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/packages/ubuntu-feisty/python-webstack/debian/control Wed Aug 29 23:29:35 2007 +0000 7.3 @@ -0,0 +1,19 @@ 7.4 +Source: webstack 7.5 +Section: python 7.6 +Priority: optional 7.7 +Maintainer: Paul Boddie <paul@boddie.org.uk> 7.8 +Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-epydoc (>= 2.1-6ubuntu1) 7.9 +XS-Python-Version: all 7.10 +Standards-Version: 3.7.2.1 7.11 + 7.12 +Package: python-webstack 7.13 +Architecture: all 7.14 +Depends: ${python:Depends} 7.15 +Suggests: python-django (>= 0.95), jython, libapache2-mod-python, python-twisted-web, zope2.9 7.16 +Conflicts: python2.4-webstack (<< 1.2.5-0ubuntu1) 7.17 +Replaces: python2.4-webstack (<< 1.2.5-0ubuntu1) 7.18 +XB-Python-Version: ${python:Versions} 7.19 +Description: Common API for Web applications 7.20 + WebStack is a package which provides a common API for Python Web applications 7.21 + supporting BaseHTTPRequestHandler, CGI, Django, Jython/Java Servlet API, mod_python, 7.22 + Twisted, Webware and Zope 2.
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/packages/ubuntu-feisty/python-webstack/debian/docs Wed Aug 29 23:29:35 2007 +0000 8.3 @@ -0,0 +1,6 @@ 8.4 +README.txt 8.5 +apidocs 8.6 +docs 8.7 +examples 8.8 +patches 8.9 +tools
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/packages/ubuntu-feisty/python-webstack/debian/rules Wed Aug 29 23:29:35 2007 +0000 9.3 @@ -0,0 +1,66 @@ 9.4 +#!/usr/bin/make -f 9.5 +# A debian/rules file using python-central. 9.6 + 9.7 +# Uncomment this to turn on verbose mode. 9.8 +#export DH_VERBOSE=1 9.9 + 9.10 +export DH_COMPAT=5 9.11 + 9.12 +PYVERS=$(shell pyversions -vr) 9.13 + 9.14 +build: build-stamp 9.15 + 9.16 +build-stamp: $(PYVERS:%=build-python%) build-python-scripts 9.17 + touch $@ 9.18 + 9.19 +build-python%: 9.20 + python$* setup.py build_py 9.21 + touch $@ 9.22 + 9.23 +build-python-scripts: 9.24 + python setup.py build_scripts 9.25 + touch $@ 9.26 + 9.27 +clean: 9.28 + dh_testdir 9.29 + dh_testroot 9.30 + rm -f *-stamp 9.31 + rm -rf build 9.32 + find . -name '*.py[co]' | xargs rm -f 9.33 + dh_clean 9.34 + 9.35 +install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts 9.36 + # Script fixing would appear here. 9.37 + 9.38 +install-prereq: 9.39 + dh_testdir 9.40 + dh_testroot 9.41 + dh_clean -k 9.42 + 9.43 +install-python%: 9.44 + python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-webstack/usr/lib/python$*/site-packages 9.45 + 9.46 +install-python-scripts: 9.47 + python setup.py install_scripts --install-dir $(CURDIR)/debian/python-webstack/usr/bin 9.48 + 9.49 +# Build architecture-independent files here. 9.50 + 9.51 +binary-indep: install 9.52 + tools/apidocs.sh 9.53 + dh_testdir -i 9.54 + dh_testroot -i 9.55 + dh_pycentral -i 9.56 + dh_installdocs -i 9.57 + dh_fixperms -i 9.58 + dh_installdeb -i 9.59 + dh_gencontrol -i 9.60 + dh_md5sums -i 9.61 + dh_builddeb -i 9.62 + 9.63 +# Build architecture-dependent files here. 9.64 + 9.65 +binary-arch: 9.66 + # Empty rule for this package. 9.67 + 9.68 +binary: binary-indep binary-arch 9.69 +.PHONY: build clean binary-arch binary-indep binary install
10.1 --- a/packages/ubuntu-hoary/python2.4-webstack/debian/changelog Wed Aug 29 23:29:00 2007 +0000 10.2 +++ b/packages/ubuntu-hoary/python2.4-webstack/debian/changelog Wed Aug 29 23:29:35 2007 +0000 10.3 @@ -1,3 +1,11 @@ 10.4 +webstack (1.2.5-0ubuntu1) hoary; urgency=low 10.5 + 10.6 + * Fixed mod_python status codes using a solution proposed 10.7 + by John Krukoff. 10.8 + * Added Ubuntu Feisty (7.04) package support. 10.9 + 10.10 + -- Paul Boddie <paul@boddie.org.uk> Thu, 30 Aug 2007 01:10:21 +0200 10.11 + 10.12 webstack (1.2.4-0ubuntu1) hoary; urgency=low 10.13 10.14 * Made a SessionDirectoryRepository which uses directories