Opened 17 years ago
Closed 12 years ago
#3164 closed task (wontfix)
Installing GitPlugin in Windows
Reported by: | uribeuso | Owned by: | Samat Jain |
---|---|---|---|
Priority: | highest | Component: | TracGitPlugin |
Severity: | critical | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
I'm installing GitPlugin in Windows. I have installed the plugin successfully but the web-pages show this error:
Can't synchronize with the repository (GIT backend not available)
I think it's because i have some errors in trac.ini: git_bin = /usr/src/git-dev/git
I have tried with C:\Program Files\Git\bin\git.exe but it doesn't works.
Is it posible to install GitPlugin in Windows?
Attachments (0)
Change History (5)
comment:1 Changed 17 years ago by
Priority: | high → highest |
---|---|
Type: | defect → task |
comment:2 Changed 16 years ago by
I got Git working with Trac 0.11 under Windows XP by doing the following:
- Modified line 45 in PyGIT.py from:
return os.popen3(cmd) # (input, output, error)
to
return os.popen3(" ".join(cmd)) # (input, output, error)
- Modified line 140 in git_fs.py from:
_git_bin = PathOption('git', 'git_bin', 'git', "file name of git executable")
to
_git_bin = Option('git', 'git_bin', 'git', "file name of git executable")
- Added path/to/git/bin to the PATH environment variable.
- In trac.ini: git_bin = git (because it won't work with a full path that contains spaces, such as "Program Files")
comment:3 Changed 14 years ago by
Trac Release: | 0.11 → 0.12 |
---|
Using Windows 7 64 bit:
Tried some workarounds and recompiled the egg, but appearently, there is a problem when trying to run the "git" relying on PATH environment variable, and I also had problems when setting git_bin to:
C:\Program Files (x86)\Git\bin\git.exe
But I think this was a permissions issue. I have installed Git in C:\Git, pointed git_bin to "C:\Git\cmd\git.cmd" in trac.ini and that solved it.
Trac: 0.12 GitPlugin: 0.12.0.5
comment:4 Changed 14 years ago by
I found C:\Git\cmd\git.cmd substantially slower then using C:\Program Files\Git\bin\git.exe
C:\Git\cmd\git.cmd seems to open and closes numerous cmd.exe processes while git.exe uses git.exe and httpd.exe
comment:5 Changed 12 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Tickets should no longer be filed against TracGitPlugin. See GitPlugin or Git support in Trac 1.0.
I also have this problem!Help!