OK the exact format doesn't matter to me as long as it is possible. The new way doesn't seem to make much sense, wouldn't ticket:131:comment:13 make more sense (and probably easier to parse/change into a URL)? If you look at it like a hierarchy then you would have "all tickets" -> "ticket 131" -> "all comments in ticket 131" -> "comment 13 in ticket 131", so ticket/131/comment/13... But then again my last quote when I said it I said "comment 13 in ticket 131" which lends to comment:13:ticket:131...
As long as it's published and consistent with all of the other links of similar nature in Trac (i.e. self-consistent), I think ultimately it doesn't matter. Jason -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Boos Sent: Wednesday, March 07, 2007 11:03 AM To: [email protected] Subject: [Trac] Re: Trac link to comment in ticket Jason Winnebeck wrote: > How can I make a trac link to a ticket's comment? > > [ticket:131#comment:13] > The above works in 0.11dev. > #131#comment:13 does not work > I was wondering if this should be supported as well... currently it isn't. > I had to give up and just use the fully qualified URL as a link, which > is bad in case the server moves or the trac root moves, or if the > protocol changes to and from http/https. Is there a proper method of > doing this? > Right now (0.10.x), the syntax is a bit cumbersome: comment:ticket:131:13 This was done this way, in order to be similar to the already existing attachment syntax: attachment:ticket:131:the_file.txt In 0.11, both have been changed to the hopefully more intuitive ones: - comment:13:ticket:131 - attachment:the_file.txt:ticket:131 (the 0.10.x way being still supported in 0.11) -- Christian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
