Giter Club home page Giter Club logo

asdf-jq's People

Contributors

austinbv avatar azmcode avatar katellification avatar kwilczynski avatar mehalter avatar zteeed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

asdf-jq's Issues

Given version '1.6' did not match any releases

Every now and then (intermittently) we get this error:

curl: (22) The requested URL returned error: 403 
Given version '1.6' did not match any releases. Try list-all to see available options
No URL found for release 1.6
Malformed URL

This happened before when the repo was moved โ€“ then the reason probably was the missing repo.

However, it keeps happening now even after the recent fix. So I wonder if something else is not working.

Is there a way to surface more clearly which server is responding with 403 here? I can't make head or tails of this error message.

Regex for `list-all` when the response is minimized

I'm seeing the payload from https://api.github.com/repos/stedolan/jq/releases be returned in minimized fashion. The regex in https://github.com/AZMCode/asdf-jq/blob/master/bin/list-all#L24 works when the payload is well formatted json, but does not work when it is minimized (the greedy operator matches too much).

My regex is not all that great, but locally the following pattern works much better:

grep -oE "tag_name\": *\"jq-[0-9]+.[0-9]+[a-z]*[0-9]*\"," | sed 's/tag_name\": *\"//;s/\",//'

1.7rc1 installation issue on Ubuntu 22.10

~ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.10
Release:	22.10
Codename:	kinetic
~ asdf plugin-add jq https://github.com/AZMCode/asdf-jq.git
~ asdf install jq 1.6                                 
~ jq --version
jq-1.6
~ asdf install jq 1.7rc1                              
curl: (3) URL using bad/illegal format or missing URL
~ asdf list jq
 *1.6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.