I'm currently working on an intranet application, covering project management and software development.
For the first part, I use the workflow module. For the second part, I'm using your CVS module. But I'm finding it difficult to set up, since there isn't any documentation, apart from the (very helpful) comments in the source code.
I'm logging all I do to set up the intranet site, and am willing to feed back the parts concerning your module, so others may benefit from it as well, but would like to know whether or not anyone has some parts of documentation ready?
If so, please mail them to me; I'll extend them. They may also be of help to me ;-).
I understand how to import CVS users, but don't get any commit-messages to show up inside my drupal site.
Anyone can help me about setting up automatic retrieval? Or using the xcvs scripts?

Regards, and thanks for your nice module!

Comments

dww’s picture

re: getting commit messages into your site, yeah, you need to setup the xcvs-* scripts. the cvslog/xcvs/README.txt file is pretty detailed, that's a good place to start.

otherwise, no, there aren't any existing docs for this module. it's one of many things that needs to be done which i haven't had time for. :(

let me know if that README.txt isn't enough info, and we can at least try to get enough info in there to be useful.

cheers,
-derek

Jürgen Depicker’s picture

Thanks for your reply. I've read that README, and modified it. But now what to do:

  1. Do I set the retrieval to 'external scripts' in admin/cvs/repositories/edit/1?
  2. Which protocol is preferable for CVS root; I digged the code trying to find out why it didn't work for me, and it seems to me only pserver is implemented. I may be wrong though.
  3. Do I need to put the xcvs scripts elsewhere?
  4. Or should I modify some files in my CVSROOT and if so, can you give an example?
  5. Where can I find a 'commit to cvs' menu item, or is this not implemented?
  6. A suggestion for starting the handbook page: where to post it?

Other suggestion:
I would modify the title of the menu Administer>>CVS to Administer>>CVS Accounts or Administer>>CVS Connections since here we manage the CVS accounts and repositories. The name CVS conflicts with the settings>>cvs menu item, which is quite confusing.

Thanks in advance for your time,
Jürgen.

Jürgen Depicker’s picture

I've done some major digging. Not running yet, but on my way...

Results so far:
(my company firewall blocks the cvs port, so I give modifications in text)

Windows-incompatibility solved

xcvs-config.php v 1.1.2.3.2.4 2006/11/12 07:57:44 dww: line 37; Add the following:

//The path to your cvs executable; DO NOT USE SPACES IN THIS PATH
//on linux systems: "/usr/bin/cvs"
$xcvs["cvs_exe"]="C:\Programs\cvsnt\cvs.exe";

xcvs-loginfo.php v 1.1.2.1.2.2 2006/11/12 07:57:44 dww: line 151; Replace with the following:
exec("$xcvs[cvs_exe] -Qn -d $_ENV[CVSROOT] rlog -N -r$data[new] $path", $cvslog, $ret);

dww’s picture

re: using cvslog.module on windoze, see: http://drupal.org/node/93699.

sorry,
-derek