(self-contained build) Only rebuild dependencies if necessary
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, node.js
- Domain
- build-system, cli, tooling
Research direction
Start with the ui5 build self-contained --all entry point in the ui5-cli and ui5-builder components, then trace how dependency rebuild decisions are made. Done means a second unchanged build skips rebuilding dependencies while missing resources, a changed declared version, or changed project dependencies still trigger the rebuild.
Written by the indexing model from the issue text.
Description
Expected Behavior
When running ui5 build self-contained --all, UI5 dependencies should only be rebuilt if necessary (i.e. resources folder is missing, declared version changed, dependencies of the project changed).
Current Behavior
The full set of libraries gets rebuilt, leading to very long build times (esp. on CI servers where it's not as easy to switch between build commands).
Steps to reproduce the issue
- Run
ui5 build self-contained --all - Run
ui5 build self-contained --allagain - Everything gets rebuilt
Context
- UI5 Module Version (output of
ui5 --versionwhen using the CLI):0.2.6 - Node.js Version:
10.13.0 - npm Version:
6.4.1 - OS/Platform: Windows 10 1803
- Browser (if relevant):
- Other information:
Affected components (if known)
Log Output / Stack Trace
n/a
- Dominant language
- JavaScript
- Stars
- 511
- Forks
- 83
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 55
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from UI5/cli
-
module/ui5-builder
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changes Openmodule/ui5-builder module/ui5-fs module/ui5-project
Difficulty 3/5 1-2 days Newbie friendliness 76/100
-
module/ui5-project
Difficulty 4/5 3-5 days Newbie friendliness 64/100
-
roadmap
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
ecosystem wording
Difficulty 1/5 Under an hour Newbie friendliness 90/100
matrix-org/matrix.org#3649 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·