Giter VIP home page Giter VIP logo

Comments (8)

autinerd avatar autinerd commented on May 31, 2024 2

Ah, that option was added in jq 1.7, so we will have to look as this as well to support older jq versions.

from arcticons-linux.

autinerd avatar autinerd commented on May 31, 2024 1

Oh okay, there are two different yq. Then we will have to implement that both yqs are supported.

from arcticons-linux.

autinerd avatar autinerd commented on May 31, 2024 1

So, the mapping scripts now support both yq programs and jq < 1.7 :)

from arcticons-linux.

autinerd avatar autinerd commented on May 31, 2024

Which version of yq and jq do you have? (yq --version and jq --version)

from arcticons-linux.

supertsy5 avatar supertsy5 commented on May 31, 2024

Which version of yq and jq do you have? (yq --version and jq --version)

yq (https://github.com/mikefarah/yq/) version 4.35.2
jq-1.6

from arcticons-linux.

supertsy5 avatar supertsy5 commented on May 31, 2024

Thank you for helping me.
BTW after switch to yq 3.2.3 (from pip) I encountered another error:

inkscape is /usr/bin/inkscape
scour is /usr/bin/scour
mapping.yaml is valid
jq: Unknown option --raw-output0
...

from arcticons-linux.

supertsy5 avatar supertsy5 commented on May 31, 2024

Ah, that option was added in jq 1.7, so we will have to look as this as well to support older jq versions.

Maybe no need to do so, just tell everyone to use the latese version of jq 😸

from arcticons-linux.

supertsy5 avatar supertsy5 commented on May 31, 2024

And we should provide a list of required tool versions rather than let the script make incomprehensible errors again and again.

As far as I know (assuming that they are using semantic versions):

Name Version
jq ^1.7
xmlstarlet ^1.6.1
yq(*) ^3.2.3

Note: yq must be https://github.com/kislyuk/yq(in Python) instead of https://github.com/mikefarah/yq(in Go)

from arcticons-linux.

Related Issues (10)

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.