All Projects → sdinteractive → Magento2_SomethingDigital_UpgradeHelper

sdinteractive / Magento2_SomethingDigital_UpgradeHelper

Licence: other
No description or website provided.

Programming Languages

PHP
23972 projects - #3 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Magento2 SomethingDigital UpgradeHelper

Mage2vuestorefront
Magento to Vue-storefront datapump - synchronizes Products, Categories and Product-to-category links between your Magento2 API and NoSQL database of vue-storefront
Stars: ✭ 183 (+1043.75%)
Mutual labels:  magento, magento2
Worldpay-Magento2-CG
Worldpay Magento 2 Plugin for Worldpay Corporate Gateway
Stars: ✭ 15 (-6.25%)
Mutual labels:  magento, magento2
Warden
Warden is a CLI utility for orchestrating Docker based developer environments
Stars: ✭ 206 (+1187.5%)
Mutual labels:  magento, magento2
Magento2 Configurator
Magento 2 Configurator
Stars: ✭ 158 (+887.5%)
Mutual labels:  magento, magento2
module-blog-m22
Fixes for Blog on Magento 2.2.x
Stars: ✭ 21 (+31.25%)
Mutual labels:  magento, magento2
Importexportfree
Improve default Magento 2 Import / Export features - cron jobs, CSV , XML , JSON , Excel , mapping of any format, Google Sheet, data and price modification, improved speed and a lot more!
Stars: ✭ 160 (+900%)
Mutual labels:  magento, magento2
Magento 2 Smtp
Magento 2 SMTP Extension helps the owner of store simply install SMTP (Simple Mail Transfer Protocol) server which transmits the messages into codes or numbers.
Stars: ✭ 228 (+1325%)
Mutual labels:  magento, magento2
Magento Chatbot
Magento Chatbot Integration with Telegram, Messenger, Whatsapp, WeChat, Skype and wit.ai.
Stars: ✭ 149 (+831.25%)
Mutual labels:  magento, magento2
module-dsu
No description or website provided.
Stars: ✭ 18 (+12.5%)
Mutual labels:  magento, magento2
Magento-2-aws-cluster-terraform
Magento 2 AWS autoscaling cluster with Terraform and Packer or ImageBuilder. Adobe Commerce Cloud alternative. The best ecommerce infrastructure. Drive more sales online. Transparent billing. Developer-friendly. No hidden bottlenecks.
Stars: ✭ 107 (+568.75%)
Mutual labels:  magento, magento2
module-dsu-client
No description or website provided.
Stars: ✭ 17 (+6.25%)
Mutual labels:  magento, magento2
magento2-db-log-cleaner
Magento2 Cron Log Cleaning
Stars: ✭ 23 (+43.75%)
Mutual labels:  magento, magento2
Magento 2 Social Login
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
Stars: ✭ 156 (+875%)
Mutual labels:  magento, magento2
Docker Compose Development
Clone and `bin/dev up`. Quickly start of developing locally with Nginx, PHP, Blackfire, Percona, Mailhog and Redis. Out of the box support for Magento2 Developer Box
Stars: ✭ 171 (+968.75%)
Mutual labels:  magento, magento2
Masquerade
Faker-driven, configuration-based, platform-agnostic, locale-compatible data faker tool
Stars: ✭ 152 (+850%)
Mutual labels:  magento, magento2
Module Blog
Magento 2 Blog Extension
Stars: ✭ 213 (+1231.25%)
Mutual labels:  magento, magento2
Magento Infinitescroll
Automatically load the next page of products in Magento. Easy to install and configure, this module works 100% out of the box with vanilla Magento 1.9.x and earlier.
Stars: ✭ 123 (+668.75%)
Mutual labels:  magento, magento2
M2cert
Adobe Magento2 Certification Study Guides - 2020/2021 Updates for M2 2.3/2.4
Stars: ✭ 147 (+818.75%)
Mutual labels:  magento, magento2
magento2-guest-to-customer
Guest to Customer for Magento2 - Quickly and easily convert existing guest checkout customers to registered customers.
Stars: ✭ 66 (+312.5%)
Mutual labels:  magento, magento2
magento2
For any issues or questions please get in touch with us via [email protected]
Stars: ✭ 15 (-6.25%)
Mutual labels:  magento, magento2

Magento2_SomethingDigital_UpgradeHelper

Installation

As this is a local dev tool only, you can quickly drop it into app/code.

E.g.

$ tree app/code/SomethingDigital/UpgradeHelper
app/code/SomethingDigital/UpgradeHelper
├── Console
│   └── UpgradeHelperCommand.php
├── README.md
├── etc
│   ├── di.xml
│   └── module.xml
└── registration.php

2 directories, 5 files

Usage

Generating the diff

Are you a Rightpoint employee? If so, the diff is likely already available for you here: https://github.com/sdinteractive/m2-diffs.

  • Use composer create-project to get a clean copy of the old version code
  • Use composer create-project to get a clean copy of the new version code
  • Use diff -r to generate the diff

For the purposes of generating the diff composer's --ignore-platform-reqs is fine, you do not actually need to run the Magento application, just get a copy of the code.

Example:

diff -r magento-2-2-6-ee magento-2-2-7-ee > magento-2-2-6-ee--2-2-7-ee.diff

How To Run

$ bin/magento sd:dev:upgrade-helper magento-2-2-6-ee--2-2-7-ee.diff

NOTE: Running on Vagrant without nfs_guest is intolerably slow. Either ensure you are running nfs_guest or else temporarily move the Magento installation out of /vagrant to run

Example Output

$ bin/magento sd:dev:upgrade-helper magento-2-2-6-ee--2-2-7-ee.diff
-------- PREFERENCES --------
Patched: vendor/magento/module-catalog/Block/Product/ImageBuilder.php
Customized: Company\Module\Block\Product\ImageBuilder
-------- TEMPLATES --------
Patched: vendor/amzn/amazon-pay-and-login-with-amazon-core-module/view/adminhtml/templates/system/config/simplepath_admin.phtml
Customized: vendor/amzn/amazon-pay-and-login-magento-2-module/src/Core/view/adminhtml/templates/system/config/simplepath_admin.phtml

In this case vendor/magento/module-catalog/Block/Product/ImageBuilder.php will be changed by the patch, however there is a preference (Company\Module\Block\Product\ImageBuilder) for that file.

The tool has also flagged the vendor/amzn template, however upon inspection it is clear that this is a false positive (the Amazon pay module simply moved templates out of the src folder).

False Positives

The tool currently does a rough search on the basename in vendor/, app/code and app/design/ to determine whether or not a given file is overridden. This search is likely to generate false positives. The philosophy here is it's better for the tool to generate false positives, which can then be reviewed to determine if any action is required than it is to have false negatives, which may cause obscure bugs when deployed to production.

Testing

Use make to run the tests. make should be run from within the extension root. Currently it expects the extension to be installed in app/code.

The tests are a bit fragile and could break if Magento changes. Currently they've been testing on 2.3.3.

They also expect to be run against a clean Magento install (other extensions may conflict with the expectations).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].