Skip to content

[6.0] Watch for changes to Package.resolved #1506

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
Jun 25, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 22, 2024

  • Explanation: We need to watch for changes to Package.resolved so that we can update the dependency checkouts in .index-build when the user runs swift package update.
  • Scope: Background indexing when the user updates package dependencies
  • Risk: Low, this uses the same code path that we use to watch for changes to Package.swift
  • Testing: Added test case
  • Issue: rdar://130103181
  • Reviewer: @hamishknight on Watch for changes to Package.resolved #1501

We need to watch for changes to `Package.resolved` so that we can update the dependency checkouts in `.index-build` when the user runs `swift package update`.

rdar://130103181
@ahoppen ahoppen requested a review from benlangmuir as a code owner June 22, 2024 14:03
@ahoppen ahoppen changed the title Watch for changes to Package.resolved [6.0] Watch for changes to Package.resolved Jun 22, 2024
@ahoppen ahoppen requested a review from bnbarham June 22, 2024 14:03
@ahoppen
Copy link
Member Author

ahoppen commented Jun 22, 2024

@swift-ci Please test

@ahoppen ahoppen merged commit 18d1944 into swiftlang:release/6.0 Jun 25, 2024
3 checks passed
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