Edgewall Software

Opened 18 years ago

Last modified 7 years ago

#2523 new enhancement

TODO's from Sourcecode as a ticket

Reported by: anonymous Owned by:
Priority: low Milestone: next-major-releases
Component: wiki system Version: 0.9.2
Severity: minor Keywords: pygments comment
Cc: johannes_rudolph@…, jrioux@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Emmanuel Blot)

If you have in the Source Code:

  // TODO: Add Error Handling

This should generate a Ticket.

Maybe I write a patch for this…

Attachments (0)

Change History (9)

comment:1 by Emmanuel Blot, 18 years ago

Description: modified (diff)
Priority: normallow
Severity: normalminor

I don't see this feature integrated in the core version.
Such a feature could be easily implemented as a Subversion hook script anyway.

comment:2 by anonymous, 18 years ago

+1 from me. It would be sweet if the workflow went like this:

  • TODO, FIXME, etc would create a task ticket and link to the source file as part of the ticket body, and assign the ticket to the person who commited the file
  • When the source file is changed, if the TODO comment is no longer there the ticket is automatically closed

The CodeTagsPlugin will parse the source code and give you a list of items, but it would be killer to see the ticket system integrated with this type of thing.

comment:3 by sid, 18 years ago

This does not seem like a core feature.

But that said, a starting point would be the trac-post-commit-hook script. This already updates tickets based on changeset comments. In this case, you could use the CodeTagsPlugin to create the code / changeset info list, and then create a new ticket for each of those items.

comment:4 by Christian Boos, 17 years ago

Keywords: pygments comment added
Milestone: 1.0

It would be quite doable to add an processing step in the pygments HTML renderer, so that comments would be treated specially. Getting TODO references would be one thing, wiki formatting comments would be another.

comment:5 by Johannes Rudolph <johannes_rudolph@…>, 16 years ago

Cc: johannes_rudolph@… added

comment:6 by Christian Boos, 14 years ago

Milestone: 1.0unscheduled

Milestone 1.0 deleted

comment:7 by Christian Boos, 14 years ago

Component: generalwiki system
Milestone: triagingnext-major-0.1X

See also #1520.

comment:8 by jrioux@…, 13 years ago

Cc: jrioux@… added

comment:9 by Ryan J Ollos, 9 years ago

Owner: Jonas Borgström removed

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.