Changes

Jump to navigation Jump to search
m
Line 14: Line 14:  
New files will overwrite old ones.
 
New files will overwrite old ones.
   −
'''Get last version of sources using CVS anonymous'''
+
'''Get last version of sources using a full CVS access'''
   −
Another way to get last CVS version is to use CVS tools. You can use the [http://savannah.nongnu.org/cvs/?group=dolibarr CVS server in anonymous mode], if you have a CVS client (CVS command line tool with Linux, or TortoiseCVS for example with Windows).
+
Another way to get last CVS version is to use CVS tools. You need a Savannah write CVS access to CVS repository and a CVS client (CVS command line tool with Linux, or TortoiseCVS for example with Windows).
   −
The command to get a full snapshot (with no CVS hidden files) in working directory is:
+
The command to get a full snapshot in a working directory is:
 +
''
 +
CVSROOT=:pserver:yourlogin@cvs.savannah.nongnu.org:/cvsroot/dolibarr
 +
export CVSROOT
 +
cvs -q checkout -r HEAD dolibarr
 +
''
 +
HEAD means we want last version of files (so last development files).
 +
 
 +
'''Get last version of sources using a CVS anonymous access'''
 +
 
 +
With no Savannah CVS write access, you get still file with a CVS client (CVS command line tool with Linux, or TortoiseCVS for example with Windows).
 +
 
 +
The command to get a full snapshot in working directory is:
 
''
 
''
 
  CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr
 
  CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr
Line 25: Line 37:  
''
 
''
 
HEAD means we want last version of files (so last development files).
 
HEAD means we want last version of files (so last development files).
 +
 +
'''Update your repository'''
    
The command to update files that was caught with previous CVS command:
 
The command to update files that was caught with previous CVS command:
''With linux (script shell):
+
''With linux:
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr
  −
export CVSROOT
   
  cvs -q update -P -d
 
  cvs -q update -P -d
 
With Windows and Tortoise cvs
 
With Windows and Tortoise cvs
  "C:\Program Files\CVSNT\cvs.exe" -q update -P -d
+
  "C:\Program Files\CVSNT\cvs.exe" -q update -P -d''
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr''
   
And to set back all your working directory with same files than on CVS server repository (canceling your local changes):
 
And to set back all your working directory with same files than on CVS server repository (canceling your local changes):
''With linux (script shell):
+
''With linux:
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/cvsroot/dolibarr
  −
export CVSROOT
   
  cvs -q update -P -C -d
 
  cvs -q update -P -C -d
 
With Windows and Tortoise cvs
 
With Windows and Tortoise cvs
 
  "C:\Program Files\CVSNT\cvs.exe" -q update -P -C -d
 
  "C:\Program Files\CVSNT\cvs.exe" -q update -P -C -d
CVSROOT=:pserver:anonymous@cvs.savannah.nongnu.org:/sources/dolibarr
      
May be, you will have to change permissions on directories or files after to make then readable by users of your Dolibarr web server.
 
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 CVS branch'''
+
'''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.
 
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.
 
For example DOLIBARR_2_2_BRANCH for branch 2.2 or DOLIBARR_2_4_BRANCH for branch 2.4.
   −
'''Restore your configuration'''
+
'''Make configuration'''
   −
Restore configuration file (./htdocs/conf/conf.php) with backup made previously if file has been erased/removed.
+
Restore configuration file (./htdocs/conf/conf.php) with backup made previously if file has been erased/removed (should not) or make your web server to point to Dolibarr ./htdocs directory and run the install process.
    
'''Update database'''
 
'''Update database'''
   −
Next step is ti upgrade your database. For this, all you have to do is call page
+
If you make an update of sources, the next step is to upgrade your database. For this, all you have to do is call page
 
http://myrootdolibarr/install/
 
http://myrootdolibarr/install/
 
and choose option "Update".
 
and choose option "Update".
Line 62: Line 70:  
This process was built to work whatever is start step and can be run and rerun several times with no risks.
 
This process was built to work whatever is start step and can be run and rerun several times with no risks.
   −
'''Other repository'''
+
'''Other repositories'''
    
A CVS repository for non officials modules is also available on Sourceforge:
 
A CVS repository for non officials modules is also available on Sourceforge:

Navigation menu