[Trac] TracTags release candidate
Muness Alrubaie
muness at gmail.com
Wed Apr 5 15:10:03 CDT 2006
Hi,
A new release of Trac Tags is finally coming. This one will include
numerous changes thanks to Alec Thomas of the wondeful TracHacks
(http://trac-hacks.org/).
I'll have to put together a proper changelog, but here are some highlights:
* Now distributed as a Trac plugin.
* Completely revamped internals, allowing for multiple tag sources.
You can now, for example query your tickets based on their keywords (=
tags) from within the wiki (I think someone was asking for something
like this recently). Additional tag sources can be implemented.
* Tagging pages is no longer implemented through a macro.
* More flexible tag querying (unions are now implemented in addition
to the intersections that were there all along).
* Tested to work on Postgres.
I am looking for volunteers to try out the new release (for 0.9 and
0.10 only - had to drop support for 0.8 now that we're using plugins).
Installation instructions and precompiled egg at
http://muness.textdriven.com/trac/wiki/tags/Setup (tested on Windows
XP, running 0.9.4, Python 2.3 and FreeBSD, running 0.9.4, Python 2.4.
Alec runs on 0.10dev and Python 2.4 and TracHacks gets a lot more
traffic than I do, I expect.)
On a different note, the sorted implementation in util.py is bit less
handy than it should be, methinks. Here's a patch that works (at
least for my needs):
- def sorted(iterable, cmp=None, key=None, reverse=False):
+ def sorted(iterable, cmp=None, key=str, reverse=False):
"""Partial implementation of the "sorted" function from Python 2.4"""
lst = [(key(i), i) for i in iterable]
lst.sort()
Muness
More information about the Trac
mailing list