Git isn't enabled. In the Admin ¦ Plugins ¦ Trac section there shout be a setting towards the bottom for tracopt.repository.Git (or something like that). You need to enable that.
Ben
Hi guys,I've looked all over on info about git configuration in trac 1.0 but I'm starting to give up hope on this.. The problem is what some other have gotten on previous versions:
Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.
What it boils down to is I've set the following (and tried many variants aswell :( )[trac]repository_dir = /opt/git/sc2genetics2/.gitrepository_type = git
[git]git_bin = /usr/bin/gittried with a git --init bare first but gave that up since it sounds like its not intended use.the repository is a "git clone" and I've also added chmod -R 777 sc2genetics2/ to avoid permission problems but still no success.I've added logging but It doesn't show anything of value: (I'm assuming DEBUG is lowest level)[logging]log_file = trac.loglog_level = DEBUGlog_type = file2012-12-19 22:04:14,488 Trac[session] DEBUG: Retrieving session for ID u'gran'2012-12-19 22:04:14,498 Trac[api] INFO: Synchronized '(default)' repository in 0.02 seconds2012-12-19 22:05:19,675 Trac[main] DEBUG: Dispatching <RequestWithSession "GET '/roadmap'">2012-12-19 22:05:19,676 Trac[chrome] DEBUG: Prepare chrome data for request2012-12-19 22:05:19,681 Trac[session] DEBUG: Retrieving session for ID u'gran'2012-12-19 22:05:19,694 Trac[api] INFO: Synchronized '(default)' repository in 0.02 secondsgit version 1.7.1
Trac 1.0 Genshi 0.6 (without speedups) pysqlite 2.6.3 Python 2.6.6 (r266:84292, Dec 16 2012, 14:05:33) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] setuptools 0.6c11 SQLite 3.7.15 jQuery 1.7.2 Does anyone have any tips? I'm running out of ideas..Thanks in advance!BrHenrik--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/trac-users/-/S7dscB3WEOYJ.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
If all you need is to work with a single git environment, it is enough to modify the [trac] section in your trac.ini so that it contains the appropriate values for the repository_type andrepository_dir options, like in the above example.