Skip to content

Commit 842c37b

Browse files
author
Onischenko, Yaroslav(yonischenko)
committed
Merge pull request magento#1 from magento-nord/develop
[NORD] Migration Tool 2.0.0
2 parents 60f3ef3 + d419cc9 commit 842c37b

446 files changed

Lines changed: 122156 additions & 3940 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

COPYING.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Each Magento source file included in this distribution is licensed under OSL 3.0 or the Magento Enterprise Edition (MEE) license
2+
3+
http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
4+
Please see LICENSE.txt for the full text of the OSL 3.0 license or contact license@magentocommerce.com for a copy.
5+
6+
Subject to Licensee's payment of fees and compliance with the terms and conditions of the MEE License, the MEE License supersedes the OSL 3.0 license for each source file.
7+
Please see <insert file name of the MEE license> for the full text of the MEE License or visit http://magento.com/legal/terms/enterprise.

README.md

Lines changed: 90 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,95 @@
1-
# Magento Migration Tool
1+
## Overview
2+
We're pleased you're considering moving from the world's #1 eCommerce platform—Magento 1.x—to the eCommerce platform for the future, Magento 2. We're also excited to share the details about this process, which we refer to as migration.
23

3-
Migration Tool designed to move data from Magento 1.x to Magento 2.x
4+
Magento 2 migration involves four components: data, extensions, themes, and customizations.
5+
6+
* Data: We've developed the Magento 2 Data Migration Tool to help you efficiently move all of your products, customers, and order data, store configurations, promotions and more to Magento 2.
7+
8+
* Custom code: Code is not ported because it cannot be automated.
9+
10+
* Extensions: We are working with the Magento development community on updating extensions. They will be on Magento Connect when Magento 2 becomes generally available. More information on developing extensions for Magento 2 is available in the <a href="http://devdocs.magento.com/guides/v1.0/extension-dev-guide/bk-extension-dev-guide.html">Magento 2 Extension Developer Guide</a>.
11+
12+
* Themes and Customizations: Magento 2 uses new approaches and technologies that give merchants an unmatched ability to create innovative shopping experiences and scale to new levels. To take advantage of these advances, developers will need to make changes to their themes and customizations. Documentation is available online for creating Magento 2 <a href="http://devdocs.magento.com/guides/v1.0/frontend-dev-guide/themes/theme-general.html">themes</a>, <a href="http://devdocs.magento.com/guides/v1.0/frontend-dev-guide/layouts/layout-overview.html">layouts</a>, and <a href="http://devdocs.magento.com/guides/v1.0/frontend-dev-guide/layouts/xml-manage.html">customizations</a>.
13+
14+
### Supported versions
15+
This edition of tool supports the following versions for migration:
16+
17+
* Community Edition (CE) version 1.6.x, 1.7.x, 1.8.x, 1.9.x
418

519
## Prerequisites
20+
Before you start your migration, you must do all of the following:
21+
22+
* Set up a Magento 2.0 system that meets our <a href="http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html">system requirements</a>.
23+
24+
Set up your system using a topology and design that at least matches your existing Magento 1.x system.
25+
26+
* Do not start Magento 2.0 cron jobs.
27+
28+
* Back up or <a href="https://dev.mysql.com/doc/refman/5.1/en/mysqldump.html">dump</a> your Magento 2 database as soon after installation as possible.
29+
30+
* Check that the data migration tool has a network connection to the Magento 1.x and Magento 2 databases.
31+
32+
Open ports in your firewall so the migration tool can communicate with the databases and so the databases can communicate with each other.
33+
34+
* To provide redundancy in the event of unexpected issues, we advise you to replicate your Magento 1.x database.
35+
36+
* Migrate Magento 1.x extension and custom code to Magento 2.0.
37+
38+
Reach out to your extension providers to see if they have been ported yet.
39+
40+
## Install the Data Migration Tool
41+
This section discusses how to install the Magento Data Migration Tool. You can install it from either repo.magento.com or from a GitHub repository.
42+
43+
**Note**: The versions of both the migration tool and the Magento 2 code must be identical (for example, 2.0.0). To find the version of either package, open `composer.json` and find the value of `"version"`.
44+
45+
### Install the tool from GitHub
46+
To install the migration tool from GitHub, use the following steps:
47+
48+
1. Log in to your Magento 2 server as a user with privileges to write to the Magento 2 file system or <a href="http://devdocs.magento.com/guides/v1.0/install-gde/install/prepare-install.html#install-update-depend-apache">switch to the web server user</a>.
49+
2. Go to Magento 2 root directory.
50+
3. Enter the following commands:
51+
52+
composer config repositories.data-migration-tool git https://github.com/magento/data-migration-tool-ce
53+
composer require magento/data-migration-tool:dev-master
54+
55+
3. Wait while dependencies are updated.
56+
57+
### Install the tool from repo.magento.com
58+
To install the Data Migration Tool, you must update `composer.json` in the Magento root installation directory to provide the location of the migration tool package.
59+
60+
To install the migration tool, you must:
61+
62+
1. Decide the version of `magento/data-migration-tool` you want as discussed in the preceding section.
63+
64+
2. Run the `composer config` and `composer require` commands to update `composer.json`.
65+
66+
3. When prompted, enter your <a href="http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html" target="_blank">authentication keys</a>. Your public key is your username; your private key is your password.
67+
68+
To update `composer.json`:
69+
70+
1. Log in to your Magento server as the <a href="http://devdocs.magento.com/guides/v1.0/install-gde/install/prepare-install.html#install-update-depend-apacheweb">web server user</a> or as a user with `root` privileges.
71+
72+
2. Change to your Magento installation directory.
73+
74+
7. Enter the following command to reference Magento packages in `composer.json`:
75+
76+
composer config repositories.magento composer http://repo.magento.com
77+
78+
8. Enter the following command to require the current version of the package:
79+
80+
composer require magento/data-migration-tool:<version>
81+
82+
where `<version>` is either an exact version or next significant release syntax.
83+
84+
Exact version example:
85+
86+
composer require magento/data-migration-tool:2.0.0
87+
88+
Next significant release example:
89+
90+
composer require magento/data-migration-tool:~2.0.0
691

