-
Notifications
You must be signed in to change notification settings - Fork 75
feat: Incremental Build #1238
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
base: main
Are you sure you want to change the base?
feat: Incremental Build #1238
Conversation
7d1ed69 to
9f24569
Compare
9f24569 to
f3f484d
Compare
| if (cacheUtil.hasCache()) { | ||
| const changedPaths = cacheUtil.getChangedProjectResourcePaths(); | ||
| resources = resources.filter((resource) => changedPaths.has(resource.getPath())); | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this pattern repeats a lot.
Wouldn't it be easier to encapsulate it as method of the cacheUtil.
packages/fs/lib/DuplexTracker.js
Outdated
|
|
||
| // TODO: Alternative name: Inspector/Interceptor/... | ||
|
|
||
| export default class Trace extends AbstractReaderWriter { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sadly they don't share the same superclass. AbstractReader is missing the needed writer element.
Said that, I'm also not happy with this class structure.
08fb5c4 to
a8b7969
Compare
…ters Cherry-picked from SAP/ui5-fs@5651627 JIRA: CPOUI5FOUNDATION-1174
Cherry-picked from: SAP/ui5-fs@5651627 JIRA: CPOUI5FOUNDATION-1174
Cherry-picked from: SAP/ui5-builder@ef5a3b2 JIRA: CPOUI5FOUNDATION-1174
Cherry-picked from: SAP/ui5-project@82b20ee JIRA: CPOUI5FOUNDATION-1174
Prerequisite for versioning support Cherry-picked from: SAP/ui5-project@83b5c4f JIRA: CPOUI5FOUNDATION-1174
Cherry-picked from: SAP/ui5-project@cb4e858 JIRA: CPOUI5FOUNDATION-1174
Cherry-picked from: SAP/ui5-cli@d29ead8 JIRA: CPOUI5FOUNDATION-1174
* Improve handling for concurrent resource access and modifications, especially when buffering streams. * Deprecate getStatInfo in favor of dedicated getSize, isDirectory, getLastModified methods. * Deprecate synchronous getStream in favor of getStreamAsync and modifyStream, allowing for atomic modification of resource content * Generate Resource hash using ssri
This allows asynchronous processes to finish as outlined in the Node.js documentation [1] When using the V8 inspector, this allows the debugger to gracefully disconnect when sending a SIGINT (e.g. CTRL+C) [1]: https://nodejs.org/api/process.html#processexitcode
getIntegrity tests still need to be updated
8bb2622 to
eb6f410
Compare
Implementation of RFC 0017 Incremental Build
This PR supersedes previous PoC: #1199
JIRA: CPOUI5FOUNDATION-1174