./textproc/yq [jq wrapper for YAML/XML documents]
[+] Add this package to your ports tracker

[ CVSweb ] [ Homepage ] [ RSS feed ]

Version: 2.10.1, Package name: yq-2.10.1
Maintained by: Klemens Nanni
Master sites:
Description
yq takes YAML input, converts it to JSON, and filters it through jq(1).

No output conversion is done by default. Command line arguments are forwarded.
yq exits 1 on YAML parsing errors, otherwise jq's exit code is forwarded.

YAML tags in the input are ignored (any nested data is treated as untagged).
Key order is preserved.

xq behaves like yq but takes XML input. Multiple XML documents can be passed
in separate files/streams. Entity expansion and DTD resolution is disabled to
avoid XML parsing vulnerabilities.


Filesize: 19.99 KB
Version History (View Complete History)
  • (2020-05-15) Updated to version: yq-2.10.1
  • (2019-12-25) Updated to version: yq-2.10.0
  • (2019-11-10) Updated to version: yq-2.9.2
  • (2019-11-06) Package added to openports.se, version yq-2.7.2 (created)
[show/hide] View available PLISTS (Can be a lot of data)

CVS Commit History:

   2020-07-03 15:13:23 by Stuart Henderson | Files touched by this commit (1032)
Log message:
bump REVISION; python 3 default changed to 3.8
   2020-05-14 13:05:57 by Klemens Nanni | Files touched by this commit (2)
Log message:
Update to yq 2.10.1
- Add support for xmltodict force_list definition for xq CLI (#95)
- Support explicit doc markers (#93)
- Ensure proper ordering of help messages (#90)
   2019-12-24 12:24:31 by Klemens Nanni | Files touched by this commit (2)
Log message:
Update to yq 2.10.0
- Add support for in-place editing (yq -yi)
- Add argcomplete integration
   2019-11-23 16:49:17 by Kurt Mosiejczuk | Files touched by this commit (1)
Log message:
Move tests to MODPY_PYTEST and make results more legible
   2019-11-09 10:41:10 by Klemens Nanni | Files touched by this commit (3)
Log message:
Update to yq 2.9.2
- Fix interrupted release
- Fix documentation build
- Add -Y/–yaml-roundtrip for preserving YAML styles and tags
- Filter out -C and separate commingled yq and jq short options
- Set default block sequence indentation to 2 spaces, –indentless for 0
- Make main body of yq callable as a library function
- Test and release infrastructure updates