aboutsummaryrefslogtreecommitdiff
path: root/package/utils/jsonfilter
Commit message (Collapse)AuthorAge
* treewide: update PKG_MIRROR_HASH to zstPaul Spooren2024-04-06
| | | | | | | When using zst instead of xz, the hash changes. This commit fixes the hash for packages and tools in core. Signed-off-by: Paul Spooren <mail@aparcar.org>
* treewide: use APK compatible version schemaPaul Spooren2024-03-22
| | | | | | | | | | | | | | | | | Different from OPKG, APK uses a deterministic version schema which chips the version into chunks and compares them individually. This enforces a certain schema which was previously entirely flexible. - Releases are added at the very and end prefixed with an `r` like `1.2.3-r3`. - Hashes are prefixed with a `~` like `1.2.3~abc123`. - Dates become semantic versions, like `2024.04.01` - Extra tags are possible like `_git`, `_alpha` and more. For full details see the APK test list: https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/test/version.data Signed-off-by: Paul Spooren <mail@aparcar.org>
* jsonfilter: update to Git HEAD (2024-01-23)Jo-Philipp Wich2024-01-23
| | | | | | | | | | | 013b75ab0598 jsonfilter: drop legacy json-c support 594cfa86469c main: fix spurious premature parse aborts in array mode Fixes: https://bugs.openwrt.org/?task_id=3683 Fixes: https://github.com/openwrt/openwrt/issues/8703 Fixes: https://github.com/openwrt/openwrt/issues/11649 Fixes: https://github.com/openwrt/openwrt/issues/12344 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* jsonfilter: update makefile urlVladislav Grigoryev2022-02-26
| | | | | | Specify URL as PKG_SOURCE_URL in the jsonfilter Makefile. Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
* jsonfilter: update to latest git HEADJo-Philipp Wich2018-03-14
| | | | | | | | c7e938d implement POSIX regexp support cd6629f lexer: fix encoding 7 bit escape sequences 8614470 main: implement array mode Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: replace LEDE_GIT with PROJECT_GITJo-Philipp Wich2018-01-10
| | | | | | | Remove LEDE_GIT references in favor to the new name-agnostic PROJECT_GIT variable. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-22
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-16
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* source: Switch to xz for packages and tools where possibleDaniel Engberg2016-10-06
| | | | | | | | | | | * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* jsonfilter: update to latest git HEADJohn Crispin2016-07-02
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* package/*: update git urls for project reposJohn Crispin2016-06-13
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* treewide: replace jow@openwrt.org with jo@mein.ioJo-Philipp Wich2016-06-07
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* jsonfilter: fix printing 64bit valuesJo-Philipp Wich2016-06-01
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* jsonfilter: allow empty pathsJo-Philipp Wich2016-05-24
| | | | | | | Allow path specifications to refer to just '@' or '$' which is useful for exporting the keys or array indizes of the toplevel object to the shell. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* packages: use OPENWRT_GIT to point at the main openwrt git repoFelix Fietkau2016-01-04
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48118
* license info - revert r43155John Crispin2014-11-03
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-03
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43155
* Add a few SPDX tagsSteven Barth2014-11-02
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* jsonfilter: implement custom separators and support limiting the results, ↵Jo-Philipp Wich2014-06-19
| | | | | | | | fix handling of negative array indices Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41280
* jsonfilter: improve error reportingJo-Philipp Wich2014-06-19
| | | | | | | | | | | | The CLI now describes expression errors more precisely, e.g.: Syntax error: Invalid escape sequence In expression @["foo\x"] Near here ----------^ Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41266
* jsonpath: rename to jsonfilter and rewrite from flex/bison to lemonJo-Philipp Wich2014-06-18
This commit renames the jsonpath binary to jsonfilter to avoid clashing with a Python extension of the same name. The utility itself has been rewritten to use SQLite3's lemon parser generator instead of a flex/bison combination which results in a much smaller binary. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41258