Thank you so much. That was the missing part. I though I had read it 
carefully and followed everything but sometimes you just stare yourself 
blind on a piece of text.

I think I got to hung up on the following line:

-- http://trac.edgewall.org/wiki/TracGit -- 

If all you need is to work with a single git environment, it is enough to 
modify the [trac] section in your 
trac.ini<http://trac.edgewall.org/wiki/TracIni> so 
that it contains the appropriate values for the repository_type and
repository_dir options, like in the above example.


Thanks again!

//Henrik

Den onsdagen den 19:e december 2012 kl. 22:53:28 UTC+1 skrev netjunki:
>
> 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
> On Dec 19, 2012 1:45 PM, "Henrik Granlund" <[email protected]<javascript:>> 
> wrote:
>
>> 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/.git
>> repository_type = git
>>
>> [git]
>> git_bin = /usr/bin/git
>>
>>
>> tried 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.log
>> log_level = DEBUG
>> log_type = file
>>
>> 2012-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 seconds
>> 2012-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 
>> request
>> 2012-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 seconds
>>
>>
>> git version 1.7.1
>>  Trac1.0 Genshi0.6 (without speedups) pysqlite 2.6.3 Python2.6.6 
>> (r266:84292, Dec 16 2012, 14:05:33) [GCC 4.1.2 20061115 (prerelease) 
>> (Debian 4.1.1-21)] setuptools 0.6c11 SQLite3.7.15 jQuery1.7.2
>>
>>
>> Does anyone have any tips? I'm running out of ideas..
>>
>> Thanks in advance!
>>
>> Br
>> Henrik
>>
>> -- 
>> 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 [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/trac-users?hl=en.
>>
>

-- 
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/-/0yxiVtDnL4sJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to