FAQ Get,update GIT project sources: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 1: Line 1:
[[Category:FAQ EN]]
[[Category:FAQ EN]]
{{TemplateDocDevEn}}
{{TemplateDocDevEn}}
This is informations on how you can get sources of Dolibarr project. This tutorial explains steps to follow using Eclipse IDE.
This is informations on how you can get sources of Dolibarr project.


= Prerequisite =  
=Get last version of sources by download=
First you must have a working install of Eclipse. '''EGit''' plugin must also have been installed.
This method allows you to get sources of main development branch (called HEAD): This operation consist to get last version of Dolibarr files that are packaged each night into a tgz file.
For this, use the '''Find And Install process''' into Eclipse menu, add the GIT update URL:
For this, go on page with [http://www.dolibarr.org/downloads/cat_view/64-development-version last source version of the day].


http://download.eclipse.org/egit/updates
New files overwrite old ones.
The inconvenient of this method is that you must download and uncompress package each time you want to get updates.


=Get last version of sources using a GIT anonymous access=
== Prerequisite ==
First you must have a working install of Eclipse. '''EGit''' plugin must also have been installed.
For this, use the '''Find And Install process''' into Eclipse menu, add the GIT update URL:
http://download.eclipse.org/egit/updates
Then choose to install '''EGit'''.
Then choose to install '''EGit'''.


=Get last version of sources using a GIT anonymous access=
To get sources with goal to edit them, you need a GitHub write access to the GIT remote repository, and a GIT client (GIT command line tool with Linux, or the GIT client in Eclipse). See next chapter for this.
 
To get sources with goal to edit them, you need a GitHub write access to the GIT remote repository, and a GIT client (GIT command line tool with Linux, or the GIT client in Eclipse).


First, enter value of the repository with reference sources into your GIT client tool.
First, enter value of the repository with reference sources into your GIT client tool.
Line 59: Line 63:


=Get last version of sources using a full GIT access=
=Get last version of sources using a full GIT access=
== Prerequisite ==
First you must have a working install of Eclipse. '''EGit''' plugin must also have been installed.
For this, use the '''Find And Install process''' into Eclipse menu, add the GIT update URL:
http://download.eclipse.org/egit/updates
Then choose to install '''EGit'''.
You must before create an account on GitHub (https://github.com/) and upload a public RSA or DSA certificate into your account profile.
You must before create an account on GitHub (https://github.com/) and upload a public RSA or DSA certificate into your account profile.


Line 140: Line 150:


More information in GIT usage is available [http://wiki.eclipse.org/EGit/User_Guide here].
More information in GIT usage is available [http://wiki.eclipse.org/EGit/User_Guide here].
=Get last version of sources by download=
This method allows you to get sources of main development branch (called HEAD): This operation consist to get last version of Dolibarr files that are packaged each night into a tgz file.
For this, go on page with [http://www.dolibarr.org/downloads/cat_view/64-development-version last source version of the day].
New files overwrite old ones.
The inconvenient of this method is that you must download and uncompress package each time you want to get updates.

Navigation menu