TurboGears 2 packaging - it works! w/o auth

Status update on my TG2 packaging efforts:

  • I've formally adopted turbogears2 and turbojson. The versions I uploaded in experimental a couple of days ago fix all outstanding RC bugs, but are still uninstallable due to dependencies waiting for NEW (that's why I haven't uploaded them in unstable, FWIW).

  • I've made up my mind about prioritized_methods and shipped it as a contrib of PEAK-Rules, starting from version 0.5a1+r2582.1-1 (in NEW): it was just too tiny to deserve a package of its own. The main drawback is visible from its version number: to update prioritized_methods, the tarball needs to be repacked, bumping "upstream version".

  • Good news also from the Zope team: transaction and zope.sqlalchemy have been packaged (waiting in NEW).

With all that, yesterday for the first time, I was able to quickstart a project and run it using only Debian-packaged stuff. With a detail however: no auth support (yet), because that part actually needs Catwalk (and its deps) to implement the nifty admin interface. It looks like that that is the only remaining obstacle, and I'm working on it.

Update on my /usr/local/lib/python2.5/site-packages/:


PS as usual everything is available from my personal repo, testing and help are welcome

paster output

i added your zack-unstable to my sources.list(5) and apt_preferences(5), imported your GPG key, added experimental and unstable, and

$ paster --help; Usage: paster [paster_options] COMMAND [command_options]

Options: --version show program's version number and exit --plugin=PLUGINS Add a plugin to the list of commands (plugins are Egg specs; will also require() the Egg) -h, --help Show this help message

Commands: create Create the file layout for a Python distribution help Display help make-config Install a package and create a fresh config file/directory points Show information about entry points post Run a request for the described application request Run a request for the described application serve Serve the described application setup-app Setup an application, given a config file

TurboGears2: quickstart Create a new TurboGears 2 project. tginfo Show TurboGears 2 related projects and their versions

Can't wait to see what's next


Package: python-turbogears2 Version: 2.0-3~zack1 Severity: wishlist

-- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: powerpc (ppc)

Kernel: Linux 2.6.26-2-powerpc Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash

Versions of packages python-turbogears2 depends on: ii python-genshi 0.5.1-1 Python XML-based template engine ii python-pylons 0.9.7-1 Python web framework emphasizing f ii python-repoze.tm2 1.0a4-2~zack1 Zope-like transaction manager via ii python-repoze.what-plug 20090531-1~zack1 authorization framework for Python ii python-support 1.0.3 automated rebuilding support for P ii python-toscawidgets 0.9.4-1~zack1 Python framework for building reus ii python-turbojson 1.2.1-1 TurboGears template plugin to use ii python-weberror 0.10.1-1 Python web error handling and exce ii python-webflash 0.1a9-1~zack1 Portable flash messages for Python

Versions of packages python-turbogears2 recommends: ii python-pysqlite2 2.5.5-1 Python interface to SQLite 3 ii python-tg.devtools 2.0-2~zack1 developer tools for the TurboGears

Versions of packages python-turbogears2 suggests: pn python-elixir (no description available)

-- no debconf information

Comment by buck Thu 25 Jun 2009 03:43:07 AM CEST
re: paster output

thanks for your feedback!

Actually, with what you got installed, you can already quickstart tg2 apps, as long as you answer "no" when quickstart asks you about auth support.

Stay tuned for the rest!

Comment by zack Thu 25 Jun 2009 09:48:28 AM CEST
Re: paster output

Alas, no. I'm trying to follow along with the turbogears2 tutorial, and when i run paster setup-app development.ini it's missing zope.sqlalchemy. I noticed you said it's in experimen- tal/NEW, but i can't figure out how to get my hands on it (and the transaction package). I guess i can try to grab the sources and build myself, but i'm not that impatient

Thanks for all your work on this, and for vim et al.

Comment by buck Sat 27 Jun 2009 06:47:25 PM CEST
re: paster output

Unfortunately there is no way to access directly the content on NEW (on purpose: packages at that step sill need to be reviewed by FTP masters to ensure they contain no problems of license or copyright).

But thanks for pointing out that zope.sqlalchemy and transaction are not in my repo. They are not because their packaging has been done by the Zope team and indeed I'm still using their easy_install-ed versions. I'll ask them to provide my working versions and upload them to my repo. Thanks for the heads-up!

Comment by zack Sun 28 Jun 2009 10:56:03 AM CEST