Opened 19 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 )
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 , 19 years ago
Description: | modified (diff) |
---|---|
Priority: | normal → low |
Severity: | normal → minor |
comment:2 by , 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 , 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 , 18 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 , 17 years ago
Cc: | added |
---|
comment:7 by , 15 years ago
Component: | general → wiki system |
---|---|
Milestone: | triaging → next-major-0.1X |
See also #1520.
comment:8 by , 14 years ago
Cc: | added |
---|
comment:9 by , 10 years ago
Owner: | removed |
---|
I don't see this feature integrated in the core version.
Such a feature could be easily implemented as a Subversion hook script anyway.