feat: Offer --cache option to control cache mode (Incremental Build)#1368
Open
maxreichmann wants to merge 4 commits intofeat/incremental-build-4from
Open
feat: Offer --cache option to control cache mode (Incremental Build)#1368maxreichmann wants to merge 4 commits intofeat/incremental-build-4from
maxreichmann wants to merge 4 commits intofeat/incremental-build-4from
Conversation
13173d5 to
68a130f
Compare
68a130f to
0c087f8
Compare
e1d781f to
ab65f27
Compare
RandomByte
requested changes
May 4, 2026
| "As of UI5 CLI version 5, renamed to '--snapshot-cache'. " + | ||
| "Use '--snapshot-cache' to control this behavior.", | ||
| type: "string", | ||
| hidden: true, // Hides it from the help output |
Member
There was a problem hiding this comment.
Keep the choices so that no arbitrary strings can be provided
| rootConfigPath: argv.config, | ||
| versionOverride: argv.frameworkVersion, | ||
| cacheMode: argv.cacheMode, | ||
| snapshotCache: argv.snapshotCache, |
Member
There was a problem hiding this comment.
The legacy cacheMode parameter should be used as fallback if snapshotCache has not been provided and cacheMode has been provided by the user
7aa4cd3 to
95fd5de
Compare
e451d07 to
07a5941
Compare
bbf7099 to
39431de
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of Incremental Build: #1267
JIRA: CPOUI5FOUNDATION-1208
--cachewith values "Default", "ReadOnly", "Force" and "Off" for commands "ui5 build" and "ui5 serve"--cache-modeto--snapshot-cache