-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
ddev update check needs to reset .update regularly #479
Comments
Bug is pretty easy to see if you read the code at https://github.com/drud/ddev/blob/a0ee2e90c0aa388659d721b4b3f316727fba5506/cmd/ddev/cmd/root.go#L64-L81 Bummer. Should be a pretty easy fix, though. May be worth pushing out a point release for this. fwiw I've never run into it personally. It's probably more likely for those of us who are using ddev commands very frequently. However, it's serious enough to warrant a priority fix in my opinion. |
Removed the hibernate tag, as this really should get done. Hope that's ok @rickmanelius - also adding it to current sprint. Fix is to move the Obviously the test has failed us, so the test also needs to be improved. |
Assigned to @nmccrory - it will be interesting to see how you can improve the test to catch this situation. |
Followup: we need to plan a point release for next week so this doesn't annoy people. |
Noted. At some point, we might want to adopt a policy of minor releases at least every 2 weeks as long as there is a commit. Basically a bump of 0.0.1 if it doesn’t warrant a larger milestone. |
What happened (or feature request):
What you expected to happen:
I didn't expect to get rate-limited by github.
It seems that ~/.ddev/.update only gets rebuilt when an actual update is detected. As a result, if I keep my ddev up-to-date, the .update will never be updated, and thus the github api limit will happen quite soon, as it gets hit on every ddev command.
Code at https://github.com/drud/ddev/blob/master/cmd/ddev/cmd/root.go#L76
How to reproduce this:
Version: Please include the output of
ddev version
,docker version
and the project's .ddev/config.yaml.Anything else do we need to know:
It might be reasonable to also suggest
brew upgrade ddev
if on OSX, not just suggest the download, not sure.The text was updated successfully, but these errors were encountered: