Edgewall Software
Modify

Opened 18 years ago

Last modified 10 years ago

#4746 new enhancement

intertrac links support in trac-post-commit hook

Reported by: philn Owned by:
Priority: normal Milestone: unscheduled
Component: version control Version:
Severity: normal Keywords: post-commit hook intertrac
Cc: jeffhung@…, Ryan J Ollos Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hello,

It would be very nice to support intertrac links within the trac-post-commit hook. If the XMLRPC plugin is installed in the remote trac, tickets should be remotely updateable.

Attachments (1)

patch-tracopt__ticket__commit_updater.py (2.2 KB ) - added by rickvanderzwet <info@…> 13 years ago.
Adds support for intertrac links to allow updating a specific trac instance. It is using the project_name as it's own intertrac prefix.

Download all attachments as: .zip

Change History (7)

comment:1 by Christian Boos, 18 years ago

Component: ticket systemversion control
Keywords: post-commit hook intertrac added
Milestone: 0.10.41.0
Owner: changed from Jonas Borgström to Christian Boos

Hm, I see one scenario where this could make sense: it would be for a Subversion repository which is actually shared between multiple projects/Trac instances…

In that scenario, it's true that when you want to close a ticket by the way of the trac-post-commit-hook, you need a way to specify which project you're actually targeting, and this could be done using InterTrac prefixes, yes.

However, I see this more related to the multiple repository support (#2086) and the multiple project support (#130), as doing this with XML-RPC for targeting remote Tracs is I think quite outside the scope of Trac core (not to mention the latency issues you'd get when trying to commit, if such a hook was ever used…).

comment:2 by anonymous, 17 years ago

Cc: jeffhung@… added

comment:3 by Christian Boos, 15 years ago

Milestone: 1.0unscheduled

Milestone 1.0 deleted

by rickvanderzwet <info@…>, 13 years ago

Adds support for intertrac links to allow updating a specific trac instance. It is using the project_name as it's own intertrac prefix.

comment:4 by Ryan J Ollos <ryano@…>, 13 years ago

Cc: ryano@… added

comment:6 by Ryan J Ollos, 10 years ago

Cc: Ryan J Ollos added; ryano@… removed

comment:7 by Ryan J Ollos, 10 years ago

Owner: Christian Boos removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.