# HG changeset patch
# User paulb
# Date 1188430175 0
# Node ID c5a4185bbd09ce552e9f5671d9b81f26275a01b7
# Parent 63c36d7db625d28351fcc14953cbc105232d77e4
[project @ 2007-08-29 23:29:13 by paulb]
Updated release information.
diff -r 63c36d7db625 -r c5a4185bbd09 PKG-INFO
--- a/PKG-INFO Wed Aug 29 23:29:00 2007 +0000
+++ b/PKG-INFO Wed Aug 29 23:29:35 2007 +0000
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: WebStack
-Version: 1.2.4
+Version: 1.2.5
Author: Paul Boddie
Author-email: paul at boddie org uk
Maintainer: Paul Boddie
Maintainer-email: paul at boddie org uk
Home-page: http://www.boddie.org.uk/python/WebStack.html
-Download-url: http://www.boddie.org.uk/python/downloads/WebStack-1.2.4.tar.gz
+Download-url: http://www.boddie.org.uk/python/downloads/WebStack-1.2.5.tar.gz
Summary: Common API for Python Web applications
License: LGPL
Description: WebStack is a package which provides a common API for Python Web applications
diff -r 63c36d7db625 -r c5a4185bbd09 README.txt
--- a/README.txt Wed Aug 29 23:29:00 2007 +0000
+++ b/README.txt Wed Aug 29 23:29:35 2007 +0000
@@ -34,6 +34,12 @@
See the docs/supported-frameworks.html document for more information.
+New in WebStack 1.2.5 (Changes since WebStack 1.2.4)
+----------------------------------------------------
+
+ * Fixed mod_python status codes using a solution proposed by John Krukoff.
+ * Added Ubuntu Feisty (7.04) package support.
+
New in WebStack 1.2.4 (Changes since WebStack 1.2.3)
----------------------------------------------------
@@ -394,9 +400,10 @@
1. Create new package directories under packages if necessary.
2. Make a symbolic link in the distribution's root directory to keep the
- Debian tools happy:
+ Debian tools happy. For example:
ln -s packages/ubuntu-hoary/python2.4-webstack/debian/
+ ln -s packages/ubuntu-feisty/python-webstack/debian/
3. Run the package builder:
diff -r 63c36d7db625 -r c5a4185bbd09 WebStack/__init__.py
--- a/WebStack/__init__.py Wed Aug 29 23:29:00 2007 +0000
+++ b/WebStack/__init__.py Wed Aug 29 23:29:35 2007 +0000
@@ -20,6 +20,6 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
"""
-__version__ = "1.2.4"
+__version__ = "1.2.5"
# vim: tabstop=4 expandtab shiftwidth=4
diff -r 63c36d7db625 -r c5a4185bbd09 docs/index.html
--- a/docs/index.html Wed Aug 29 23:29:00 2007 +0000
+++ b/docs/index.html Wed Aug 29 23:29:35 2007 +0000
@@ -10,19 +10,19 @@
using the WebStack framework.
Setting Up
First of all, let us assume that the WebStack distribution has been
-unpacked and now sits in the WebStack-1.2.4
directory.
+unpacked and now sits in the WebStack-1.2.5
directory.
Before we begin, we must make sure that the WebStack package is
available
to Python. The easiest way to do this is to change into the
-WebStack-1.2.4
directory and to run the setup.py
+WebStack-1.2.5
directory and to run the setup.py
script provided with the version of Python you are going to be using
(possibly as a privileged user like root
):
-cd WebStack-1.2.4
python setup.py install
+cd WebStack-1.2.5
python setup.py install
If you don't want to install WebStack in this way, or if you can't
do so
because you don't have root
privileges, you can just make
sure
-that the WebStack-1.2.4
directory sits on your
+that the WebStack-1.2.5
directory sits on your
PYTHONPATH
.
Supported Frameworks
With the help of Python's built-in
standard library, WebStack can run without any additional software, but
@@ -30,7 +30,7 @@
run WebStack applications in other environments.
Viewing the API Documentation
The API documentation for use in conjunction with this
guide can be found inside the apidocs
-directory within the WebStack-1.2.4
directory. Of course,
+directory within the WebStack-1.2.5
directory. Of course,
it is always possible to view WebStack's API documentation
within Python by importing modules (such as WebStack.Generic
)
and using Python's built-in help
function.
diff -r 63c36d7db625 -r c5a4185bbd09 packages/ubuntu-feisty/python-webstack/debian/changelog
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/ubuntu-feisty/python-webstack/debian/changelog Wed Aug 29 23:29:35 2007 +0000
@@ -0,0 +1,132 @@
+webstack (1.2.5-0ubuntu1) feisty; urgency=low
+
+ * Fixed mod_python status codes using a solution proposed
+ by John Krukoff.
+ * Added Ubuntu Feisty (7.04) package support.
+
+ -- Paul Boddie Thu, 30 Aug 2007 01:12:11 +0200
+
+webstack (1.2.4-0ubuntu1) hoary; urgency=low
+
+ * Made a SessionDirectoryRepository which uses directories
+ for data produced by the shelve module, rather than
+ attempting to manipulate files produced by the shelve
+ module, since the details of such files may differ
+ between environments: a situation noticed by John
+ Krukoff in an environment without the bsddb module
+ installed.
+
+ -- Paul Boddie Wed, 13 Jun 2007 01:49:34 +0200
+
+webstack (1.2.3-0ubuntu1) hoary; urgency=low
+
+ * Fixed inadvertent OpenSSL dependency, noticed by John
+ Krukoff.
+
+ -- Paul Boddie Mon, 16 Apr 2007 16:41:33 +0200
+
+webstack (1.2.2-0ubuntu1) hoary; urgency=low
+
+ * Added an EncodingSelector class for the setting of
+ default encodings on transactions.
+ * Added some documentation about path processing
+ strategies.
+ * Added a secure variant of the BaseHTTPServer provided in
+ the adapter for BaseHTTPRequestHandler.
+
+ -- Paul Boddie Wed, 28 Feb 2007 20:47:05 +0100
+
+webstack (1.2.1-0ubuntu1) hoary; urgency=low
+
+ * Fixed mod_python get_content_type method.
+ * Fixed LoginResource form field processing; changed the
+ field type to password.
+ * Exposed LoginResource and LoginRedirectResource page
+ contents as attributes.
+ * Added documentation about extending
+ LoginRedirectResource and using PathSelector to remember
+ an application's root path.
+ * Changed handle_errors to 1 throughout the examples.
+
+ -- Paul Boddie Thu, 18 Jan 2007 23:39:11 +0100
+
+webstack (1.2-0ubuntu1) hoary; urgency=low
+
+ * Added support for Django.
+ * Fixed documentation about the representation of file
+ upload fields.
+ * Changed mod_python, Java Servlet and Webware (> 0.8.1)
+ deployment to use a deploy function instead of more
+ complicated configuration mechanisms.
+ * Improved mod_python deployment documentation and tools
+ so that cleaner application paths/URLs can now be used.
+ * Moved user and path_info default definitions into
+ WebStack.Generic as class attributes.
+ * Fixed encoding usage issues with path fields when using
+ get_fields in a Zope environment.
+ * Added a FileResource class to WebStack.Resources.Static.
+ * Made DirectoryRepository convert filenames to Unicode in
+ all cases.
+ * Renamed the Apache and Java Servlet tools, making them
+ scripts which are installed by setup.py.
+ * Fixed CGI content charsets and languages support.
+ * Fixed CGI cookie output.
+ * Added URL overriding in the LoginRedirectResource.
+ * Exposed a get_target function from
+ WebStack.Resources.Login in order to better support
+ alternative login resources.
+ * Added improved error reporting for BaseHTTPRequestHandler,
+ CGI, Django and WSGI.
+ * Added a traverse_path method to the Transaction class.
+ * Made a path_encoding alias for urlencoding in the
+ initialisation of WebStack.Resources.ResourceMap
+ objects.
+ * Added a Selectors module to WebStack.Resources in order
+ to support common resource selection patterns.
+
+ -- Paul Boddie Sat, 6 Jan 2007 21:29:09 +0100
+
+webstack (1.1.2-0ubuntu1) hoary; urgency=low
+
+ * Fixed missing import in WebStack.Repositories.Directory.
+
+ -- Paul Boddie Tue, 10 Jan 2006 16:07:52 +0100
+
+webstack (1.1.1-0ubuntu1) hoary; urgency=low
+
+ * Fixed update_path to handle the root path properly.
+
+ -- Paul Boddie Tue, 6 Dec 2005 02:39:02 +0100
+
+webstack (1.1-0ubuntu1) hoary; urgency=low
+
+ * Added a Repositories package to provide session-like
+ support for different kinds of storage.
+ * Added an explicit filesystem encoding to the Calendar
+ example and adopted the DirectoryRepository from the
+ Repositories package.
+ * Added get_path_without_info, update_path and redirect
+ methods to the Transaction class.
+ * Added get_attributes (attribute support) to the
+ Transaction class.
+ * Added a values method to Helpers.Session.Wrapper.
+ * Fixed get_processed_virtual_path_info (to match from
+ right to left).
+ * Improved/fixed exception handling in the adapters so
+ that transactions are committed as the final act of an
+ adapter experiencing an unhandled exception. This should
+ result in session stores being closed properly.
+ * Changed the Helpers.Session.SessionStore to use
+ DirectoryRepository.
+ * Made the "not found" behaviour of DirectoryResource more
+ configurable.
+ * Added documentation for MapResource and DirectoryResource.
+ * Fixed the distribution names in the Ubuntu changelog.
+
+ -- Paul Boddie Mon, 14 Nov 2005 15:39:55 +0100
+
+webstack (1.0-0ubuntu1) hoary; urgency=low
+
+ * New upstream release.
+
+ -- Paul Boddie Tue, 16 Aug 2005 19:19:05 +0200
diff -r 63c36d7db625 -r c5a4185bbd09 packages/ubuntu-feisty/python-webstack/debian/compat
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/ubuntu-feisty/python-webstack/debian/compat Wed Aug 29 23:29:35 2007 +0000
@@ -0,0 +1,1 @@
+5
diff -r 63c36d7db625 -r c5a4185bbd09 packages/ubuntu-feisty/python-webstack/debian/control
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/ubuntu-feisty/python-webstack/debian/control Wed Aug 29 23:29:35 2007 +0000
@@ -0,0 +1,19 @@
+Source: webstack
+Section: python
+Priority: optional
+Maintainer: Paul Boddie
+Build-Depends: debhelper (>= 5.0.38), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-epydoc (>= 2.1-6ubuntu1)
+XS-Python-Version: all
+Standards-Version: 3.7.2.1
+
+Package: python-webstack
+Architecture: all
+Depends: ${python:Depends}
+Suggests: python-django (>= 0.95), jython, libapache2-mod-python, python-twisted-web, zope2.9
+Conflicts: python2.4-webstack (<< 1.2.5-0ubuntu1)
+Replaces: python2.4-webstack (<< 1.2.5-0ubuntu1)
+XB-Python-Version: ${python:Versions}
+Description: Common API for Web applications
+ WebStack is a package which provides a common API for Python Web applications
+ supporting BaseHTTPRequestHandler, CGI, Django, Jython/Java Servlet API, mod_python,
+ Twisted, Webware and Zope 2.
diff -r 63c36d7db625 -r c5a4185bbd09 packages/ubuntu-feisty/python-webstack/debian/docs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/ubuntu-feisty/python-webstack/debian/docs Wed Aug 29 23:29:35 2007 +0000
@@ -0,0 +1,6 @@
+README.txt
+apidocs
+docs
+examples
+patches
+tools
diff -r 63c36d7db625 -r c5a4185bbd09 packages/ubuntu-feisty/python-webstack/debian/rules
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/ubuntu-feisty/python-webstack/debian/rules Wed Aug 29 23:29:35 2007 +0000
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+# A debian/rules file using python-central.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DH_COMPAT=5
+
+PYVERS=$(shell pyversions -vr)
+
+build: build-stamp
+
+build-stamp: $(PYVERS:%=build-python%) build-python-scripts
+ touch $@
+
+build-python%:
+ python$* setup.py build_py
+ touch $@
+
+build-python-scripts:
+ python setup.py build_scripts
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f *-stamp
+ rm -rf build
+ find . -name '*.py[co]' | xargs rm -f
+ dh_clean
+
+install: build install-prereq $(PYVERS:%=install-python%) install-python-scripts
+ # Script fixing would appear here.
+
+install-prereq:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+
+install-python%:
+ python$* setup.py install_lib --install-dir $(CURDIR)/debian/python-webstack/usr/lib/python$*/site-packages
+
+install-python-scripts:
+ python setup.py install_scripts --install-dir $(CURDIR)/debian/python-webstack/usr/bin
+
+# Build architecture-independent files here.
+
+binary-indep: install
+ tools/apidocs.sh
+ dh_testdir -i
+ dh_testroot -i
+ dh_pycentral -i
+ dh_installdocs -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+
+binary-arch:
+ # Empty rule for this package.
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-arch binary-indep binary install
diff -r 63c36d7db625 -r c5a4185bbd09 packages/ubuntu-hoary/python2.4-webstack/debian/changelog
--- a/packages/ubuntu-hoary/python2.4-webstack/debian/changelog Wed Aug 29 23:29:00 2007 +0000
+++ b/packages/ubuntu-hoary/python2.4-webstack/debian/changelog Wed Aug 29 23:29:35 2007 +0000
@@ -1,3 +1,11 @@
+webstack (1.2.5-0ubuntu1) hoary; urgency=low
+
+ * Fixed mod_python status codes using a solution proposed
+ by John Krukoff.
+ * Added Ubuntu Feisty (7.04) package support.
+
+ -- Paul Boddie Thu, 30 Aug 2007 01:10:21 +0200
+
webstack (1.2.4-0ubuntu1) hoary; urgency=low
* Made a SessionDirectoryRepository which uses directories