7-
## Usage
92+
9. Wait while dependencies are installed.
893

9-
## Installation
94+
## For more details
95+
See the <a href="http://devdocs.magento.com/guides/v1.0/migration/bk-migration-guide.html">Migration User Guide</a>.

README_EE.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
## Overview
2+
We're pleased you're considering moving from the world's #1 eCommerce platform—Magento 1.x—to the eCommerce platform for the future, Magento 2. We're also excited to share the details about this process, which we refer to as migration.
3+
4+
Magento 2 migration involves four components: data, extensions, themes, and customizations.
5+
6+
* Data: We've developed the Magento 2 Data Migration Tool to help you efficiently move all of your products, customers, and order data, store configurations, promotions and more to Magento 2.
7+
8+
* Custom code: Code is not ported because it cannot be automated.
9+
10+
* Extensions: We are working with the Magento development community on updating extensions. They will be on Magento Connect when Magento 2 becomes generally available. More information on developing extensions for Magento 2 is available in the <a href="http://devdocs.magento.com/guides/v1.0/extension-dev-guide/bk-extension-dev-guide.html">Magento 2 Extension Developer Guide</a>.
11+
12+
* Themes and Customizations: Magento 2 uses new approaches and technologies that give merchants an unmatched ability to create innovative shopping experiences and scale to new levels. To take advantage of these advances, developers will need to make changes to their themes and customizations. Documentation is available online for creating Magento 2 <a href="http://devdocs.magento.com/guides/v1.0/frontend-dev-guide/themes/theme-general.html">themes</a>, <a href="http://devdocs.magento.com/guides/v1.0/frontend-dev-guide/layouts/layout-overview.html">layouts</a>, and <a href="http://devdocs.magento.com/guides/v1.0/frontend-dev-guide/layouts/xml-manage.html">customizations</a>.
13+
14+
### Supported versions
15+
This edition of tool supports the following versions for migration:
16+
17+
* Enterprise Edition (EE) version 1.11.x, 1.12.x, 1.13.x, 1.14.x
18+
19+
Also the following versions are already supported if you choose to migrate from Magento 1 CE to Magento 2 EE:
20+
21+
* 1.6.x, 1.7.x, 1.8.x, 1.9.x
22+
23+
## Prerequisites
24+
Before you start your migration, you must do all of the following:
25+
26+
* Set up a Magento 2.0 system that meets our <a href="http://devdocs.magento.com/guides/v1.0/install-gde/system-requirements.html">system requirements</a>.
27+
28+
Set up your system using a topology and design that at least matches your existing Magento 1.x system.
29+
30+
* Do not start Magento 2.0 cron jobs.
31+
32+
* Back up or <a href="https://dev.mysql.com/doc/refman/5.1/en/mysqldump.html">dump</a> your Magento 2 database as soon after installation as possible.
33+
34+
* Check that the data migration tool has a network connection to the Magento 1.x and Magento 2 databases.
35+
36+
Open ports in your firewall so the migration tool can communicate with the databases and so the databases can communicate with each other.
37+
38+
* To provide redundancy in the event of unexpected issues, we advise you to replicate your Magento 1.x database.
39+
40+
* Migrate Magento 1.x extension and custom code to Magento 2.0.
41+
42+
Reach out to your extension providers to see if they have been ported yet.
43+
44+
## Install the Data Migration Tool
45+
This section discusses how to install the Magento Data Migration Tool.
46+
47+
**Note**: The versions of both the migration tool and the Magento 2 code must be identical (for example, 2.0.0). To find the version of either package, open `composer.json` and find the value of `"version"`.
48+
49+
To install the migration tool from GitHub, use the following steps:
50+
51+
1. Log in to your Magento 2 server as a user with privileges to write to the Magento 2 file system or <a href="http://devdocs.magento.com/guides/v1.0/install-gde/install/prepare-install.html#install-update-depend-apache">switch to the web server user</a>.
52+
2. Go to Magento 2 root directory.
53+
3. Enter the following commands:
54+
55+
composer config repositories.data-migration-tool git https://github.com/magento/data-migration-tool-ee
56+
composer require magento/data-migration-tool:dev-master
57+
58+
3. Wait while dependencies are updated.
59+
60+
61+
## For more details
62+
See the <a href="http://devdocs.magento.com/guides/v1.0/migration/bk-migration-guide.html">Migration User Guide</a>.

bin/migrate

Lines changed: 0 additions & 26 deletions
This file was deleted.

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{
22
"name": "magento/data-migration-tool",
33
"description": "Migration Tool",
4-
"version": "0.74.0-beta8",
4+
"version": "2.0.0",
55
"require": {
66
"symfony/console": "~2.3",
7-
"magento/framework": "*"
7+
"magento/framework": "~100.0.0",
8+
"monolog/monolog": "~1.16.0"
89
},
910
"autoload": {
10-
"psr-4": {"Migration\\": ["src/Migration", "tests/unit/testsuite/Migration"]}
11+
"psr-4": {"Migration\\": ["src/Migration", "tests/unit/testsuite/Migration"]},
12+
"files" : ["src/Migration/cli_commands.php"]
1113
}
1214
}

etc/ce-1.9.1/config.xml.dist

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)