# HG changeset patch # User paulb # Date 1192304363 0 # Node ID b2a4b0c45c404ea3a2bc99c8ac93afcf683e426e # Parent bfa7e483e9887401fed6d1f98db64069ac7d9a98 [project @ 2007-10-13 19:39:23 by paulb] Added a jython-webstack package. Updated release notes. diff -r bfa7e483e988 -r b2a4b0c45c40 packages/ubuntu-feisty/jython-webstack/debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/jython-webstack/debian/changelog Sat Oct 13 19:39:23 2007 +0000 @@ -0,0 +1,162 @@ +webstack (1.2.6-0ubuntu1) feisty; urgency=low + + * Added a jython-webstack package for Ubuntu Feisty + (7.04). + * Improved support for Jython on Ubuntu Feisty (7.04), + adding python.path and python.cachedir settings which + respectively avoid issues with missing libraries (due to + the separation of libraries in the Ubuntu package) and + with failed imports (due to a read-only class cache + directory). + * Improved the webstack_java_build.py script and added a + deployment descriptor for JSP to accompany the new Java + Servlet-specific JSPTest example. + * Added a special Java Servlet-specific get_servlet method + to support the JSPTest example. It is envisaged that a + more general method could be made available for all + frameworks in order to support access to underlying + request dispatchers and other framework facilities. + * Added more Jython-related documentation as suggested by + Kevin Glynn. + * Added missing request headers for CGI/WSGI environment + variables. + * Fixed Webware support to work with Webware 0.9.4. + * Fixed/improved Zope path value retrieval. + + -- Paul Boddie Thu, 27 Sep 2007 19:41:28 +0200 + +webstack (1.2.5-0ubuntu1) feisty; urgency=low + + * Fixed mod_python status codes using a solution proposed + by John Krukoff. + * Fixed a Twisted deprecation warning when accessing port + numbers, thanks to John Krukoff. + * Added Ubuntu Feisty (7.04) package support. + * Tidied up the documentation HTML. + + -- Paul Boddie Sat, 8 Sep 2007 18:00:50 +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 bfa7e483e988 -r b2a4b0c45c40 packages/ubuntu-feisty/jython-webstack/debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/jython-webstack/debian/compat Sat Oct 13 19:39:23 2007 +0000 @@ -0,0 +1,1 @@ +5 diff -r bfa7e483e988 -r b2a4b0c45c40 packages/ubuntu-feisty/jython-webstack/debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/jython-webstack/debian/control Sat Oct 13 19:39:23 2007 +0000 @@ -0,0 +1,20 @@ +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), java-gcj-compat-dev | sun-java5-jdk | sun-java6-jdk +XS-Python-Version: all +Standards-Version: 3.7.2.1 + +Package: jython-webstack +Architecture: all +Depends: jython-gcj, python-webstack +Suggests: java-gcj-compat-dev | sun-java5-jdk | sun-java6-jdk +Conflicts: python2.4-webstack (<< 1.2.5-0ubuntu1) +Replaces: python2.4-webstack (<< 1.2.5-0ubuntu1) +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. + . + This package specifically supports Jython and the Java Servlet API. diff -r bfa7e483e988 -r b2a4b0c45c40 packages/ubuntu-feisty/jython-webstack/debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/jython-webstack/debian/copyright Sat Oct 13 19:39:23 2007 +0000 @@ -0,0 +1,39 @@ +Package creator: + + Paul Boddie + +The origin of the package is: + + http://www.boddie.org.uk/python/WebStack.html + +Package author: + + Paul Boddie + +Copyright: + +Licence Agreement for WebStack +------------------------------ + +Copyright (C) 2004, 2005, 2006, 2007 Paul Boddie + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + +Licence for Other Software +-------------------------- + +See the LICENCE-PyServlet.txt file for the PyServlet copyrights and licence. +The wsgi_cgi.py module originates from PEP 333 and is apparently "placed in +the public domain" (see http://www.python.org/peps/pep-0333.html). diff -r bfa7e483e988 -r b2a4b0c45c40 packages/ubuntu-feisty/jython-webstack/debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/jython-webstack/debian/docs Sat Oct 13 19:39:23 2007 +0000 @@ -0,0 +1,2 @@ +README.txt +tools diff -r bfa7e483e988 -r b2a4b0c45c40 packages/ubuntu-feisty/jython-webstack/debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-feisty/jython-webstack/debian/rules Sat Oct 13 19:39:23 2007 +0000 @@ -0,0 +1,52 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +export DH_COMPAT=5 + +build: build-stamp + +build-stamp: + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f *-stamp + dh_clean + +install: build install-prereq + # Script fixing would appear here. + +install-prereq: + dh_testdir + dh_testroot + dh_clean -k + +# The WebStack libraries should be installed in the python-webstack package. + +# The WebStack scripts (including Jython/Java-related scripts) should be +# installed in the python-webstack package. + +# Build architecture-independent files here. + +binary-indep: install + tools/JavaServlet/compile.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