Skip to content

Instantly share code, notes, and snippets.

@piotrekkaminski
Last active August 8, 2023 08:38
Show Gist options
  • Save piotrekkaminski/9bc45ec84028611d621e to your computer and use it in GitHub Desktop.
Save piotrekkaminski/9bc45ec84028611d621e to your computer and use it in GitHub Desktop.
How to automatically download patches and release of Magento
1) First you need to generate download token. Login to your account on magento.com and generate it in Account Settings->Downloads Access Token
2) You will need your MAGEID as well. It is shown at the top-left in your account page.
3) curl -k https://MAGEID:[email protected]/products/downloads/info/help
4) Profit!
@gwillem
Copy link

gwillem commented May 17, 2016

Thanks, it seems to be working again!

@piotrekkaminski
Copy link
Author

yes, was just fixed

@zirho
Copy link

zirho commented Jan 19, 2017

curl -k https://MAG1:[email protected]/products/downloads/info/filter/type/ce-full | grep Sample
No sample data for old versions like. 1.8 or 1.7

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 27298  100 27298    0     0  32005      0 --:--:-- --:--:-- --:--:-- 32002
Magento Community Edition 2.0.2 with Sample Data.zip               Community Edition - Full          17e4849fb706334fcb5b32297cc9c56c          2016-01-28 06:33:00          2.0.2            Magento-CE-2.0.2+sample_data.zip
Magento Community Edition 2.0.2 with Sample Data.tar.gz            Community Edition - Full          c2b21874b0b5e6a46b2aa89bcf6c3ccb          2016-01-28 06:41:00          2.0.2            Magento-CE-2.0.2+sample_data.tar.gz
Magento Community Edition 2.0.2 with Sample Data.tar.bz2           Community Edition - Full          722664dc69f0be1e23e7adcef8c381fe          2016-01-28 06:48:00          2.0.2            Magento-CE-2.0.2+sample_data.tar.bz2
Magento Community Edition 2.0.4 with Sample Data.zip               Community Edition - Full          1ce9f662216409bcbf455c26719d9a2e          2016-03-31 14:34:00          2.0.4            Magento-CE-2.0.4+sample_data.zip
Magento Community Edition 2.0.4 with Sample Data.tar.gz            Community Edition - Full          bf3a547a8318527a42e89e8637f5fb56          2016-03-31 14:41:00          2.0.4            Magento-CE-2.0.4+sample_data.tar.gz
Magento Community Edition 2.0.4 with Sample Data.tar.bz2           Community Edition - Full          37e422a6fca5c5628ceacc90e81ec134          2016-03-31 14:47:00          2.0.4            Magento-CE-2.0.4+sample_data.tar.bz2
Magento Community Edition 2.0.5 with Sample Data.zip               Community Edition - Full          4735dd360ce1c256a59ae43ec20b4b8d          2016-04-28 16:28:00          2.0.5            Magento-CE-2.0.5+sample_data.zip
Magento Community Edition 2.0.5 with Sample Data.tar.gz            Community Edition - Full          91d33c561048c84d307042179474a6b8          2016-04-28 16:29:00          2.0.5            Magento-CE-2.0.5+sample_data.tar.gz
Magento Community Edition 2.0.5 with Sample Data.tar.bz2           Community Edition - Full          fddea4dfa5fd749ba0646e9d1147b0f2          2016-04-28 16:29:00          2.0.5            Magento-CE-2.0.5+sample_data.tar.bz2
Magento Community Edition 2.0.6 with Sample Data.zip               Community Edition - Full          61e1d9bc38c832e9034ada10e6a62f58          2016-05-17 08:04:00          2.0.6            Magento-CE-2.0.6+sample_data.zip
Magento Community Edition 2.0.6 with Sample Data.tar.gz            Community Edition - Full          a2bd51c608e54e9eacff81def1000095          2016-05-17 08:05:00          2.0.6            Magento-CE-2.0.6+sample_data.tar.gz
Magento Community Edition 2.0.6 with Sample Data.tar.bz2           Community Edition - Full          14cef9e9be75f513796caed634cc1834          2016-05-17 08:06:00          2.0.6            Magento-CE-2.0.6+sample_data.tar.bz2
Magento Community Edition 2.0.7 with Sample Data.zip               Community Edition - Full          -                                         2016-05-23 18:19:00          2.0.7            Magento-CE-2.0.7+sample_data.zip
Magento Community Edition 2.0.7 with Sample Data.tar.gz            Community Edition - Full          -                                         2016-05-23 18:21:00          2.0.7            Magento-CE-2.0.7+sample_data.tar.gz
Magento Community Edition 2.0.7 with Sample Data.tar.bz2           Community Edition - Full          -                                         2016-05-23 18:24:00          2.0.7            Magento-CE-2.0.7+sample_data.tar.bz2
Magento Community Edition 2.1.0 with Sample Data.zip               Community Edition - Full          5dedd8c445f53e6753c06d56d243dd55          2016-06-23 07:19:00          2.1.0            Magento-CE-2.1.0+Samples.zip
Magento Community Edition 2.1.0 with Sample Data.tar.gz            Community Edition - Full          53f790dced5fba47ad2bd7c8e8175563          2016-06-23 07:19:00          2.1.0            Magento-CE-2.1.0+Samples.tar.gz
Magento Community Edition 2.1.0 with Sample Data.tar.bz2           Community Edition - Full          2e3bc5d400a417dd5d45f5697e7661b5          2016-06-23 07:20:00          2.1.0            Magento-CE-2.1.0+Samples.tar.bz2
Magento Community Edition 2.0.9 with Sample Data.zip               Community Edition - Full          730c8511c2e643ad480553c0df44ded1          2016-08-10 08:10:00          2.0.9            Magento-CE-2.0.9+sample_data.zip
Magento Community Edition 2.0.9 with Sample Data.tar.gz            Community Edition - Full          beab39fc347d34b5bd96bc91e8ea959b          2016-08-10 08:12:00          2.0.9            Magento-CE-2.0.9+sample_data.tar.gz
Magento Community Edition 2.0.9 with Sample Data.tar.bz2           Community Edition - Full          78854d4482593f16050731a6e53db5a5          2016-08-10 08:13:00          2.0.9            Magento-CE-2.0.9+sample_data.tar.bz2
Magento Community Edition 2.1.1 with Sample Data.zip               Community Edition - Full          604ffe66f27e96cd55e83145089122e0          2016-08-29 11:33:00          2.1.1            Magento-CE-2.1.1+Samples.zip
Magento Community Edition 2.1.1 with Sample Data.tar.gz            Community Edition - Full          ae145bfcead28b3bc780b095c4030520          2016-08-29 11:41:00          2.1.1            Magento-CE-2.1.1+Samples.tar.gz
Magento Community Edition 2.1.1 with Sample Data.tar.bz2           Community Edition - Full          5dfa791adf34f51000a0f53aafa38c56          2016-08-29 11:46:00          2.1.1            Magento-CE-2.1.1+Samples.tar.bz2
Magento Community Edition 2.0.10 with Sample Data.zip              Community Edition - Full          7a7fcd3908fc6c44c9d680f42f0927b5          2016-10-06 12:31:00          2.0.10           Magento-CE-2.0.10+sample_data.zip
Magento Community Edition 2.0.10 with Sample Data.tar.gz           Community Edition - Full          d4d9cf5a3afc739ecd11cf1ece020ed7          2016-10-07 05:27:00          2.0.10           Magento-CE-2.0.10+sample_data.tar.gz
Magento Community Edition 2.0.10 with Sample Data.tar.bz2          Community Edition - Full          c2e06b63c6e37c49a92c836c83e4dd17          2016-10-07 05:29:00          2.0.10           Magento-CE-2.0.10+sample_data.tar.bz2
Magento Community Edition 2.1.2 with Sample Data.zip               Community Edition - Full          965cce735bef7f2ef2ccc7bd8444ae50          2016-10-07 05:39:00          2.1.2            Magento-CE-2.1.2+Samples.zip
Magento Community Edition 2.1.2 with Sample Data.tar.gz            Community Edition - Full          9825e00d182dcf646ec6e313ae1b11ec          2016-10-07 05:43:00          2.1.2            Magento-CE-2.1.2+Samples.tar.gz
Magento Community Edition 2.1.2 with Sample Data.tar.bz2           Community Edition - Full          d722640dd4ab8e7ba3b7fcdb7526a603          2016-10-07 05:52:00          2.1.2            Magento-CE-2.1.2+Samples.tar.bz2
Magento Community Edition 2.1.3 with Sample Data.zip               Community Edition - Full          4d8b5ed5be930314ebef1edd23c69d44          2016-12-13 13:23:00          2.1.3            Magento-CE-2.1.3+Samples.zip
Magento Community Edition 2.1.3 with Sample Data.tar.gz            Community Edition - Full          826ea63094ad0789aa02e3c62e9ec6f4          2016-12-13 13:26:00          2.1.3            Magento-CE-2.1.3+Samples.tar.gz
Magento Community Edition 2.1.3 with Sample Data.tar.bz2           Community Edition - Full          15195ff5814ae7be0350b48b368d3419          2016-12-13 13:28:00          2.1.3            Magento-CE-2.1.3+Samples.tar.bz2
Magento Community Edition 2.0.11 with Sample Data.zip              Community Edition - Full          b8a6bfa41ec758f3b4cc9ab67b8ad4e1          2016-12-13 13:30:00          2.0.11           Magento-CE-2.0.11+sample_data.zip
Magento Community Edition 2.0.11 with Sample Data.tar.gz           Community Edition - Full          c4c7fc8b0de0a04d47d97f4858b19da8          2016-12-13 13:33:00          2.0.11           Magento-CE-2.0.11+sample_data.tar.gz
Magento Community Edition 2.0.11 with Sample Data.tar.bz2          Community Edition - Full          88909f6d3ab3a78714749a02207dfb5d          2016-12-13 14:23:00          2.0.11           Magento-CE-2.0.11+sample_data.tar.bz2

@kassner
Copy link

kassner commented Feb 2, 2017

@piotrekkaminski

As stated here, all 1.9.2.4 sample data files are corrupted. How can we obtain them? Downloading from the Magento website gives me the same file as the API (same MD5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment