Re: [Trac] Git integration simply does not work
Asher Mullaney <[email protected]> Mon, 6 Apr 2026 15:24:52 +0100
| Newsgroups | gmane.comp.version-control.subversion.trac.general |
|---|---|
| Message-ID | <CALVR1MeEwJdeWwz7HLGNBapykUsLTfEP7qcSvHwbNMJMsssMdA@mail.gmail.com> |
--000000000000e9fd06064ecb6e56 Content-Type: text/plain; charset="UTF-8" Thanks! I had not changed the repository type in the admin page. Thanks again, --ajmull On Mon, 6 Apr 2026, 13:16 Andi B., <[email protected]> wrote: > 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 > <https://groups.google.com/d/msgid/trac-users/CADnP-KBvLr3rfOv5BF6%2BM9N7KGbBNerJCmzsXK07DmHAD4ntag%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CALVR1MeEwJdeWwz7HLGNBapykUsLTfEP7qcSvHwbNMJMsssMdA%40mail.gmail.com. --000000000000e9fd06064ecb6e56 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Thanks!<div dir=3D"auto"><br></div><div dir=3D"auto">I ha= d not changed the repository type in the admin page.</div><div dir=3D"auto"= ><br></div><div dir=3D"auto">Thanks again,</div><div dir=3D"auto"><br></div= ><div dir=3D"auto">--ajmull</div></div><br><div class=3D"gmail_quote gmail_= quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, 6 Apr 2026, = 13:16 Andi B., <<a href=3D"mailto:[email protected]">andi.b.9999@gma= il.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"m= argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"l= tr"><div class=3D"gmail_default" style=3D"font-family:courier new,monospace= ">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 th= e same line?</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,monospace">I'm also new to trac but my git repositories sh= ows up.</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 don't have these lines in my trac.ini</div><d= iv class=3D"gmail_default" style=3D"font-family:courier new,monospace">[rep= ository]<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><d= iv class=3D"gmail_default" style=3D"font-family:courier new,monospace">I th= ink 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:courier new,monosp= ace">I also discovered a message to add a hook to some git files to work pr= operly. But I don't need to do this. Git integration works as expected.= </div><div class=3D"gmail_default" style=3D"font-family:courier new,monospa= ce"><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class= =3D"gmail_attr">Am So., 5. Apr. 2026 um 19:32=C2=A0Uhr schrieb Asher Mullan= ey <<a href=3D"mailto:[email protected]" target=3D"_blank" rel=3D= "noreferrer">[email protected]</a>>:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"><div>Hi!</div><div><br></div><div>I am ver= y 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 th= e source of the repository. I took a look at the TracGit page and did the s= uggested changes, but to no avail: there is no "browse source" ta= b 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= ).</div><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" 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" rel=3D"noreferrer">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&utm_source=3Dfooter" target=3D"_blank" rel=3D"noreferrer">h= ttps://groups.google.com/d/msgid/trac-users/c9f0651f-8dc9-4e2d-962c-8db3290= a828dn%40googlegroups.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" 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" rel=3D"noreferrer">trac-users+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" target=3D"_blank" rel=3D= "noreferrer">https://groups.google.com/d/msgid/trac-users/CADnP-KBvLr3rfOv5= BF6%2BM9N7KGbBNerJCmzsXK07DmHAD4ntag%40mail.gmail.com</a>.<br> </blockquote></div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;Trac Users" 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/CALVR1MeEwJdeWwz7HLGNBapykUsLTfEP7qcSvHwbNMJMsssMdA%40mail.gmail= .com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/ms= gid/trac-users/CALVR1MeEwJdeWwz7HLGNBapykUsLTfEP7qcSvHwbNMJMsssMdA%40mail.g= mail.com</a>.<br /> --000000000000e9fd06064ecb6e56--