Forum OpenACS Q&A: CVS checkout

Collapse
Posted by David Lee on
I'm trying to checkout some openACS modules like forums-portlet and xowiki (things that aren't in the openACS repository). I'm not using CVS for versioning and I don't have a development server or anything. I'm just playing around with openACS and just started web related stuff about 1 month ago, so I don't want to worry about too much at the moment. (first step is just to figure openACS out....)

So...my question is, how can I simply check out something like xowiki without setting up all the things required for versioning? I tried typing the command:
cvs -d:pserver:mailto:anonymous@cvs.openacs.org:/cvsroot co -r oacs-5-1 forums-portlet
It seemed like something worked because a bunch of stuff scrolled down my terminal window, but when I went to install from local, there was nothing there. Am I supposed to be in a specific folder?
I also tried:
cvs -d:pserver:mailto:anonymous@cvs.openacs.org:/cvsroot checkout -r oacs-5-1 forums-portlet
This also scrolled a bunch of things down my window, but still no result in "Install from Local" Any ideas?

Collapse
2: Re: CVS checkout (response to 1)
Posted by Helge Wilker on
First: the two cvs command lines you gave are equivalent -- "co" is just an abbreviation of "checkout".

After running that command, there should be a directory called "forums-portlet" in your working directory. This contains the complete forums-portlet package.

To install this package with the OpenACS Package Manager (APM), its directory must be located under <service>/packages. So you either need to move the directory there, or check it out under <service>/packages. If the directory is there, it should appear in the APM under "Install from local".

Note that many packages have dependencies on other packages which are necessary for a successful install. The APM helpfully lists all necessary packages and complains about those that are missing. You would usually have to check them out from CVS as well.

Instead of reloading the APM page any number of times and checking out one package after the other, you can also look at the .info file in each package directory. Look for lines saying "required" and check out the packages given there. You can check out multiple packages with a single cvs command, just list them all: "cvs ... forums-portlet project-manager ..."

Repeat for each new package until all dependencies are fulfilled.

Another way would be to just simply check out the whole OpenACS directory, if you can live with a crowded packages/ directory.