Package Manager throws exception when attempting to exclude private files when they are out of project root (in AU)

Created on 14 February 2025, about 2 months ago

Problem/Motivation

1. I have private files configured on an absolute path outside of the webroot (and even the project root).
2. This throws off SiteFilesExcluder, because it attempts to exclude public, private and asset files, but as part of that it also forces those to be under either the webroot (if relative paths) of the project root (if absolute paths).

See same core issue at 🐛 Package Manager throws exception when attempting to exclude private files when they are out of project root Active .

Steps to reproduce

Proposed resolution

Since the files are attempted to be excluded anyway and they are at an entirely different place, they would be naturally excluded? So at this point, if something is outside of the area that is used for creating the stage, it should be just ignored I think? Wold that be "outside of the project root"?

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇭🇺Hungary Gábor Hojtsy Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024