-
Notifications
You must be signed in to change notification settings - Fork 1.7k
SDK auto-update #4267
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
Comments
Removed Type-Defect, Area-Build labels. |
This comment was originally written by @austincummings Is this currently being implemented by someone on the dev team? I have been working on this and may have a patch ready within the next few days. I do have a couple of questions about how to incorporate my implementation into the sdk. If a developer could email me that'd be awesome. |
My plate's too full to volunteer to shepherd this but since I'm managing the editor and plugin update story, I'm keen to see where this conversation goes... |
This comment was originally written by @austincummings Right now I have gotten a lot of the basic functionality going, with the exception of extracting using unzip and architecture detection. Now I need to find somewhere to implement my code. Originally I was going to use the wrapper scripts to run my Dart file. But now I've started thinking I should add it in as another pub command, like 'pub update-sdk' or something similar, then use the wrapper scripts to call the pub command. Pub already has a lot of the code for downloading and extracting compressed files on all OS's. So this may make it seem more like it's built into the sdk rather than just a script stowed in some directory. Or maybe I should just put it somewhere entirely different that I haven't thought of yet. What do you guys think? |
This comment was originally written by @seaneagan For reference, here's the nodeJS equivalent of this: https://github.com/creationix/nvm Also, it might be nice to drive such a tool using the SDK constraint in pubspec.yaml, and validate/install/use an appropriate SDK based on that. |
This issue was originally filed by [email protected]
As depot_tools and Chromium, it would be great if the SDK would check for updates when a tool is run (analyzer, dart2js, pub, dart), and either silently patch itself or offer to patch itself.
The text was updated successfully, but these errors were encountered: