Archive:FAQ Get,update project sources CVS

This is informations on how you can get sources of Dolibar project.

=Get last version of sources using a CVS anonymous access=

With no Savannah account or no CVS write privileges, you can still get files with a CVS client (WinCVS or TortoiseCVS for example with Windows, or the CVS client in Eclipse).

The command to get a full snapshot in working directory is:

HEAD means we want last version of files (so last development files).

=Get last version of sources using a full CVS access=

To get sources with goal to edit them, you need a Savannah write CVS access to the CVS repository (You must declare your public key to https://savannah.gnu.org/my/admin/editsshkeys.php), and a CVS client (CVS command line tool with Linux, WinCVS or TortoiseCVS for example with Windows, or the CVS client in Eclipse).

The command to get a full snapshot in a working directory is: HEAD means we want last version of files (so last development files).

=Get complementary modules=

A CVS repository for non official or rare Dolibarr modules is also available into CVS module dolibarrmod

=Update your repository=

The command to update files that was caught with previous CVS command:

With linux: With Windows and Tortoise cvs And to set back all your working directory with same files than on CVS server repository (canceling your local changes):

With linux: With Windows and Tortoise cvs

May be, you will have to change permissions on directories or files after to make then readable by users of your Dolibarr web server.

=Get files for a particular CVS branch=

If you want to work on a particular version (with its patches), you must follow same process but you must replace HEAD by name of the branch. For example DOLIBARR_2_2_BRANCH for branch 2.2 or DOLIBARR_2_4_BRANCH for branch 2.4.

=Get last version of sources by download=

This method allows you to get CVS version of main development branch (called HEAD). This operation consist to get last version of Dolibarr files that are packaged each night into a zip file. For this, go on page with last CVS version of the day.

New files will overwrite old ones. The inconvenient of this method is that you must download and uncompress again all archive file to get updates.