How do I create a Composer patch for OpenMage files? #4087
Unanswered
addison74
asked this question in
Questions & Answers
Replies: 2 comments 1 reply
-
did you try removing the vendor directory and redo a composer install? |
Beta Was this translation helpful? Give feedback.
1 reply
-
From my knowledge "vendor patches" only work when OM is installed via composer - but not for git clone installs. Untested idea ... apply the patches via composers post-install/update hook. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
OpenMage has inherited from Magento the feature to change the core files by copying them to /app/code/local. Is it possible to use Composer with patches to change some core files or add some PR's from other repositories?
In the vendor directory there is the openmage subdirectory. I can create another subdirectory magento-lts. In composer.json I can add like for shardh/zf1-future a new section for openmage/magento-lts with the all changes I need in extra > patches.
Running composer update nothing happens. Am I doing something wrong? What shall I do next?
Beta Was this translation helpful? Give feedback.
All reactions