filipenos / gaesdk Goto Github PK
View Code? Open in Web Editor NEWGoogle App Engine SDK Manager
Google App Engine SDK Manager
Instead of loading a remote URL at init(), this should be done after parsing the arguments, as the default version is overwrittern by user using the --version flag.
Also, there can be some problems in doing HTTP requests at init(), as it should in theory, be as low as possible work on that function.
The output shows up all unpacking activity. This is nice locally, but if you are doing it from the Cloud Shell or any other remote SSH connection, this can be a problem. It would be nice to be able to make it quiet, either by default (my recommendation) and enable a --verbose|-v flag, or implement the --quiet|-q flag, so minimal output is displayed.
Thanks!
Not only the current implementation poses a small risk to overwrite a user file, it has a temporary directory hardcoded, so that may not be desirable if the user has made a change.
This is a nice handy little tool! It would be nice to be able to also update/install the other runtimes, i.e., a flag like --runtime java|php|python|go
would be very cool to have.
The problem with the current aproach is that it is not deterministic in terms of file extraction ordering, and the extracted SDK file attributes (such as modification time) are not kept. Either you should keep them, or you should make sure that the extracted goroot folder has the higher mtimes. Otherwise, when running programs such as goapp
will throw some build failures due to missing sources.
My suggestion, attempt to keep the mtime attribute, or follow the file ordering from the zip structure. Using the filepath.walk does not guarantee any ordering as it does the process concurrently, and ordering in this particular case is important.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.