Fossil SCM

Turn the version field of tickets into links

Fixed

04ba0f70b816ceb… · opened 15 years ago

Type
Feature_Request
Priority
Immediate
Severity
Minor
Resolution
Open
Subsystem
Created
March 17, 2011 11:46 p.m.

It'd be handy if the string entered into the the version field of a ticked was looked up as an artifact in the repository and rendered as a link to the matching artifact(s), if any.


anonymous claiming to be RonW added on 2011-04-14 03:00:24 UTC: Edit the View Ticket page and find:


<tr><td align="right">Version&nbsp;Found&nbsp;In:</td>
<td colspan="3" valign="top" bgcolor="#d0d0d0">
$<foundin>
</td></tr>

Then change it to:


<tr><td align="right">Version&nbsp;Found&nbsp;In:</td>
<td colspan="3" valign="top" bgcolor="#d0d0d0">
<th1>
wiki "[$foundin]"
</th1>
</td></tr>

This will use Fossil's builtin wiki rederer to create to the commit whose UUID is in the found-in field.


anonymous added on 2011-05-06 15:56:29 UTC: The line should be



wiki "\[$foundin\]"

so that it doesn't get interpreted as a th1 command


anonymous added on 2011-05-06 15:58:13 UTC: sorry,


wiki "\[$foundin\]"


anonymous added on 2011-05-06 15:58:55 UTC:


wiki "\\[$foundin\\]"


anonymous added on 2011-05-06 15:59:26 UTC: Not sure how to make the ['s not get interpreted, but the brackets should be escaped


Comments (1)

jkosche 11 months ago

This was added in the branch tkt-improvements which is merged to trunk. Therefore I close the ticket.

Note that both a checkin-hash and the name of a tag will be linked if present in the repository.

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button