Coder Social home page Coder Social logo

jqg's People

Contributors

northboundtrain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

0yves0

jqg's Issues

[BUG] Shellcheck error SC2086 on $JQG_OPTS

Describe the bug

On line 26, the use of $JQG_OPTS should be quoted to prevent globbing, however that can't be done directly because then it won't word-split (which is desired).

https://github.com/koalaman/shellcheck/wiki/SC2086


Versions & Environments

JQG: v1.1.2
JQ: jq-1.6
BASH: /opt/local/bin/bash -- 5.1.16(1)-release
$JQG_OPTS:
$JQ_BIN:


To Reproduce

  • run src/jqg through shellcheck to see error
  • quote the value in the script then run unit tests:
test/31-jqg-opts-envvar.bats      (Wstat: 256 Tests: 22 Failed: 6)
  Failed tests:  9-10, 12, 14, 20-21
  Non-zero exit status: 1

Additional Context

n/a

[BUG] `curl` unit test cannot run behind proxy

Describe the bug

There is at least one unit test involving 'curl' that will break if access to GitHub cannot be reached without going through a proxy. Ideally this would be detected and the test skipped, but at the very least it should not hang indefinitely.


Versions & Environments

JQG: v1.2.1
JQ: jq-1.6
BASH: /opt/local/bin/bash -- 5.1.16(1)-release
$JQG_OPTS:
$JQ_BIN:


To Reproduce

Run the following while behind a proxy server:

test/bats/bin/bats test/99-examples.bats -f curl


Additional Context

n/a

[BUG] Search criteria with embedded space fails to match

Describe the bug

Using search criteria with an embedded space does not produce the expected results.


Versions & Environments

JQG: v1.2.0
JQ: jq-1.6
BASH: /opt/local/bin/bash -- 5.1.16(1)-release
$JQG_OPTS:
$JQ_BIN:


To Reproduce

$ jqg "Meyer" test/citrus.json
{
  "hybrid.lemon.related.Meyer lemon.ancestors.0": "citron",
  "hybrid.lemon.related.Meyer lemon.ancestors.1": "sweet orange",
  "hybrid.lemon.related.Meyer lemon.color": "yellow"
}

$ jqg "Meyer lemon" test/citrus.json
{}

Additional Context

n/a

[BUG] Don't use `regex` to refer to search criteria

Describe the bug

In JQG.md (and possibly elsewhere), the use of regex to refer to the search criteria is a little misleading, if for no other reason than because the JQ filter '.' can be used, instead. Come up with a better way of describing it.


Versions & Environments

JQG: v1.2.0
JQ: jq-1.6
BASH: /opt/local/bin/bash -- 5.1.16(1)-release
$JQG_OPTS:
$JQ_BIN:


To Reproduce

n/a


Additional Context

n/a

[BUG] README doc links broken

Describe the bug

In README.md, many documentation links use doc/foo.md instead of docs/foo.md.


Versions & Environments

JQG: v1.2.0
JQ: jq-1.6
BASH: /opt/local/bin/bash -- 5.1.16(1)-release
$JQG_OPTS:
$JQ_BIN:


To Reproduce

Click on links and get a 404


Additional Context

n/a

[BUG] executable removed from releases

Describe the bug

Executable removed from releases, therefore README instructions are failing

wget https://github.com/NorthboundTrain/jqg/releases/latest/download/src/jqg


Versions & Environments
N/A


To Reproduce
N/A


Additional Context
N/A

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.