Listing changesets using the svn bugtraq properties
|Reported by:||Owned by:||anybody|
|Cc:||Bhuricha Deen Sethanandha||Trac Release:||0.11|
It's very important for us to be able to see all related code changes on a ticket. As well, from code to be able to see what the related tickets are.
We're currently using the svn bugtraq properties on commit to link changesets to tickets:
- Property bugtraq:warnifnoissue set to true
- Property bugtraq:number set to true
- Property bugtraq:label set to Ticket:
- Property bugtraq:url set to http://domain.com/trac/ticket/%BUGID%
- Property bugtraq:message set to Ticket: #%BUGID%
As well, we're using the post-commit hook to get the changesets referenced in the tickets.
This means that on commit we have to enter the ticket number twice, once on the bugtraq property field and the other by placing "re #" in the message. Obviously this is clumsy and non-ideal.
We'd love to have a post commit hook that uses the bugtraq property to update the ticket with the changeset number in a fashion similar to the above post commit hook. That way we'd only have to enter it once.
Another dream item would be a way to list a tickets referenced changesets in one area instead of having them strewn through the notes but now I'm just dreaming....