Skip to content

factor binary dependencies handling outside workspace class [nfc] #4197

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

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Mar 4, 2022

motivation: code handling binary dependencies has become complex and long, factor it out to its own class

this is a non-functional change, only moving functionality around

changes:

  • factor out the code that deals with downloading and extracting binary dependencies out of Workspace and into a dedicated struct
  • adjust workspace initiatilizers to allow customizing the BinaryArtifactsManager instead of the HTTPClient and Archiver that are in service of handling binary dependencies
  • adjust call sites and test

motivation: code handling binary dependencies has become complex and large, factor it out to its own class

changes:
* factor out the code that deals with downloading and extracting binary dependencies out of Workspace and into a dedicated struct
* adjust workspace initiatilizers to allow customizing the BinaryArtifactsManager instead of the HTTPClient and Archiver that are in service of handling binary dependencies
* adjjust call sites and test
@tomerd
Copy link
Contributor Author

tomerd commented Mar 4, 2022

@swift-ci please smoke test

@tomerd tomerd self-assigned this Mar 4, 2022
@tomerd tomerd added the ready Author believes the PR is ready to be merged & any feedback has been addressed label Mar 4, 2022
@tomerd
Copy link
Contributor Author

tomerd commented Mar 4, 2022

@swift-ci please smoke test macOS

@tomerd tomerd merged commit ddf9400 into swiftlang:main Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Author believes the PR is ready to be merged & any feedback has been addressed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants