Re: [Trac] Git integration simply does not work

"Andi B." <[email protected]> Mon, 6 Apr 2026 14:15:39 +0200
Newsgroups gmane.comp.version-control.subversion.trac.general
Message-ID <CADnP-KBvLr3rfOv5BF6+M9N7KGbBNerJCmzsXK07DmHAD4ntag@mail.gmail.com>
--000000000000957d3c064ec9a06c
Content-Type: text/plain; charset="UTF-8"

When you add the repository at ADMIN page did you switch the 'Methode' drop
down menu from (Standard) to git? Added name and directory on the same line?

I'm also new to trac but my git repositories shows up.

I also don't have these lines in my trac.ini
[repository]
.type = git
.dir = /srv/git/gignore.git

I think the git repository is stored in ./db/trac.db instead.

I also discovered a message to add a hook to some git files to work
properly. But I don't need to do this. Git integration works as expected.


Am So., 5. Apr. 2026 um 19:32 Uhr schrieb Asher Mullaney <
[email protected]>:

> Hi!
>
> I am very new to Trac and I wanted to use it as a bug/task tracker for my
> project. I wanted to integrate my git repository into Trac so that I could
> browse the source of the repository. I took a look at the TracGit page and
> did the suggested changes, but to no avail: there is no "browse source" tab
> and there are no visible changes. My Trac version is 1.6. I have attached
> the contents of trac.ini below (/srv/git/gignore.git is the git repository).
>
> Any help is greatly appreciated.
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
> To view this discussion visit
> https://groups.google.com/d/msgid/trac-users/c9f0651f-8dc9-4e2d-962c-8db3290a828dn%40googlegroups.com
> <https://groups.google.com/d/msgid/trac-users/c9f0651f-8dc9-4e2d-962c-8db3290a828dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
This message was not sent from some iToy advertising machine.
Diese Nachricht wurde nicht von iRgendeinem Spamschleuder-Spielzeug
versandt.

-- 
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
To view this discussion visit https://groups.google.com/d/msgid/trac-users/CADnP-KBvLr3rfOv5BF6%2BM9N7KGbBNerJCmzsXK07DmHAD4ntag%40mail.gmail.com.

--000000000000957d3c064ec9a06c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:courier =
new,monospace">When you add the repository at ADMIN page did you switch the=
 &#39;Methode&#39; drop down menu from (Standard) to git? Added name and di=
rectory on the same line?</div><div class=3D"gmail_default" style=3D"font-f=
amily:courier new,monospace"><br></div><div class=3D"gmail_default" style=
=3D"font-family:courier new,monospace">I&#39;m also new to trac but my git =
repositories shows up.</div><div class=3D"gmail_default" style=3D"font-fami=
ly:courier new,monospace"><br></div><div class=3D"gmail_default" style=3D"f=
ont-family:courier new,monospace">I also don&#39;t have these lines in my t=
rac.ini</div><div class=3D"gmail_default" style=3D"font-family:courier new,=
monospace">[repository]<br>.type =3D git<br>.dir =3D /srv/git/gignore.git</=
div><div class=3D"gmail_default" style=3D"font-family:courier new,monospace=
"><br></div><div class=3D"gmail_default" style=3D"font-family:courier new,m=
onospace">I think the git repository is stored in=C2=A0./db/trac.db instead=
.=C2=A0</div><div class=3D"gmail_default" style=3D"font-family:courier new,=
monospace"><br></div><div class=3D"gmail_default" style=3D"font-family:cour=
ier new,monospace">I also discovered a message to add a hook to some git fi=
les to work properly. But I don&#39;t need to do this. Git integration work=
s as expected.</div><div class=3D"gmail_default" style=3D"font-family:couri=
er new,monospace"><br></div></div><br><div class=3D"gmail_quote gmail_quote=
_container"><div dir=3D"ltr" class=3D"gmail_attr">Am So., 5. Apr. 2026 um 1=
9:32=C2=A0Uhr schrieb Asher Mullaney &lt;<a href=3D"mailto:asher.mullaney@g=
mail.com">[email protected]</a>&gt;:<br></div><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex"><div>Hi!</div><div><br></div><div>I am very new=
 to Trac and I wanted to use it as a bug/task tracker for my project. I wan=
ted to integrate my git repository into Trac so that I could browse the sou=
rce of the repository. I took a look at the TracGit page and did the sugges=
ted changes, but to no avail: there is no &quot;browse source&quot; tab and=
 there are no visible changes. My Trac version is 1.6. I have attached the =
contents of trac.ini below (/srv/git/gignore.git is the git repository).</d=
iv><div><br></div><div>Any help is greatly appreciated.</div><div><br></div=
><div>Thanks!</div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups &=
quot;Trac Users&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:trac-users+unsubscribe-/[email protected]" target=
=3D"_blank">trac-users+unsubscribe-/[email protected]</a>.<br>
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
trac-users/c9f0651f-8dc9-4e2d-962c-8db3290a828dn%40googlegroups.com?utm_med=
ium=3Demail&amp;utm_source=3Dfooter" target=3D"_blank">https://groups.googl=
e.com/d/msgid/trac-users/c9f0651f-8dc9-4e2d-962c-8db3290a828dn%40googlegrou=
ps.com</a>.<br>
</blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si=
gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d=
iv dir=3D"ltr"><div><span style=3D"color:rgb(153,153,153)">This message was=
 not sent from some iToy advertising machine.</span><br></div><span style=
=3D"color:rgb(153,153,153)">Diese Nachricht wurde nicht von iRgendeinem Spa=
mschleuder-Spielzeug versandt.=C2=A0</span> <br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;Trac Users&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:trac-users+unsubscribe-/[email protected]">trac-use=
rs+unsubscribe-/[email protected]</a>.<br />
To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/=
trac-users/CADnP-KBvLr3rfOv5BF6%2BM9N7KGbBNerJCmzsXK07DmHAD4ntag%40mail.gma=
il.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/=
msgid/trac-users/CADnP-KBvLr3rfOv5BF6%2BM9N7KGbBNerJCmzsXK07DmHAD4ntag%40ma=
il.gmail.com</a>.<br />

--000000000000957d3c064ec9a06c--