Usage of composer

Hi there,

Am I the only one to be surprised when downloading the full instance of Sugar V12 Enterprise ? 

The zip is 100Mb gross, and the unzipped instance approximately 300Mb ... 

Why Sugar is embarking the whole vender folder on their zip files instead of using composer which is already there ?

Maybe , or can help us for this choice ? 

Best regards,

Enes

  • Hi Enes,

    The answer is simple: "compatibility". We ship them so we have a consistent environment across all of our thousands and thousands of installs around the globe. We ensure that your extensions and code will work in any environment.

    If we were to use composer, we could download different patch and/or file versions that are not supported or have not been extensively QAed before it's shipped. 

    Our zip files contain the bare minimum supported libs that is required for Sugar to work, they are minified and compiled as much as possible.

    Furthermore, by using composer it would consume much more than 300mb just by caching, adding unnecessary libs, source, compiling code leaving trash in your disk, etc..

    100mbs for an entire platform such as Sugar Enterprise and all it has to offer? Not "gross" but very fair.

    I hope this answer your question.

    SugarCRM | Principal Developer Advocate

  • Hello Rafael,

    Thanks a lot for your detailed response, it make sens on every points :-)

    Have a nice evening !

    Best regards,

    Enes