Just a few notes for any plugin authors using Tags:
The 0.5 release is a basic port to Trac 0.11, its API and functionality
remain the same. The implication of this is that it does *not* support
the new security or resource systems in Trac 0.11. There will be no
further development on this version, only bug-fixes.
I have almost finished a complete rewrite that adds these features and
cleans up the internal API and code significantly. This will be released
as Tags 0.6 and will be the "supported" version going forward. This also
removes all the legacy macro support carried over from Muness' original
code: TagIt and ListTags are gone. The remaining macros, TagCloud and
ListTagged, have changed their calling convention:
TagCloud([query])
ListTagged([query])
The query syntax has also changed:
AND: tag1 tag2
OR: tag1 or tag2
NOT: -tag1
In a specific realm: realm:wiki
Sub-expressions are supported: (tag1 or tag2) and tag3
And the output is visually quite different. The tags module uses the
resource system to render the tagged resources as well as the tags
themselves. What this means is that the display is completely dependent
on how the IResourceManager for a particular resource renders it.
Plugins using tags now have two choices:
1. Migrate to 0.5. This will mean a minimal amount of porting but
won't support 0.11 security plugins.
2. Migrate to 0.6. This will require more work, particularly if you've
written your own tag providers. On the upside, the new API is
significantly simpler, so you'll probably end up with less code :)
On 31/12/2007, Alec Thomas <[EMAIL PROTECTED]> wrote:
> Forgot to mention the query syntax has changed to fix a few bugs.
>
> It's now effectively a Python expression:
>
> 'unicode-term' or 'unicode-term'
> term and term
> not term
>
> On 31/12/2007, Alec Thomas <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I've tagged (pun intended) the Trac Tags plugin version 0.5 for
> > release. This is compatible with Trac 0.11. Thanks to Odd Simon
> > Simonsen for helping out with the port! :)
> >
> > Download and installation instructions are here:
> >
> > http://trac-hacks.org/wiki/TagsPlugin/Installation
> >
> > If you have any issues *after following the installation instructions
> > carefully*, then please respond to this thread.
> >
> > Alec
> > --
> > Evolution: Taking care of those too stupid to take care of themselves.
> >
>
>
> --
> Evolution: Taking care of those too stupid to take care of themselves.
>
--
Evolution: Taking care of those too stupid to take care of themselves.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---