Skip to content

feat(cli): Add ui5 cache clean command#1455

Draft
d3xter666 wants to merge 25 commits into
mainfrom
feat/clean-cache-command
Draft

feat(cli): Add ui5 cache clean command#1455
d3xter666 wants to merge 25 commits into
mainfrom
feat/clean-cache-command

Conversation

@d3xter666

Copy link
Copy Markdown
Member

Adds ui5 cache clean to remove framework packages and build cache data. Displays what will be removed with library/version stats, asks for confirmation (skip with --yes), and handles orphaned staging dirs from previously interrupted cleans.

JIRA: CPOUI5FOUNDATION-891

@d3xter666
d3xter666 requested a review from a team July 17, 2026 06:34
@d3xter666
d3xter666 marked this pull request as draft July 17, 2026 06:34
@d3xter666
d3xter666 force-pushed the feat/clean-cache-command branch from 2195d0e to 979a629 Compare July 20, 2026 07:13
@d3xter666
d3xter666 changed the base branch from main to refactor/resolve-ui5-data-dir July 20, 2026 07:14
@d3xter666
d3xter666 force-pushed the feat/clean-cache-command branch from 979a629 to cc367f3 Compare July 20, 2026 12:22
d3xter666 added 10 commits July 21, 2026 16:26
Adds `ui5 cache clean` to remove framework packages and build cache data.
Displays what will be removed with library/version stats, asks for
confirmation (skip with --yes), and handles orphaned staging dirs from
previously interrupted cleans.

No process-coordination locks — that will be added separately.
@d3xter666
d3xter666 force-pushed the feat/clean-cache-command branch from f332519 to 89e915f Compare July 21, 2026 13:34
@d3xter666
d3xter666 changed the base branch from refactor/resolve-ui5-data-dir to main July 21, 2026 13:35
@d3xter666
d3xter666 force-pushed the feat/clean-cache-command branch from 28454d6 to a0444d5 Compare July 22, 2026 07:03
@d3xter666
d3xter666 force-pushed the feat/clean-cache-command branch from e35f673 to af2b848 Compare July 22, 2026 09:23
@d3xter666
d3xter666 marked this pull request as ready for review July 22, 2026 11:20
@d3xter666
d3xter666 removed the request for review from a team July 22, 2026 11:20
@d3xter666
d3xter666 force-pushed the feat/clean-cache-command branch from 3ead788 to db2912e Compare July 22, 2026 11:31
@d3xter666
d3xter666 force-pushed the feat/clean-cache-command branch from db2912e to c4e20b3 Compare July 22, 2026 11:32
@d3xter666
d3xter666 marked this pull request as draft July 22, 2026 11:41
For tables big enough, it could take a lot of time to run the VACUUM.
For that reason, do the same as the directory rename- rename tables and later clean them up. This will not corrupt Db data and will be able to resume if the process is killed
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.

1 participant