We are new to Magento especially with regards to applying patches, so this will be our first attempt.
Our site is currently running under Magento ver. 2.3.6-p1 and we have a message saying
there are patches available - 2.3.7-p1 and 2.4.2-p1 so we would like to apply them against
our test site.
Which is the best approach - using Composer or Github?
Where would we find the patch files to download?
Is there a step by step by guide on how to apply them?
Any help would really be appreciated
Please read this article for more information https://devdocs.magento.com/guides/v2.4/comp-mgr/patching.html
I suggest you to use composer.
When you will run the composer update command to update your Magento version it will ask for the credentials. You have to enter the values there.
You may create a auth.json file in your Magento root folder also with the credentials.
Please refer following articles for more information about auth.json.
Thanks so much for your help with this.
We have now signed in using the keys and are now trying to run the following command
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition=2.3.7-p2 patches but we get "Could not find package" error
Where do we download the patches file for 2.3.7-p2 patches?
We go to https://magento.com/security/patches and see this mentioned but are unable to find where we download the file?
Any help would really be appreciated - Thanks
Can anyone help with this.
We just need to find where we can download the patches files from so we can upload to our server and then apply the patches
Any help would rally be appreciated