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

[SR-9164] libSwiftPM should provide a way to detect changes to the Manifest/BuildPlan #4749

Open
benlangmuir opened this issue Nov 2, 2018 · 0 comments

Comments

@benlangmuir
Copy link
Member

Previous ID SR-9164
Radar rdar://45770603
Original Reporter @benlangmuir
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels New Feature
Assignee None
Priority Medium

md5: bb04d4af11453bce2827fda583750124

Issue Description:

Use-case: long-lived tools like an IDE plugin can use libSwiftPM to discover information about a package (package graph, build plan, etc.), but currently have no supported way to detect when that information is out of date and needs to be recomputed. They can watch the filesystem themselves, but would have to guess what changes are relevant.

libSwiftPM should provide this functionality in some form. A minimalist solution would be to expose enough information so that clients of SwiftPM can watch the right set of paths and determine when their information is (potentially) out-of-date and should be re-queried. A more advanced solution would be to do the work of detecting changes in SwiftPM and allow clients to just subscribe to change notifications.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants