Skip to content

Conversation

plemarquand
Copy link
Contributor

This change refactors cache purging to work in any directory, not just package directories. Previously, purge-cache required a Package.swift file and initialized a full workspace.

Now it creates minimal cache managers directly and purges them independently.

Also add some logging to print the paths being purged. Logs are only shown with --verbose or --very-verbose.

Issue: #9235

@plemarquand plemarquand force-pushed the purge-with-no-manifest branch from df1e7a6 to d77854b Compare October 14, 2025 13:41
@plemarquand plemarquand marked this pull request as draft October 14, 2025 13:46
@plemarquand plemarquand force-pushed the purge-with-no-manifest branch 2 times, most recently from 7b361bb to bcfc961 Compare October 14, 2025 15:01
@plemarquand
Copy link
Contributor Author

@swift-ci test

This change refactors cache purging to work in any directory, not just package directories. Previously, purge-cache required a Package.swift file and initialized a full workspace. Now it creates minimal cache managers directly and purges them independently. Also add some logging to print the paths being purged. Logs are only shown with `--verbose` or `--very-verbose`. Issue: swiftlang#9235
@plemarquand plemarquand force-pushed the purge-with-no-manifest branch from bcfc961 to 9dafd81 Compare October 14, 2025 17:47
@plemarquand
Copy link
Contributor Author

@swift-ci test

@plemarquand
Copy link
Contributor Author

@swift-ci test windows

@plemarquand
Copy link
Contributor Author

@swift-ci test macOS

@plemarquand
Copy link
Contributor Author

@swift-ci test windows

@plemarquand plemarquand marked this pull request as ready for review October 15, 2025 12:52
@plemarquand plemarquand merged commit 1f48ed4 into swiftlang:main Oct 15, 2025
6 checks passed
@plemarquand plemarquand deleted the purge-with-no-manifest branch October 15, 2025 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants