| 1 | <!-- phpmyvisites -->
 | 
|---|
| 2 | <a href="http://www.phpmyvisites.net/" title="phpMyVisites | Open source web analytics"
 | 
|---|
| 3 | onclick="window.open(this.href);return(false);">
 | 
|---|
| 4 | <script type="text/javascript">
 | 
|---|
| 5 | <!--
 | 
|---|
| 6 | var a_vars = Array();
 | 
|---|
| 7 | var pagename='';
 | 
|---|
| 8 | 
 | 
|---|
| 9 | var phpmyvisitesSite = 1;
 | 
|---|
| 10 | var phpmyvisitesURL = "http://www.cmtsite.org/phpmv2/phpmyvisites.php";
 | 
|---|
| 11 | //-->
 | 
|---|
| 12 | </script>
 | 
|---|
| 13 | <script language=javascript src="http://www.cmtsite.org/phpmv2/phpmyvisites.js"
 | 
|---|
| 14 | type="text/javascript"></script>
 | 
|---|
| 15 | <noscript>
 | 
|---|
| 16 | <p>phpMyVisites | Open source web analytics
 | 
|---|
| 17 | <img src="http://www.cmtsite.org/phpmv2/phpmyvisites.php" alt="phpMyVisites" style="border:0" />
 | 
|---|
| 18 | </p>
 | 
|---|
| 19 | </noscript>
 | 
|---|
| 20 | </a>
 | 
|---|
| 21 | <!-- /phpmyvisites --> 
 | 
|---|
| 22 | 
 | 
|---|
| 23 | 
 | 
|---|
| 24 | 
 | 
|---|
| 25 | 
 | 
|---|
| 26 | <center><h1><b>cmtcvs</b></h1></center>
 | 
|---|
| 27 | 
 | 
|---|
| 28 | <hr>
 | 
|---|
| 29 | <br>
 | 
|---|
| 30 |  
 | 
|---|
| 31 | <h2><a name="pluggin">The C++ version of the CVS plugin for CMT</a></h2>
 | 
|---|
| 32 | <blockquote>
 | 
|---|
| 33 | 
 | 
|---|
| 34 |        <p>The original version of the CVS plugin for CMT is implemented in shell script. 
 | 
|---|
| 35 |     However, in some cases, the performance issues impose to use a compiled version
 | 
|---|
| 36 |     instead. This is particularly appropriate when the repository is accessed through any
 | 
|---|
| 37 |     CVS server mechanism, sinc in this case, the only one machine accesses the repository.</p>
 | 
|---|
| 38 | 
 | 
|---|
| 39 |       <p>Here you can download the sources of this C++ implementation. This is
 | 
|---|
| 40 |     a CMT package that must be built and installed as follows:</p>
 | 
|---|
| 41 | 
 | 
|---|
| 42 | <ol>
 | 
|---|
| 43 |   <li><i> retreiving the plugin sources </i>
 | 
|---|
| 44 |            <blockquote>
 | 
|---|
| 45 |               <font face="courier new, courier" COLOR="#770077">
 | 
|---|
| 46 |                 <b>
 | 
|---|
| 47 |                   <pre>
 | 
|---|
| 48 | 
 | 
|---|
| 49 | > [ fetch the <a href="cmtcvsv1r1.tar.gz">tar file</a> ]
 | 
|---|
| 50 | > tar xzvf cmtcvsv1r1.tar.gz
 | 
|---|
| 51 | 
 | 
|---|
| 52 |                   </pre>
 | 
|---|
| 53 |                 </b>
 | 
|---|
| 54 |               </font>
 | 
|---|
| 55 |             </blockquote>
 | 
|---|
| 56 |   </li>
 | 
|---|
| 57 | 
 | 
|---|
| 58 |   <li> <i> building the pluggin </i>
 | 
|---|
| 59 | 
 | 
|---|
| 60 |            <blockquote>
 | 
|---|
| 61 |               <font face="courier new, courier" COLOR="#770077">
 | 
|---|
| 62 |                 <b>
 | 
|---|
| 63 |                   <pre>
 | 
|---|
| 64 | 
 | 
|---|
| 65 | > cd cmtcvs/v1r1/cmt
 | 
|---|
| 66 | > cmt config
 | 
|---|
| 67 | ksh> export CMTBIN=`uname`
 | 
|---|
| 68 | csh> setenv CMTBIN `uname`
 | 
|---|
| 69 | > source setup.[c]sh
 | 
|---|
| 70 | > gmake
 | 
|---|
| 71 | 
 | 
|---|
| 72 |                   </pre>
 | 
|---|
| 73 |                 </b>
 | 
|---|
| 74 |               </font>
 | 
|---|
| 75 |             </blockquote>
 | 
|---|
| 76 |   </li>
 | 
|---|
| 77 | 
 | 
|---|
| 78 |   <li> <i> installing the pluggin into CVS </i>
 | 
|---|
| 79 | 
 | 
|---|
| 80 |            <blockquote>
 | 
|---|
| 81 |               <font face="courier new, courier" COLOR="#770077">
 | 
|---|
| 82 |                 <b>
 | 
|---|
| 83 |                   <pre>
 | 
|---|
| 84 | 
 | 
|---|
| 85 | > mkdir /tmp/cmtcvsinfos
 | 
|---|
| 86 | > cd /tmp/cmtcvsinfos
 | 
|---|
| 87 | > cvs import -m "Installing the CVS pluggin" .cmtcvsinfos CMT v1r1
 | 
|---|
| 88 | > rmdir /tmp/cmtcvsinfos
 | 
|---|
| 89 | 
 | 
|---|
| 90 | 
 | 
|---|
| 91 | > cvs co CVSROOT 
 | 
|---|
| 92 | > cd CVSROOT
 | 
|---|
| 93 | > vi loginfo
 | 
|---|
| 94 | ...
 | 
|---|
| 95 | .cmtcvsinfos (<<i>absolute location of the pluggin</i>>/cmtcvs.exe %s)
 | 
|---|
| 96 | 
 | 
|---|
| 97 |    example at CERN:
 | 
|---|
| 98 | 
 | 
|---|
| 99 | .cmtcvsinfos (/afs/cern.ch/sw/contrib/CMT/cmtcvs/v1r1/`uname`/cmtcvs.exe %s)
 | 
|---|
| 100 | 
 | 
|---|
| 101 | > cvs commit -m "Installing the CVS pluggin for CMT"
 | 
|---|
| 102 | > cd ../
 | 
|---|
| 103 | > cvs release -d CVSROOT
 | 
|---|
| 104 | 
 | 
|---|
| 105 |                   </pre>
 | 
|---|
| 106 |                 </b>
 | 
|---|
| 107 |               </font>
 | 
|---|
| 108 |             </blockquote>
 | 
|---|
| 109 |   </li>
 | 
|---|
| 110 | </ol>
 | 
|---|
| 111 | 
 | 
|---|
| 112 | 
 | 
|---|
| 113 | 
 | 
|---|
| 114 | </blockquote>
 | 
|---|
| 115 |       
 | 
|---|
| 116 | 
 | 
|---|
| 117 | 
 | 
|---|
| 118 | 
 | 
|---|
| 119 | 
 | 
|---|