Getting GNUmed source from CVS

Getting GNUmed anonymously

Your system should be ready to run GNUmed if it meets the following requirements. What you need to install now is GNUmed itself. You need a program called cvs. CVS is program that helps programmers manage source code in a so called repository. Mac OS does not ship with cvs pre-installed but it is included in the optional Xcode installer on the Mac OS Install DVD. Please check if you have cvs installed. Open a shell and type

    cvs --version
   
The output should somewhat look like this.

     ./cvs --version
     Concurrent Versions System (CVS) 1.12.9 (client/server)

     Copyright (c) 1989-2004 Brian Berliner, david d `zoo' zuhn,
     Jeff Polk, and other authors

     CVS may be copied only under the terms of the GNU General Public License,
     a copy of which can be found with the CVS distribution kit.

     Specify the --help option for further information about CVS
     

This means you have a command line cvs client installed.

Now you need to get the GNUmed source code from CVS. This is called a checkout. It means you check out a copy of the source code from the CVS repository (master tree). Note that installing a copy of the CVS tree isn't intended to be available system-wide. In fact, the client has been programmed to refuse to run under root and should be installed under the directory of the user that is to use it e.g. /home/userLogin/ with a suggested path: projects/gm-cvs-head/

You have at least three options to actually get GNUmed from CVS:

  1. Use your favorite CVS GUI client (e.g. Eclipse).
  2. Use a shell script which makes use of the commandline cvs client:
    • make a directory on your computer into which you want the source to go, and change into it
    • download into it the shell script get-gnumed-anon.sh e.g. using a browser. From the command line you can try one of the following with or without sudo, depending on your privileges:
        wget http://cvs.savannah.gnu.org/viewcvs/*checkout*/gnumed/gnumed/get-gnumed-anon.sh
        sudo wget http://salaam.homeunix.com/~ncq/gnumed/cvs-access/get-gnumed-anon.sh
        
    • run the script and a directory called gnumed will be created, containing all the files you will need. (For those still new to command line, ./ must be prepended i.e. ./get-gnumed-anon.sh.)
  3. Type the commands into a shell yourself.
    • make a directory on your computer you want the source to go in and change into it
    • follow these instructions for modulename = gnumed (omit the <>), taken from Savannah:
      Anonymous CVS Access
      
      This project's CVS repository can be checked out through anonymous CVS over SSH
      with the following instruction set. The module you wish to check out must be
      specified as the modulename. When prompted for a password for anoncvs, simply
      press the Enter key.
      
      Software repository :
      
      export CVS_RSH="ssh"
      
      cvs -z3 -d:pserver:anonymous@cvs.savannah.gnu.org:/sources/gnumed co gnumed
            

You should now have a directory called gnumed in the directory you called the commands from, either via shell script, graphical user interface or command line.

Assuming you have already taken care of the dependencies as linked above, you should be "good to go". Proceed to StartingGnumed.

Getting GNUmed as a GNUmed developer

Anyone who is new to the project should first download anonymously, as this will save registration hassles and has no downside until you would become a more frequent contributor. In the meantime, any patches people would like to contribute will still be gratefully received. Patches should be against either the pretty-much-latest CVS or else the latest released version and emailed to Karsten.

Registration as a developer will require authorization by an already-registered person. You must also have successfully activated a public ssh key as elaborated at Savannah.

Once you have registered, you can run the shell script get-gnumed-user.sh instead of get-gnumed-anon.sh or, if you prefer to type in the command yourself, follow the instructions at Savannah under the "Project member" section of the page.

Assuming you have already taken care of the dependencies as linked above, you should be "good to go". Proceed to StartingGnumed.

Topic revision: r13 - 13 Aug 2009 - 15:36:31 - JamesBusser
 

TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback