Opened 8 years ago

Closed 3 years ago

#8354 closed defect (wontfix)

Invalid changeset link in ticket comments is produced by the post-receive-hook for multiple git repositories

Reported by: Roland Hautz Owned by: Herbert Valerio Riedel
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12


I have set up multiple bare git repositories in one trac environment, each with enabled as hook.

The generated wikilinks to changesets are not working. They are looking like:
commit <a class="missing changeset" rel="nofollow" title="Repository '' not found">051611</a>

I don't know wether there's something broken or handling of that case is still missing.

As work around I treat each git repo with
git config --add <Repo_Name>
where Repo_Name is the same name given to the repo through trac-admin

The attached patch to is using that to generate working wikilinks.

Attachments (1) (1.1 KB) - added by Roland Hautz 8 years ago.
patch to

Download all attachments as: .zip

Change History (2)

comment:1 Changed 3 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

GitPlugin is deprecated. Please upgrade to Trac 1.0 and use TracGit.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.