devops-works / binenv

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

No versions available for glab #159

Closed devtea closed 2 years ago

devtea commented 2 years ago

There appears to be no available versions for installing or updating the glab tool:

$ binenv update glab       
2021-10-01T08:49:06-05:00 INF retrieving distribution cache from https://raw.githubusercontent.com/devops-works/binenv/develop/distributions/cache.json
2021-10-01T08:49:06-05:00 INF fetched updates for 194 distributions

$ binenv install glab     
2021-10-01T08:49:13-05:00 WRN version for "glab" not specified; using ""
2021-10-01T08:49:13-05:00 ERR unable to install "glab" () error="unable to select latest stable version for \"glab\": no stable version available. May be run 'binenv update glab' ?"

$ curl https://raw.githubusercontent.com/devops-works/binenv/develop/distributions/cache.json 2>/dev/null| grep glab   
  "glab": [],
leucos commented 2 years ago

Thanks ! This seems to be a dupe or #156 and #157

Probably some issue with cache generattion. We'll look into that.

In the meantime, you can get out of trouble using:

binenv update glab -f
leucos commented 2 years ago

May be not a duplicate

No versions available even with this in the cache:

  "glab": [
    "1.20.0",
    "1.20.0-pre1",
    "1.19.0",
    "1.18.1",
    "1.18.0",
    "1.17.0",
    "1.16.0",
    "1.15.0",
    "1.14.0",
    "1.13.1",
    "1.13.0",
    "1.12.1",
    "1.12.0",
    "1.11.1",
    "1.11.0",
    "1.11.0-pre2",
    "1.11.0-pre1",
    "1.10.0",
    "1.9.1",
    "1.9.0",
    "1.8.1",
    "1.8.0",
    "1.7.1",
    "1.7.0",
    "1.6.2",
    "1.6.1",
    "1.6.0",
    "1.5.0",
    "1.5.1",
    "0.1.0"
  ],