efpapado
11/21/2023, 12:07 PMefpapado
11/21/2023, 12:07 PMdimitriskri
11/21/2023, 12:08 PMefpapado
11/21/2023, 12:08 PMdimitriskri
11/21/2023, 12:09 PMefpapado
11/21/2023, 12:09 PMdimitriskri
11/21/2023, 12:10 PMbserem
11/21/2023, 2:23 PMIn both cases, download the patch file to your site’s codebase and add the path to the patch file to yourfile.composer.json
bserem
11/21/2023, 2:23 PMbserem
11/21/2023, 2:23 PMbserem
11/21/2023, 2:24 PMbserem
11/21/2023, 2:24 PMThe contents of merge request patch file will change as commits are pushed!
This means that you will get the latest version of the code from an issue. So, it brings a security risk because any new commit to the issue’s branch will be automatically deployed to your site when composer runs.
It's strongly recommended to lock the patch file versions on production sites. To do so you must download the patch file and use it in composer from a local directory. If you use the URL to the Gitlab MR directly, your codebase will change without warning, as people work on the merge request.
Marios Anagnostopoulos
11/21/2023, 2:37 PMMarios Anagnostopoulos
11/21/2023, 2:38 PMMarios Anagnostopoulos
11/21/2023, 2:38 PMefpapado
11/22/2023, 6:25 AMkostask
11/22/2023, 7:25 AM