Skip to content

NFC: Rename PinsStore to PackageResolvedStore #7839

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 10 commits into from
Aug 5, 2024
Merged

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Jul 30, 2024

Motivation:

Implemented Package.resolved feature is called "pins", which can be confusing for SwiftPM contributors.

Modifications:

Renamed uses of pins in types and functions to use ResolvedPackagesStore, packageResolved, or resolution instead, depending on the exact context of use.

Result:

It is easier for contributors to find relevant code.

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov changed the title Rename PinsStore to PackageResolvedStore NFC: Rename PinsStore to PackageResolvedStore Jul 31, 2024
@MaxDesiatov MaxDesiatov added no functional change No user-visible functional changes included contributor experience labels Jul 31, 2024
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov marked this pull request as ready for review July 31, 2024 11:28
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) July 31, 2024 11:28
@MaxDesiatov MaxDesiatov self-assigned this Jul 31, 2024
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

1 similar comment
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

…o maxd/rename-pins

# Conflicts:
#	Sources/Workspace/Workspace+Dependencies.swift
#	Sources/Workspace/Workspace+Registry.swift
#	Sources/Workspace/Workspace+SourceControl.swift
#	Tests/PackageGraphTests/PubgrubTests.swift
#	Tests/WorkspaceTests/WorkspaceTests.swift
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov merged commit cf4491b into main Aug 5, 2024
5 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/rename-pins branch August 5, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor experience no functional change No user-visible functional changes included
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants