Dependencies and external libraries: Difference between revisions

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
All those external embedded libraries must respect the following rules:
All those external embedded libraries must respect the following rules:
* They must be compatible with Dolibarr license. The file '''COPYRIGHT''' inside Dolibarr root directory list all embedded libraries and their license.
* They must be compatible with Dolibarr license. The file '''COPYRIGHT''' inside Dolibarr root directory list all embedded libraries and their license.
* If a change is made inside original external library code, this change must be notified inside file '''htdocs/includes/dolibarr_changes.txt'''. In most cases, you should not have to edit external libraries and should use them as they are provided. This is to make upgrade of libraries possible with no need to report code changes after an upgrade.
* If a change is made inside original external library code, this change must be notified inside file '''devs/dolibarr_changes.txt'''. In most cases, you should not have to edit external libraries and should use them as they are provided. This is to make upgrade of libraries possible with no need to report code changes after an upgrade.


= Apache Libraries =
= Apache Libraries =

Revision as of 08:12, 20 April 2012

Libraries embedded inside source code

All libraries embedded into Dolibarr distribution are located inside directory htdocs/includes:

A complete and up to date list of Dolibarr dependencies is available on this file: https://github.com/Dolibarr/dolibarr/blob/develop/COPYRIGHT

You can change the tag or branch of version to get the good file for a given Dolibarr version

All those external embedded libraries must respect the following rules:

  • They must be compatible with Dolibarr license. The file COPYRIGHT inside Dolibarr root directory list all embedded libraries and their license.
  • If a change is made inside original external library code, this change must be notified inside file devs/dolibarr_changes.txt. In most cases, you should not have to edit external libraries and should use them as they are provided. This is to make upgrade of libraries possible with no need to report code changes after an upgrade.

Apache Libraries

No particular libraries required.

PHP Libraries

No particular libraries required.