Skip to content

Conversation

@tomerd
Copy link
Contributor

@tomerd tomerd commented Apr 27, 2021

bring #3427 to 5.5

motivation: when resolving packages, the output is lacking key information about computing the appropriate package version. this can mislead users about what SwiftPM is doing and where the time is spent.

changes:
1. expose willComputeVersion/didComputeVersion on WorkspaceDelegate
2. use willComputeVersion/didComputeVersion in SwiftTool::ToolWorkspaceDelegate to print information about the version computation stage
3. add duration information to WorkspaceDelegate::fetchingDidFinish and WorkspaceDelegate::repositoryDidUpdate
4. print duration infortmation SwiftTool::ToolWorkspaceDelegate about fetching and updating, in addition to computing
5. remove empty delegates since they are potentialy hiding dperecations
6. adjust test
@tomerd
Copy link
Contributor Author

tomerd commented Apr 27, 2021

@swift-ci please test

@tomerd tomerd added the 5.5 label Apr 27, 2021
@tomerd tomerd self-assigned this Apr 27, 2021
@tomerd tomerd merged commit 0bc0a71 into swiftlang:release/5.5 Apr 27, 2021
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.

2 participants