Page History
- 2008-Jun-03 03:36 anonymous
- 2008-Mar-14 03:14 anonymous
- 2007-Nov-06 12:38 ono
- 2007-Nov-06 12:18 ono
- 2007-Nov-06 11:07 ono
- 2007-Nov-05 18:25 ono
- 2007-Nov-05 18:22 ono
- 2007-Nov-05 18:03 ono
- 2006-Jun-02 17:11 anonymous
- 2006-May-26 15:03 drh
- 2006-May-26 15:03 drh
- 2006-May-26 15:02 drh
- 2006-Feb-08 04:14 anonymous
- 2006-Feb-08 03:51 anonymous
- 2004-Jun-04 06:05 anonymous
- 2004-May-29 16:16 anonymous
- 2004-May-29 16:15 anonymous
- 2004-Feb-06 16:16 anonymous
- 2003-Nov-23 12:41 anonymous
- 2003-Jul-17 18:19 anonymous
- 2003-Feb-14 20:40 anonymous
- 2002-Sep-03 11:47 anonymous
- 2002-Aug-05 23:40 anonymous
- 2002-Aug-05 18:43 anonymous
CVSTrac compiles and runs now natively on Windows. Latest binary build can be downloaded here at attachments section (7-zip format).
CVSTrac Windows version supports:
- password synchronization with Windows domain accounts
- Microsoft IIS support
- compatibility with other CGI generic servers
Note: This Windows version doesn't yet run as standalone HTTP server. See CVSTracNT project below if you need this functionality.
Compiling CVSTrac Windows version
In order to compile CVSTrac Windows recent versions of MinGW (gcc 3.4 or later) and crypt (1.1 or later) need to be installed first. MinGW and crypt can be downloaded from:
http://www.mingw.org/download.shtml
http://sourceforge.net/project/showfiles.php?group_id=2435
CVSTrac also depends on SQLite and regex libraries that can be downloaded from:
http://www.sqlite.org/download.html
ftp://ftp.gnu.org/pub/gnu/regex/regex-0.12.tar.gz
Download the sources (CVS or minimum 2.0.2) as described in:
http://www.cvstrac.org/cvstrac/wiki?p=DownloadCvstrac
Before you run make
make sure you fix the libraries paths in win32-mingw.mak
files (INCDIRSQLITE
, LIBDIRSQLITE
, LIBREGEX
).
When you have made appropriate changes in win32-mingw.mak
, build the binary using:
make -f win32-mingw.mak
After the build is finished you should find cvstrac.exe
in the CVSTrac sources files folder. (You may rename it to svntrac.exe
for Subversion mode)
Installing CVSTrac on Windows
Currently CVSTrac can be installed only as CGI module for Microsoft IIS or Apache HTTP Server. Native Windows builds doesn't (yet) run as standalone HTTP daemon.
Relatively to the versioning system used together CVSTrac, CVSNT or Subversion binaries need to be installed first before running CVSTrac. They can be obtained at:
http://www.cvsnt.org/
http://subversion.tigris.org/project_packages.html
Note: CVS or Subversion binary folders need to be added to system PATH
.
Installing CVSTrac on Apache HTTP Server
Follow general Apache documentation to install CVSTrac as CGI module:
http://httpd.apache.org/docs/2.0/howto/cgi.html
Installing CVSTrac on Microsoft IIS
It is possible to install cvstrac so it will be visible at nice URL like http://yourwebsite/tracker/YourProject/ on IIS with few easy tricks.
This sample shows how to do that on IIS 6 for Windows 2003/XP or later.
We will use adsutil.vbs
from C:\InetPub\AdminScripts
.
We assume that cvstrac is compiled into cvstrac.exe
put in C:\pathtocvstrac\bin
, also that we have some projects databases initialized in C:\pathtocvstrac\db
using cvstrac init
.
- We need to modify
adsutil.vbs
to be able somehow pass quote (") character as parameter (Note: Quotes are markets for win32 console therefore you cannot pass it easily as parameters without escaping it somehow).
Line 426, find:
Case "STRING" IIsObject.Put ObjectParameter, (ValueList)
Replace with:
Case "STRING" ValueList = Replace(Args(2), "''", """") ' Replace quotes IIsObject.Put ObjectParameter, (ValueList)
Line 449, find:
Case "LIST" ReDim ValueList(ArgCount - 3) For ValueIndex = 2 To ArgCount - 1 ValueList(ValueIndex - 2) = Args(ValueIndex) Next
Replace with:
Case "LIST" ReDim ValueList(ArgCount - 3) For ValueIndex = 2 To ArgCount - 1 ValueList(ValueIndex - 2) = Replace(Args(ValueIndex), "''", """") ' Replace quotes Next
- Now we can create mapping in our website (use relevant number instead sample
w3svc/1
shown, default IIS site isw3svc/1
):
adsutil.vbs create w3svc/1/Root/tracker IIsWebFile adsutil.vbs set w3svc/1/Root/tracker/ScriptMaps "*,''C:\pathtocvstrac\bin\cvstrac.exe'' cgi C:\pathtocvstrac\db,1,GET,HEAD,POST"
- Now you should be able to check if everything is fine with:
C:\InetPub\AdminScripts>adsutil enum w3svc/1/Root/tracker KeyType : (STRING) "IIsWebFile" ScriptMaps : (LIST) (19 Items) "*,"C:\pathtocvstrac\bin\cvstrac.exe" cgi C:\pathtocvstrac\db,1,GET,HEAD,POST"
... and from now we should be able to use cvstrac on IIS.
CVSTracNT
(There is also CVSTracNT project that is not actively developed anymore)
It is transitioned to Windows version with extra tools and an installer.
CVSTracNT is registered at SourceForge:
http://sourceforge.net/projects/cvstracnt/
You can always download the latest version from here:
http://download.cnpack.org/CVSTracNT.exe
See also: CvstracNtIntroduction
by Jingyu Zhou(zjy@cnpack.org) from China.
Attachments:
- cvstrac-2.0.1-MinGW-20071107.7z 252796 bytes added by ono on 2007-Nov-07 12:54:12 UTC.
CVSTrac for Windows (MinGWgcc 4.2.1
) 2007-Nov-07 CVS build