FAQ Release process
Introduction
This page describe what is the release process of a new stable version of Dolibarr ERP CRM.
A new version is build following different steps:
A development period -> A beta period -> A final and freezed version
This is description of the 3 steps.
Development
First step is development of software. Sources can be download from GitHub at http://github.com/Dolibarr/dolibarr Any developer can download sources and work on his side using git and submit request to include changes they develop.
See FAQ_Get,update_GIT_project_sources for more information on this.
Only people with the grade *Dolibarr Yoda* can accept to include changes into official development sources.
See Dolibarr_Project#Developer_grade_Yoda_.28GIT_project_and_commit_leader.2C_head_release_manager.29 for list of people with this grade.
Beta period
When enough changes are included into version, and according to planning, the Dolibarr Yoda decide to start the beta. Starting from this point, no new features are added.
See page Category:RoadMap for standard planning of new versions and rules that define what kind of code can be modified or not during a beta period.
The packaging of final release
When beta period end (no more serious bugs are reported and opened), the Dolibarr Yoda decide to start the freeze of final version. The name of the version is define to a value X.Y.Z.
Note: Only the Dolibarr Yoda can has permissions to make this process.
- Firstly, final Unit Tests are run. If 1 test is wrong, process is stopped here and go back to beta phase.
Once all tests are ok, the following steps are done automatically using the packaging tool makepack_dolibarr.pl :
- The tool add a Tag that is the name of version (so X.Y.Z) on files of the official source repository. So starting from now, all files for the dedicated version are known and won't change anymore.
- The tool generates the file filelist.xml than contains the list of files of the version with a MD5 signature and value of version.
- TODO The tool send the signature file filelist.xml of the Dolibarr version on the official Dolibarr server. TODO This file could be read by any installed application to check the integrity of the version (one byte modified, will change the signature).
- The tool build all official distribution packages (.exe, .deb, .rpm, .zip). Content of such packages match the content of the signature file since it is build during same process.
- The tool upload the generated packaged into the official Dolibarr archive server to have them archived also in a binary form. This archives can be read from page https://www.dolibarr.org/files/stable/
- The tool upload the generated packaged into the mirror archive servers hosted at http://www.sourceforge.net. This is an mirror hosting, official reference remain the Dolibarr archive area hosted by the Dolibarr team so https://www.dolibarr.org/files/stable/.
- Starting from now, a new cycle can start. A new development period start from sources of the version.
- TODO At any time, from the menu System Tools / About Dolibarr / Check integrity, an admin user can check and validate integrity of its installed version compared to official reference. The tool calculate signature of each file and compare it with official signature. All removed and modified files are reported.
- At any time, a developer can, from Github and using the Tag created at first step of release process and get all files of any stable version.