How to get TracBrowser to show the contents of Git submodules?

22 views
Skip to first unread message

Tom

unread,
May 6, 2020, 11:42:08 AM5/6/20
to Trac Users
Hi

I did try to search through tickets and google my way to an answer, but did not manage to find much other than this ticket which indicates
Git submodules should be working

However, when browsing through TracBrowser, git submodules (of a configured git repository) are merely shown as empty directories?
I.e only showing e.g. something like
  • Property commit set to c1634....
  • Property mode set to 160000

How can I get Trac to actually open/show the content of the submodule instead (for the indicated commit?)
The repositories are bare git repositories and are placed on the same machine as Trac itself. No hooks configured.

Any pointers/help is much appreciated

Tom


RjOllos

unread,
May 6, 2020, 1:27:40 PM5/6/20
to Trac Users
I haven't tried the feature, but do you have Trac 1.0.17 or later installed? 

Tom

unread,
May 7, 2020, 2:59:18 AM5/7/20
to Trac Users
Sorry for not including that, but yes we're on Trac 1.2.6.dev0.

Tom

RjOllos

unread,
May 7, 2020, 6:29:23 PM5/7/20
to Trac Users


On Wednesday, May 6, 2020 at 8:42:08 AM UTC-7, Tom wrote:

Tom

unread,
May 12, 2020, 4:35:09 PM5/12/20
to Trac Users
Thanks Ryan.
We'll see where this leads then, I can imagine it actually is not a straight forward chnage to do..

Tom
Reply all
Reply to author
Forward
0 new messages