Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Project#getReader: Do not apply builder resource excludes for style 'runtime' #574

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

RandomByte
Copy link
Member

@RandomByte RandomByte commented Feb 13, 2023

Introduce new style dist to reflect the standard build output
structure which can be used with any HTTP server. It is identical to the
runtime style, but also applies any configured builder resource
excludes
.

ProjectBuilder now uses style 'dist' instead of 'runtime'.

Fixes SAP/ui5-tooling#779

…tyle 'runtime'

Introduce new style 'dist' to reflect the standard build output
structure which can be used with any HTTP server. It is identical to the
'runtime' style, but also applies any configured builder resource
excludes[1].

ProjectBuilder now uses style 'dist' instead of 'runtime'.

[1]: https://sap.github.io/ui5-tooling/stable/pages/Configuration/#exclude-resources

Fixes SAP/ui5-tooling#779
@RandomByte RandomByte requested a review from a team February 13, 2023 13:52
@coveralls
Copy link

Coverage Status

Coverage: 95.496% (+0.02%) from 95.474% when pulling 1808205 on fix-builder-excludes into 030c692 on main.

@RandomByte RandomByte merged commit 1cd94f7 into main Feb 14, 2023
@RandomByte RandomByte deleted the fix-builder-excludes branch February 14, 2023 12:03
@Magoli1
Copy link
Member

Magoli1 commented Feb 16, 2023

@RandomByte Any ETA for releasing a new version with this change? 🚀

@RandomByte
Copy link
Member Author

@Magoli1 Probably later today!

RandomByte added a commit that referenced this pull request Feb 16, 2023
This resolves a regression caused by
#574 where the application of
builder resource-exclude configuration was moved from the low-level
_getSourceReader/_getTestReader methods to the high-level getReader API.

However, it was missed to also adapt the high-level getWorkspace API in
the same manner.

This caused the created workspace reader/writer to ignore any exclude
configuration as reported in
SAP/ui5-tooling#784 (comment)
RandomByte added a commit that referenced this pull request Feb 17, 2023
This resolves a regression caused by
#574 where the application of
builder resource-exclude configuration was moved from the low-level
_getSourceReader/_getTestReader methods to the high-level getReader API.

However, it was missed to also adapt the high-level getWorkspace API in
the same manner.

This caused the created workspace reader/writer to ignore any exclude
configuration as reported in
SAP/ui5-tooling#784 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui5 serve wrongly takes care on builder/resources/excludes after migration to 3.0.0
4 participants