devops-works / binenv

One binary to rule them all. Manage all those pesky binaries (kubectl, helm, terraform, ...) easily.
MIT License
373 stars 44 forks source link

Update error #45

Closed BrunIF closed 3 years ago

BrunIF commented 3 years ago
binenv update
updating distributions  40% |██████████████████████████████████████████████████████████████████                                                                                                   | (30/75, 3 it/s) [10s:14s]2020-11-23T09:13:44+02:00 WRN ignoring invalid version for "packer" error="Malformed version: nightly"
updating distributions  74% |██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████                                            | (56/75, 3 it/s) [18s:6s]2020-11-23T09:13:52+02:00 ERR unable to fetch versions for "onefetch" error="github rate limit is close: remaining 4 of 60; please retry after 2020-11-23 10:13:34 +0200 EET"

run again

binenv update
2020-11-23T09:15:02+02:00 ERR unable to fetch versions for "naabu-win" error="github rate limit is close: remaining 3 of 60; please retry after 2020-11-23 10:13:34 +0200 EET"

OS: Mac (Catalina) Version binenv: v0.8.2

leucos commented 3 years ago

Yes , this is expected. Github enforces very low rate limits when requesting the API without authentication.

You can use a token or update from the cache to overcome this. See the README section on the topic.

leucos commented 3 years ago

I see that the quick install instructions are error prone since they do not use --cache

The README has been fixed so at first install you do not stumble on this problem now.

Thanks