From 74b12145f23d06b2cfa6c369b5cff47e889431da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=81Z=C3=81R=20Imre=20AI=20Agent?= Date: Thu, 16 Jul 2026 13:50:51 +0200 Subject: [PATCH] fix(build): anchor data-dir excludes to root MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --exclude='cache/' matched any nested dir named cache (e.g. core com_cache/views/cache/); anchor cache/tmp/logs/images excludes to the docroot root so only runtime-data top-level dirs are dropped. Non-malware code residual now 0 (remaining residual is excluded malware + scan artifacts). Signed-off-by: LÁZÁR Imre Assisted-by: claude-code@claude-opus-4-8 --- build-baseline.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-baseline.sh b/build-baseline.sh index 064703cf..a4222696 100755 --- a/build-baseline.sh +++ b/build-baseline.sh @@ -27,9 +27,9 @@ git -C "$ROOT" submodule update --init \ # runtime data dirs (cache/tmp/logs/images are data, not verified code). log "core: Joomla 3.8.11 (official package)" rsync -a \ - --exclude='cache/' --exclude='tmp/' --exclude='logs/' \ - --exclude='images/sampledata/' --exclude='images/banners/' --exclude='images/headers/' \ - --exclude='images/joomla_black.png' --exclude='images/powered_by.png' \ + --exclude='/cache/' --exclude='/tmp/' --exclude='/logs/' \ + --exclude='/images/sampledata/' --exclude='/images/banners/' --exclude='/images/headers/' \ + --exclude='/images/joomla_black.png' --exclude='/images/powered_by.png' \ "$ROOT/core/" "$OUT/" # 2) Upstream-package extensions — deployed-layout, byte-reconciled to live.