wiki:MilestoneQueryMacro

Milestone Query

Description

A macro to display a list of matching milestones. Very useful for reporting on releases.

Bugs/Feature Requests

Existing bugs and feature requests for MilestoneQueryMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out MilestoneQueryMacro from here using Subversion, or browse the source with Trac.

Example

Here's how we display our upcoming (and just released) releases, matching two types of names but not completed and in ascending order:

[[MilestoneQuery(%release_%,,)]]

[[MilestoneQuery(%rc_%,,)]]

This is how we display our previous releases, particularly named releases in descending order:

[[MilestoneQuery(release_%, completed, DESC)]]

Recent Changes

[12265] by rjollos on 2012-10-29 19:05:18

Fixes #9677:

  • Prevent possibly cannot operate on closed cursor error by keeping a db object in scope.
  • Prevent possible SQL injection attack by utilizing the Trac DB API to properly escape the query.
  • Added setuptools/distutils packaging.
  • Removed empty 0.9 and 0.12 directories and renamed 0.11 directory to trunk.
[9652] by nicferrier on 2010-12-09 22:21:08
change produced wikitext to include a link to the milestone
[9536] by nicferrier on 2010-11-27 01:56:14
added macro

Author/Contributors

Author: nicferrier
Maintainer: nicferrier
Contributors:

Last modified 4 years ago Last modified on Nov 27, 2010, 12:46:35 AM