-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Analyzer: implementing package spec proposal (.packages) #23373
Comments
Marked this as blocking #23372. |
I'm guessing that this is for the command-line analyzer, and that the requirement is that it support a command-line option to specify a file? (If I understood correctly, we decided that analysis server would continue to run pub and that the command-line analyzer would run pub unless a package map file is specified.) Added this to the 1.11 milestone. |
For the workflow for how to find an app's dependencies, (including how to look for a packages/ dir, package spec file, package root, etc), please see the proposal and let us know if we need to refine that. And yes, this is for the command-line analyzer. |
Set owner to @pq. |
Woohoo, thanks Phil! |
Added Started label. |
Marked this as blocking #22939. |
For the record, here's the plan that I recall from the meeting: * analyzer and analysis server will try pub's list-package-dirs first.
Did I get that right? |
That sounds right to me! |
So, the dartanalyzer works if you pass Next up: automatically find .packages cc @pq |
Just tested a dartanalyzer from 1.12-dev.5.2 Auto-discovery worked! What remains for this task? |
Result from discussion:
cc @danrubel |
Howdy! @stereotype441 and @pq how do we look here? Are you comfortable with the auto-discovery logic here? |
👍 I think we're good to go for this cut. As discussed we have some integration tests to back-fill but that's a larger issue. |
Tracking issue for implementing the package spec proposal.
Main issue: dart-archive/dart_enhancement_proposals#5
Proposal: https://github.com/lrhn/dep-pkgspec/blob/master/DEP-pkgspec.md
The text was updated successfully, but these errors were encountered: