northboundtrain / jqg Goto Github PK
View Code? Open in Web Editor NEWsearch JSON using JQ, printing full path/flattened results
License: Apache License 2.0
search JSON using JQ, printing full path/flattened results
License: Apache License 2.0
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
src/jqg
through shellcheck
to see errortest/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
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
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
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.