Skip to content
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

cache binary artifact globally #7101

Merged
merged 4 commits into from
Nov 27, 2023
Merged

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Nov 16, 2023

motivation: like other dependencies, binary artifacts are good candidates for user level caching such that they do not need to be re-downloaded

changes:

  • update BinaryArtifactsManager to take cache path and use the cache to store binary artifacts when downloading them
  • update test infra to enable/disable artifacts caching
  • update workspaace call sites
  • update workspace delegate to indicate when using cached binary artifact
  • update and add tests

rdar://111774147

motivation: like other dependencies, binary artifacts are good candidates for user level caching such that they do not need to be re-downloaded

changes:
* update BinaryArtifactsManager to take cache path and use the cache to store binary artifacts when downloading them
* update test infra to enable/disable artifacts caching
* update workspaace call sites
* update workspace delegate to indicate when using cached binary artifact
* update and add tests

rdar://111774147
@tomerd
Copy link
Contributor Author

tomerd commented Nov 16, 2023

@swift-ci test

@tomerd
Copy link
Contributor Author

tomerd commented Nov 17, 2023

@swift-ci test

@tomerd
Copy link
Contributor Author

tomerd commented Nov 17, 2023

@swift-ci test windows

@tomerd tomerd self-assigned this Nov 17, 2023
@tomerd tomerd enabled auto-merge (squash) November 22, 2023 02:20
@tomerd tomerd merged commit e38c81d into swiftlang:main Nov 27, 2023
5 checks passed
tomerd added a commit to tomerd/swift-package-manager that referenced this pull request Nov 30, 2023
motivation: like other dependencies, binary artifacts are good
candidates for user level caching such that they do not need to be
re-downloaded

changes:
* update BinaryArtifactsManager to take cache path and use the cache to
store binary artifacts when downloading them
* update test infra to enable/disable artifacts caching
* update workspaace call sites
* update workspace delegate to indicate when using cached binary
artifact
* update and add tests

rdar://111774147
tomerd added a commit that referenced this pull request Nov 30, 2023
motivation: make sure changelog reflects key changes

changes: mention caching of binary artifacts per #7101
@tomerd tomerd mentioned this pull request Nov 30, 2023
tomerd added a commit that referenced this pull request Nov 30, 2023
motivation: make sure changelog reflects key changes

changes: mention caching of binary artifacts per #7101
tomerd added a commit that referenced this pull request Dec 1, 2023
motivation: like other dependencies, binary artifacts are good
candidates for user level caching such that they do not need to be
re-downloaded

changes:
* update BinaryArtifactsManager to take cache path and use the cache to
store binary artifacts when downloading them
* update test infra to enable/disable artifacts caching
* update workspaace call sites
* update workspace delegate to indicate when using cached binary
artifact
* update and add tests

rdar://111774147
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants