Opened 15 years ago

Closed 7 years ago

#19251 closed enhancement (worksforme)

Substitute #<ticketnumber> in commit email with link to actual trac ticket.

Reported by: jberry@… Owned by: admin@…
Priority: Normal Milestone:
Component: server/hosting Version:
Keywords: Cc:
Port:

Description

In ticket emails, It would be nice to be able to substitute the #nnn or rnnn forms of ticket references with a link to the ticket in trac. SVN-Notify even appears to support something like this with its ticket_map option.

For a given bug number 1234, the following text should be converted into a link to the ticket, if found in the log message:

#1234 r1234

This follows trac's own internal substitution conventions.

Change History (5)

comment:1 Changed 15 years ago by wsiegrist@…

Status: newassigned

There is a Trac filter for it that I've been meaning to try. It should fix this ticket if it works:

SVN::Notify::Trac

comment:2 Changed 15 years ago by wsiegrist@…

Milestone: Website & Documentation
Type: defectenhancement
Version: 1.7.1

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Owner: changed from wsiegrist@… to admin@…
Status: assignednew

comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from admin@… to admin@…
Status: newassigned

Since we moved to GitHub, we no longer use Subversion or SVN::Notify.

We no longer use #... or r... references in commit messages.

For tickets, we now use complete URLs, which should link fine in the emails.

To reference prior commits, we would presumably use either the commit hash if the commit is in the same repo, or the GitHub appropriate syntax for linking to a commit in another repo. I don't know how our new commit notification mailer handles that.

comment:5 Changed 7 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: assignedclosed

References to prior commits are clickable on GitHub, so it is just one more click away from the commit mail. I think this is good enough.

Note: See TracTickets for help on using tickets.