Delta Upgrade: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Add a page to explain how to get an archive of only add/changed files between two Dolibarr versions.)
Tag: 2017 source edit
 
mNo edit summary
Line 9: Line 9:


The following page describe how to retreive an archive containing only changed files between two Dolibarr versions using the Git repository.
The following page describe how to retreive an archive containing only changed files between two Dolibarr versions using the Git repository.
For the example, we take an upgrade from 11.0.1 to 11.0.2 but you can change the versions to suit your needs.
For the example, we take an upgrade from 11.0.1 to 11.0.2 but you can change the versions to suit your needs.


* First, start by cloning the Dolibarr repository locally on your machine
 
*First, start by cloning the Dolibarr repository locally on your machine


<syntaxhighlight lang="shell">
<syntaxhighlight lang="shell">
Line 19: Line 21:
A new directory named <code>dolibarr</code> containing the Dolibarr source code from all branches will be located on your current path.
A new directory named <code>dolibarr</code> containing the Dolibarr source code from all branches will be located on your current path.


* Switch to the cloned repository
*Switch to the cloned repository


<syntaxhighlight lang="shell">
<syntaxhighlight lang="shell">
Line 25: Line 27:
</syntaxhighlight>
</syntaxhighlight>


* Create a local branch with the code from the latest released tag
*Create a local branch with the code from the latest released tag


<syntaxhighlight lang="shell">
<syntaxhighlight lang="shell">
Line 31: Line 33:
</syntaxhighlight>
</syntaxhighlight>


* Create an archive of the changed files between 11.0.1 and 11.0.2
*Create an archive of the changed files between 11.0.1 and 11.0.2


<syntaxhighlight lang="shell">
<syntaxhighlight lang="shell">

Navigation menu