Fossil

View Ticket
Login
Ticket Hash: 04ba0f70b816cebec6bf5e7c8509aa0e205eeb83
Title: Turn the version field of tickets into links
Status: Fixed Type: Feature_Request
Severity: Minor Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2025-05-10 18:45:56
318.6 days ago
Created: 2011-03-17 23:46:58
15.02 years ago
Version Found In:
Description:
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

User Comments:
jkosche added on 2025-05-10 18:45:56:

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.