From ccb718cd0f5990d65cc7f4418e260726161bb286 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Tue, 20 Oct 2020 13:58:45 +1100 Subject: [PATCH] Moved macports to community, announced v4 --- README.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b903768..09a88c0 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,6 @@ Using [Homebrew](https://brew.sh/) brew install yq ``` -Using [MacPorts](https://www.macports.org/) -``` -sudo port selfupdate -sudo port install yq -``` - ### Ubuntu and other Linux distros supporting `snap` packages: ``` snap install yq @@ -95,6 +89,14 @@ choco install yq ``` Supported by @chillum (https://chocolatey.org/packages/yq) +### Mac: +Using [MacPorts](https://www.macports.org/) +``` +sudo port selfupdate +sudo port install yq +``` +Supported by @herbygillot (https://ports.macports.org/maintainer/github/herbygillot) + ### Alpine Linux - Enable edge/community repo by adding ```$MIRROR/alpine/edge/community``` to ```/etc/apk/repositories``` - Update database index with ```apk update``` @@ -168,6 +170,12 @@ Use "yq [command] --help" for more information about a command. ## Upgrade from V2 If you've been using v2 and want/need to upgrade, checkout the [upgrade guide](https://mikefarah.gitbook.io/yq/upgrading-from-v2). +## V4 is in development! +Beta will soon be released for community feedback! +V4 will be quite different from V3 (sorry for the migration), however it will be much more similar to ```jq```, use a similar expression syntax and therefore support much more complex functionality! + +For now - new features will be held off from V3 in anticipation of the V4 build. Critical fixes / issues will still be released. + ## Known Issues / Missing Features - `yq` attempts to preserve comment positions and whitespace as much as possible, but it does not handle all scenarios (see https://github.com/go-yaml/yaml/tree/v3 for details) - You cannot (yet) select multiple paths/keys from the yaml to be printed out (https://github.com/mikefarah/yq/issues/287)