Skip to content
forked from OpenMage/migrate

Migration script for Magento Community Edition to OpenMage LTS

Notifications You must be signed in to change notification settings

awojtczyk/migrate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is used to host the Magento CE to OpenMage migration script.

Usage

$ curl -fsSL https://migrate.openmage.org | sh

Maintainers

To update for a new release do the following:

  • Run create-patches.sh to generate and upload new patches
  • Edit migrate.sh to update the stable= variable
  • Commit and push the changes

Prerequisites

In order to upload the generated patch files to S3, AWS CLI v2 needs to be installed:

https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2.html

Generating patch files

Before running the next script configure the AWS CLI:

$ aws configure set region eu-central-1 --profile openmage.migrationpatches
$ aws configure set aws_access_key_id ACCESS_KEY_HERE --profile openmage.migrationpatches
$ aws configure set aws_secret_access_key SECRET_KEY_HERE --profile openmage.migrationpatches

To generate patch files for a new version just run the script from the repo root directory and follow the prompt:

$ bash ./create-patches.sh

Updating migrate script

To help track bugs, when the script is updated always do the following as well in a separate follow-up commit:

$ sed "s/SCRIPT_COMMIT_SHA_HERE/$(git log -1 --format=%H)/" migrate.sh > index.html
$ git commit -am "Update script hash."
$ git push

About

Migration script for Magento Community Edition to OpenMage LTS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%