From 64869a5f58c3e41c17a32ae6fd89528dd94798b5 Mon Sep 17 00:00:00 2001 From: Lina Wolf <48202465+linawolf@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:15:32 +0200 Subject: [PATCH] [DOCS] Improve docs on using composer patch (#401) (#402) Add note to use `composer-exit-on-patch-failure` to get notice about an error on patching. Co-authored-by: Karsten Nowak --- Documentation/ApplyingCorePatches/Index.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/ApplyingCorePatches/Index.rst b/Documentation/ApplyingCorePatches/Index.rst index 81f49bd9..6baa55b1 100644 --- a/Documentation/ApplyingCorePatches/Index.rst +++ b/Documentation/ApplyingCorePatches/Index.rst @@ -57,6 +57,7 @@ add one. "typo3/cms": { "web-dir": "public" }, + "composer-exit-on-patch-failure": true, "patches": { "typo3/cms-core": { "Bug #98106 fix something":"patches/Bug-98106.diff" @@ -64,6 +65,10 @@ add one. } } +.. note:: + Use :bash:`composer-exit-on-patch-failure` to exit the running process on patch failures. + Otherwise, you may not notice the error. + The patch itself looks like this: .. code-block:: diff