On Tuesday, August 4, 2015 at 12:50:46 PM UTC-7, RjOllos wrote: > > > > On Monday, June 23, 2014 at 4:36:26 PM UTC-7, KateYoak wrote: >> >> Hey guys, >> >> I am setting up git for Trac 1.0 with github. >> >> I am using https://github.com/aaugustin/trac-github >> The documentation suggests the following config: >> >> trac.versioncontrol.web_ui.browser.BrowserModule = disabled >> trac.versioncontrol.web_ui.changeset.ChangesetModule = disabled >> trac.versioncontrol.web_ui.log.LogModule = disabled >> tracext.github.* = enabled >> tracopt.ticket.commit_updater.* = enabled >> tracopt.versioncontrol.git.* = enabled >> >> Under this configuration, /browser url does not work and >> >> >> Changing disabled to enabled above made the local repository browser work! >> >> However, then I run into all kinds of other problems. >> >> if ChangesetModule is on, I get >> >> *Trac detected an internal error:* >> >> error: redefinition of group name u'it_changeset' as group 31; was group 24 >> >> >> In other words, github plugin is doing its own changeset stuff. Turning >> off Changeset and leaving Browser creates other compatibility problems >> within the two. >> >> So.. My guess is that my big problem is that I can't get a browser >> handler out of the github plugin - what am I doing wrong? >> >> Kate >> > > trac-github doesn't provide it's own repository browser. It just points > changeset links to GitHub. >
It appears you could, however, create a mirror and sync changes from GitHub to the mirror. You could then continue to use the Trac Browser, Changeset and Log viewer. Leave the BrowserModule, ChangesetModule and LogModule enabled, and enable only the GitHubPostCommitHook from the trac-github plugin. Don't enable tracext.github.GitHubBrowser. trac.versioncontrol.web_ui.browser.BrowserModule = enabled trac.versioncontrol.web_ui.changeset.ChangesetModule = enabled trac.versioncontrol.web_ui.log.LogModule = enabled tracext.github.GitHubPostCommitHook = enabled tracopt.ticket.commit_updater.* = enabled tracopt.versioncontrol.git.* = enabled You could also enable GitHubLoginModule if you wish to authenticate through GitHub. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
