Skip to content

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

Closed
DartBot opened this issue Jul 30, 2012 · 5 comments
Closed

SDK auto-update #4267

DartBot opened this issue Jul 30, 2012 · 5 comments
Labels
area-sdk Use area-sdk for general purpose SDK issues (packaging, distribution, …). closed-obsolete Closed as the reported issue is no longer relevant P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented Jul 30, 2012

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.

@sethladd
Copy link
Contributor

sethladd commented Aug 6, 2012

Removed Type-Defect, Area-Build labels.
Added Type-Enhancement, Area-SDK, Triaged labels.

@DartBot
Copy link
Author

DartBot commented Oct 27, 2012

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.

@pq
Copy link
Member

pq commented Oct 29, 2012

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...

@DartBot
Copy link
Author

DartBot commented Oct 30, 2012

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?

@DartBot
Copy link
Author

DartBot commented Apr 27, 2015

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.

@DartBot DartBot added Type-Enhancement area-sdk Use area-sdk for general purpose SDK issues (packaging, distribution, …). labels Apr 27, 2015
@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed triaged labels Feb 29, 2016
@matanlurey matanlurey added the closed-obsolete Closed as the reported issue is no longer relevant label Jun 19, 2018
@matanlurey matanlurey reopened this Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-sdk Use area-sdk for general purpose SDK issues (packaging, distribution, …). closed-obsolete Closed as the reported issue is no longer relevant P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

5 participants