cancel
Showing results for 
Search instead for 
Did you mean: 

Diff between GitHub and magento.com releases

SOLVED

Diff between GitHub and magento.com releases

Trying to figure out which archive I am better off using..

 

I can pull the 2.0.4 tagged zip from github (magento2-2.0.4.zip, about 34MB) and it has the core code in /app/code.

 

Alternatively if I go to Magento.com and download the latest 2.0.4 (full filename is Magento-CE-2.0.4-2016-03-31-10-48-19.zip, about 70MB), all of the core code is found in:

 

/vendor/magento

 

It also has about twice as many files in /vendor/magento than is in the github archive's /app/code folder! And then of course all the other folders in /vendor...

 

Is one archive better or more appropriate depending on who you are? I assume that I should be using CE-2.0.4-2016-03-31-10-48-19.zip downloaded from magento.com, but I am not sure why.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Diff between GitHub and magento.com releases

My advice is if you want to use Magento, you stay away from GitHub. If you want to contribute a bug fix to CE, then you use GitHub.

 

You can start a project using "composer create-project" and it will download official released packages from our Composer repo. This is how we release official patches. It will also be how you purchase extensions. What we did for the bigger ZIP on magento.com is do this for you and then ZIP the result (including all the dependencies). So its a single ZIP file to extract and it just runs.

 

The problem with going to GitHub is you cannot install patches via Composer. If you install a single extension from the Marketplace (live soon) you will not be able to do an upgrade later due to a half mix of GitHub (non-packaged) and Composer based installed pieces.

 

So, my simple advice is "never use GitHub". When you know enough to understand the difference, then you can ignore my advice! ;-)

View solution in original post

1 REPLY 1

Re: Diff between GitHub and magento.com releases

My advice is if you want to use Magento, you stay away from GitHub. If you want to contribute a bug fix to CE, then you use GitHub.

 

You can start a project using "composer create-project" and it will download official released packages from our Composer repo. This is how we release official patches. It will also be how you purchase extensions. What we did for the bigger ZIP on magento.com is do this for you and then ZIP the result (including all the dependencies). So its a single ZIP file to extract and it just runs.

 

The problem with going to GitHub is you cannot install patches via Composer. If you install a single extension from the Marketplace (live soon) you will not be able to do an upgrade later due to a half mix of GitHub (non-packaged) and Composer based installed pieces.

 

So, my simple advice is "never use GitHub". When you know enough to understand the difference, then you can ignore my advice! ;-)