The inclusion of the libraries in source form is required by many licenses if the library is not installed by a package manager in distributable form. There are several disadvantages with the current approach:
- Having the library in source form means that the entire weight of the library’s size carries over the overall size of the Mayan EDMS distribution files. The justification for not doing this is the same as with the Python libraries which are not copied with the code but downloaded upon installation.
- Upgrading the libraries means manually examining the version of the installed in the project and manually searching, downloading, compressing and adding the files to the repository.
- The source form of the libraries includes normal and minified versions of the code and the accompanying CSS files. There is no define preference and through the project both versions of the libraries are loaded interchangeably. Using a packager manager the minified version would be used of a pipeline to minify the installed libraries should be added.