summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2025-04-16 04:36:06 +0000
committerBruce Ashfield <bruce.ashfield@gmail.com>2025-04-16 04:38:31 +0000
commit9ac32d6781510b10e86effc5b513266993b132ec (patch)
tree697dc1e383ba6e4bc39cb25de4bffa3007c6ad5c
parent88698b34937d996b641a5869af5fbcb4c46a44aa (diff)
downloadmeta-virtualization-9ac32d6781510b10e86effc5b513266993b132ec.tar.gz
yq: update to v4.30.8
We also drop the -dev package avoidance of bash dependency as many more vendor'd packages now require it. Bumping yq to version 1.13.1-1767-gde2f77b4, which comprises the following commits: 8bf425b4 Bumping version f755755b Updated release notes 0f390b27 Bumping goccy 31ad7fba Bump github.com/magiconair/properties from 1.8.7 to 1.8.9 566cf82d Bump github.com/goccy/go-json from 0.10.3 to 0.10.4 2c9f8331 Bump github.com/elliotchance/orderedmap from 1.7.0 to 1.7.1 c02d44de Bump golang.org/x/net from 0.32.0 to 0.33.0 f73c862c feat: Create parent directories if --split-exp is used. 294a1709 Bumping version 342efb23 Fixed panic on multipling string by very large number #2211 22013812 Fixed multiply string by negative number panic #2211 52737154 Fixed panic error #2211 e204677f Fixed no-colors regression #2218 f7681595 Create docker image for armv7 / raspberry pi3 c16b1800 Make sure to update the key when deleting array elements 3bca3a23 Bump github.com/elliotchance/orderedmap from 1.6.0 to 1.7.0 70bef5b9 Bump golang.org/x/net from 0.31.0 to 0.32.0 ea2ba18e Bump golang from 1.23.3 to 1.23.4 80310eaa Removing temp docker fix 83911937 Temp fix docker version d858ab16 Removing riscv64 from docker build as its not supported by the base golang:1.23.2 image f1c7e5ca Updated release notes bc5b54cb Bumping version 129e5973 Fixing release pipeline 42db154e Bumping version f06c7c6b Updating release notes b710fadf Regenerating go mod 58cc9db7 Updated release notes 4af292f0 Fixed handling of nulls with sort_by expressions #2164 f238f018 Bump github.com/fatih/color from 1.17.0 to 1.18.0 58a4d240 Bump golang.org/x/net from 0.30.0 to 0.31.0 887b4a56 Fixed linting f2cc2ea5 Bump golang from 1.23.2 to 1.23.3 95e7b35f Fixed spelling of coloured f071a25f cmd: force no color output when NO_COLOR env presents b8607bac Prefer not having nolint 6908161f replace error creation f168172b remove unused variable parameters from functions 3ce266bf fix parameter order in error type comparison 7eef1a45 exclude lint errors to keep cobra params unchanged 072491c6 remove lint exception no longer required 18972b29 replace deprecated megacheck with specific linters 9d60c796 update golangci-lint to the last version 9caeb429 Format comments with a gray foreground 39a81da1 Bump golang.org/x/net from 0.29.0 to 0.30.0 b84e23e1 Bump golang from 1.23.1 to 1.23.2 f654fbf4 Fixed array subtraction update bug #2159 5df71072 Fixed index out of range error cc7738bb Bump golang.org/x/net from 0.28.0 to 0.29.0 302ce129 Bump golang from 1.23.0 to 1.23.1 f57de74c Bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 383cd0f1 Bump golang from 1.22.5 to 1.23.0 3727b3e6 Fixed unecessary int64 to int conversion c477fc08 Updated readme to include x-cmd 18460060 Can traverse straight from parent operator (parent.blah) dff01224 Regen kind docs 42b92aff Added pick including all keys example c76e432d Bump golang.org/x/net from 0.27.0 to 0.28.0 19e2591b Only use podman if CLI can execute. Use docker if non-Linux podman has no connection to Linux system. 6eb2ae75 Create kind.md header doc 82fca30e Fix cspell errors c46c1a71 build: use goreleaser for building cross-compiled binaries and add riscv64 target (#2135) bbdd9748 Bumping version 99406687 Preparing release 95aaccee Add Flox to installation methods (#2117) b9c3ff6f convert file ext to lowercase for format detection (#2121) b80e1cb3 Use static bin in snap (#2090) 0ff84152 Bump golang.org/x/net from 0.26.0 to 0.27.0 (#2099) e8dcf3f1 Bump github.com/goccy/go-yaml from 1.11.3 to 1.12.0 (#2108) 208302cf Bump golang from 1.22.4 to 1.22.5 (#2091) ef6fb92e Log printing follow no-colors flag #2082 28646c7b Skip and warn when interpolating strings and theres a unclosed bracket #2083 0b7d4b79 Fixed CSV content starting with # issue #2076 7e172251 Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#2075) f15500b2 Bumping version b8aec71e Preparing release 68aafb6a Handle numbers with underscores #2039 d58870b0 Adding splat[] short hand to explode,collect,flatten,groupby,path,pivot,select and more f1964dec Adding splat[] short hand to collect,eval,map,omit,path,pick 45eda8db Added support for shorthand splat[] for filter,reverse,sort,shuffle d9af2dd9 Support env[] expression #2071 7bad2f4f Adding back in commented tests :facepalm 3ea19ad2 clean code 42120e13 Unique now works on maps and arrays #2068 1147113f Bump github.com/goccy/go-json from 0.10.2 to 0.10.3 (#2046) 2edfa834 Bump github.com/elliotchance/orderedmap from 1.5.1 to 1.6.0 (#2053) 8c7cfb72 Bump golang.org/x/net from 0.25.0 to 0.26.0 (#2061) 356c60f4 Bump golang from 1.22.3 to 1.22.4 (#2062) 4cc646b1 Bump github.com/fatih/color from 1.16.0 to 1.17.0 (#2043) 2e44ab45 Bump golang.org/x/net from 0.24.0 to 0.25.0 (#2035) 557dcb87 Bumping version 2daa39e3 Updating release notes 0c15cf35 Added properties convert to numbers example #2023 d9adcdb6 Update instructions for Alpine Linux (#2034) 9010809d Bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 (#2024) 8250f0c2 Bump golang.org/x/text from 0.14.0 to 0.15.0 (#2036) 8ac9f605 Bump golang from 1.22.2 to 1.22.3 (#2037) 17481714 Bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 (#2014) 21ba506e Fix: shell-completion (#2006) b54d7eb2 handle escaped backslashes (#1997) db6f2dc6 Bump golang from 1.22.1 to 1.22.2 (#1998) 1411f450 Bump golang.org/x/net from 0.22.0 to 0.24.0 (#2008) c7baa8bc Fix: linux (w/ selinux) build (#2004) a4b9c304 Removed unused debian directory #2000 fe84f622 Docs 28c40670 Fixes npe when given filename ending with "." #1994 101cf14b min/max operators (#1992) 3283c65d pivot operator (#1993) 2ee7508b typos 2ecd8b60 updated contribe guide 021d5f05 Fixing omit docs 19a0e6dd Bumping version fbd4c842 Remove old JSON warning d9ef03a2 Bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 (#1986) f5bfe5a2 omit operator (#1989) 3b85cef3 support string X int multiplication as jq (#1988) 76a0da39 Refactoring load op 2b2c2854 Adding release notes 8a07e3da Can specify parent levels #1970 9e9cb65e Fixed CSV line break issue #1974 29056ee8 Bump golang from 1.22.0 to 1.22.1 (#1968) 8f4e9718 Bump golang.org/x/net from 0.21.0 to 0.22.0 (#1969) b4463e29 Adding a EvaluateAll function to StringEvaluator #1966 93ed6660 yqlib, default to colors off when using yaml library #1964 b5e3a014 Added comment to goccy decoder, its will WIP b6ea54ba Updating release notes e092329b String interpolation! #1149 152b1584 Uncomment tests - oops 72a78472 Added tostring #72 706424a4 Improving column docs 9adde1ac Bumping version ef24680e Updating release notes 447bf28c Introduced 'format' to encapsulate encoding and decoding formats together 8f6d6420 Refactoring encoding configuration 1d371b71 Refactoring encoding configuration 55f6a3a4 Refactoring JSON encoder prefs 7a01e216 Refactoring Yaml encoder prefs f44d47a2 Refactoring Props encoder prefs 2866e90c Refactoring XML encoder prefs 571caa69 Refactoring Output types 8a538394 Updating release notes 3b84aaab Updating release notes 311c9afe Bump github.com/alecthomas/repr from 0.3.0 to 0.4.0 (#1953) abef92d7 Added prune recipe 9f3822fb Improving property docs b24b484e Added --properties-array-brackets flag for properties encoder #1933 2865022c Add --properties-separator option (#1951) 9a8151d3 Added csv separator flag #1950 42439b7d Adding shebang documentation 796b4a09 Adding shebang documentation 86bb90f9 Can shebang yq scripts! #1851 04769454 Bumping version 3c3f1180 Cleaning up log message formats 9142c93d Improved log format d9e1a789 Fixed Toml decoding when table array defined before parent #1922 c32a9cea Added new CSV option to turn off auto-parsing #1947 e81b6007 Fixing with_entries context #1925 8cde0c83 Can now retrieve the alias names of merge anchors #1942 b55f52f3 Improve merge docs 1d06d8b4 Another comment example 2871fa05 Release notes for next release 2dda0a20 Comments in yq expressions! #1919 24bd5636 Updating style docs bf2bc29e Dont run release build on v4 branch 7781edda Updating release notes c9722c22 Re-releasing for latest dependency updates bb66c9c8 Bumping version 279d9a69 Bump golang.org/x/net from 0.20.0 to 0.21.0 (#1940) 1b17de13 Bump golang from 1.21.6 to 1.22.0 (#1939) e1904627 Bumping version 5513ac8a Empty TOML table is an empty object d4e16a41 fix: empty TOML table (#1936) 6e21c9f7 Need to escape single quotes in bash, updated docs #1932 2473068a Attempt to use the latest snapcraft build 61833501 Bump github.com/goccy/go-yaml from 1.11.2 to 1.11.3 (#1930) 33a3bb3b Bump golang from 1.21.5 to 1.21.6 (#1915) c06e1604 Bump golang.org/x/net from 0.19.0 to 0.20.0 (#1916) 010750da Updated to latest golint 8af3e46f Fixed bump version to move v4 tag 84890ae3 Add arg and flag completions a69c1b52 Generate v2 bash completions aaef2714 Bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1 (#1904) 16bab889 Bump github/codeql-action from 2 to 3 (#1903) dea8f956 Fixed "all" error message #1845 eb427878 Added another new recipe cbd03f8a Added new recipe 4cf123fe Fixed to_entries[] eff7d99e Added sample yq script dd648994 Bumping version 755becdd Release notes 7f26d91c Fixed handling of --- #1890, #1896 fa322aec Bump golang from 1.21.4 to 1.21.5 (#1895) c7b14eac Bump actions/setup-go from 4 to 5 (#1894) 2fd1537b Bump github.com/alecthomas/participle/v2 from 2.1.0 to 2.1.1 (#1893) 1db4b52c Bump github.com/yuin/gopher-lua from 1.1.0 to 1.1.1 (#1892) d474bb8b Fixing sef fault on bad XML #1888 1c3d5510 Bumping version d16b6fbb Release notes 54a6978e Release notes a988cd90 Updating JSON doc: NDJSON spec deprecated, prefer JSON Lines 779b2631 Updating references to yq being a YAML processor 638deed0 Bump golang.org/x/net from 0.18.0 to 0.19.0 (#1887) 730f240d Fixed to_entries and del bug #1886 c11a5332 Bumping version 430a6d52 Release notes eecc1065 Update JSON to YAML example for new JSON input output default (#1875) 998b4edb Grammar fixes (#1877) 26effddb Fixed empty array json bug #1880 1cf9ecc7 Bumping version 8024470b Updating release notes e5cc57be Do not panic when StdIn is closed (#1867) 3d64bdad Fixes issue when update against self #1869 4b8c8506 Updating release notes f789740f Bump github.com/elliotchance/orderedmap from 1.5.0 to 1.5.1 (#1854) 0523c9df Bump golang.org/x/net from 0.17.0 to 0.18.0 (#1856) c7ef9460 Fixed multi doc anchor bug #1861 79a50b9c Fixes dos line separator issue when reading expression file #1860 b75dc078 Bump github.com/fatih/color from 1.15.0 to 1.16.0 (#1857) fc940689 Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#1858) 7892d38f Bump golang from 1.21.3 to 1.21.4 (#1859) 5f4c1fbd Bumping version 8122c9ed Release notes d6e099f7 Formatting bbe196ba feat: upgrade go.mod to 1.21 (#1830) a60d2797 add tests for root node unwrap bug in previous versions (#1837) c8f4ba7f Removing copier lib 13d1bbb4 Generic ast (#1829) 74304194 fix: Missing dependencies to build application (#1825) 5ac95e54 Bump golang from 1.21.1 to 1.21.3 (#1823) aaa81ac4 Bump golang.org/x/net from 0.15.0 to 0.17.0 (#1822) 7c78a15b Lua output fixes (#1811) 610896e5 Bump github.com/alecthomas/repr from 0.2.0 to 0.3.0 (#1813) d113344a Added tonumber support #71 6e65d44a Can build yq with no lua 5fa41624 Add support for Lua input (#1810) ee900ec9 Added kind operator a198f723 Bumping version 9f355b93 Release notes 0cf3adf5 Adding another xml test; spelling fixes 05ad1dad Fix typos (#1798) c750f1a4 Bump github.com/goccy/go-yaml from 1.11.1 to 1.11.2 (#1794) cdb9b560 Spellig with cspell 980b0e6d Bump golang.org/x/net from 0.14.0 to 0.15.0 (#1775) 0667500b Bump docker/setup-qemu-action from 2 to 3 (#1785) fa8cfd04 Bump docker/setup-buildx-action from 2 to 3 (#1786) 974ded5a Bump github.com/alecthomas/participle/v2 from 2.0.0 to 2.1.0 (#1787) e126344c Bump github.com/goccy/go-yaml from 1.11.0 to 1.11.1 (#1788) e09779e0 Fixed number parsing as float bug in JSON #1756 0a0182da Bump actions/checkout from 3 to 4 (#1776) 594a0be8 Bump golang.org/x/text from 0.12.0 to 0.13.0 (#1774) 95f61c6f Bump golang from 1.21.0 to 1.21.1 (#1773) de55fb39 Bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0 (#1768) 62b25b1b Added recipes documentation c6648044 Added recipes documentation cda69bff Adding recipes e5564c18 Another xml example 55c0d485 Fixed string, null concact consistency #1712 71f95ab8 Fixed .a!= parsing issue #1711 1e84d7ef Bump github.com/jinzhu/copier from 0.3.5 to 0.4.0 (#1763) d18a5e3a Fixed new linting issue CWE-118 596dda8c improve community supported installation options for Windows (#1761) 6609ed76 Bumping version 44c7f3ae Preparing release notes aaf805d8 Added checksum in bsd format ba1d5c1a Bump golang.org/x/net from 0.13.0 to 0.14.0 (#1751) 1c4f92ec Bump golang.org/x/text from 0.11.0 to 0.12.0 (#1752) 804b204f Bump golang from 1.20.7 to 1.21.0 (#1753) d302d75c Implement basic Lua output support (#1745) 9b408291 Bump golang from 1.20.6 to 1.20.7 (#1749) 1d611f04 Bump golang.org/x/net from 0.12.0 to 0.13.0 (#1750) 1dee08aa Bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 (#1732) a68be7de Bump golang from 1.20.5 to 1.20.6 (#1725) 0b34c9a0 Bumping version 9cb09182 Release notes dde18338 Bump golang.org/x/net from 0.11.0 to 0.12.0 (#1719) b762da38 Bump golang.org/x/net from 0.10.0 to 0.11.0 (#1695) cb521fd0 Bump golang from 1.20.4 to 1.20.5 (#1690) 22ad68d1 Bump golang.org/x/text from 0.9.0 to 0.10.0 (#1696) 845d4ae3 Bump github.com/pelletier/go-toml/v2 from 2.0.7 to 2.0.8 (#1673) fcc04823 Added docs on base64 only working with utf8 content 5950329e Added docs on yes/no being strings in yaml spec 1.2 5ef537f3 Bumping version f7fc4edc Preparing release notes af177f96 Bump golang.org/x/net from 0.9.0 to 0.10.0 (#1667) 4d50b001 Added test for null array json example d14eaa9b fix: runtime error: invalid memory address or nil pointer dereference (#1649) 91f47ff3 Bump golang from 1.20.3 to 1.20.4 (#1658) 80b42b81 Implement shell output format (#1645) bbe30550 Bump golang.org/x/net from 0.8.0 to 0.9.0 (#1638) d2f1ae9d Bumping version 3aa4c833 Release notes 385921a3 Fixed passing of readonly context in pipe 9d3c4029 Bump golang from 1.20.2 to 1.20.3 (#1628) cb907647 Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#1629) a7934680 Bump github.com/goccy/go-yaml from 1.10.1 to 1.11.0 (#1630) f58b1e52 Update README command for converting JSON to YAML (#1627) eba07529 Added scalar output for TOML (#1617) a389bb64 Fixed bug when splatting empty array #1613 496035c7 toml docs d00ffd9c Updating release notes d5bbe5be Bumping version 6a527604 Bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.7 (#1623) 1fa88041 Bump github.com/alecthomas/participle/v2 from 2.0.0-beta.5 to 2.0.0 (#1624) 4cbede61 Bump github.com/goccy/go-yaml from 1.10.0 to 1.10.1 (#1625) 5fd2890d Add ``--nul-output|-0`` flag to separate element with NUL character (#1550) 311622d1 Add removable-media interface plug declaration to the snap packaging(#1618) (#1619) 8d516ce5 Handle scalars in csv, xml files 1b0a62d0 Handle scalars in property files ac5346b1 Release notes ebd1548e Bumping version aebdbb41 Added warning for auto-input json files 7103b78d Draft: Toml (#1439) 47f4ddc9 Bump github.com/goccy/go-json from 0.10.1 to 0.10.2 (#1614) 4ee4b09e Bumping version df5737ab Updating release notes 48b481b6 Unknown file type should default to yaml, Fixes #1609 7305b50f Fixed release notes - toml not released yet 875cfdc9 Bumping version 95aafdd8 Fixed modulo docs fdce8fce Added docs d8324dee Release notes dccba109 added another base64 test 69d3e3f3 Add support for decoding base64 strings without padding (#1604) 99b2ab61 Bump github.com/goccy/go-json from 0.10.0 to 0.10.1 (#1602) cbe84232 Bump actions/setup-go from 3 to 4 (#1601) dd4306b0 Bump github.com/fatih/color from 1.14.1 to 1.15.0 (#1603) ac8ffa28 doc gen fa6fac1a Minor typos (#1595) a6f0495b Stripped debugging info from binary e7f4c6ca Update README.md f2dd2999 Removed debain as a installation method 3404cc0d Removed debain as a installation method 9d2210b1 Removed debain as a installation method a466821e Added divide and modulo operators (#1593) 360a47fd Fixed npe in log #1596 08a6cb65 Auto output format (#1599) 2c14c984 Bump golang from 1.20.1 to 1.20.2 (#1589) eafcc3ba Bump golang.org/x/net from 0.7.0 to 0.8.0 (#1590) 9539877f Add filter operation (#1588) d30941b5 Detect input format based on file name extension (#1582) fed96f67 Bump github.com/goccy/go-yaml from 1.9.8 to 1.10.0 (#1581) 2340ce6a Release notes e5260d85 Release notes 47f4f8c7 Bumping version 2195df9e Fixed xml encoding of ProcInst #1563, improved XML comment handling fdb14875 Preparing release notes 3f1f66a8 Fixed merged anchor reference problem #1482 cf8cfbd8 Allow build without json and xml support (#1556) 62d167c1 Variable loop - Fixes #1566 (#1577) cb27444e Bump golang.org/x/net from 0.1.1-0.20221104162952-702349b0e862 to 0.7.0 (#1576) ce3d8378 Bump github.com/a8m/envsubst from 1.4.1 to 1.4.2 (#1569) 9949a237 v4.31.1 b86fb0ae Bumping version b369de66 Bump golang from 1.20.0 to 1.20.1 (#1557) 75483fe9 Fix github action attempt f4e7203a Fix github action attempt d17fd942 Added shuffle command #1503 a1698b74 Added ability to sort by multiple fields #1541 5cb3c876 bump to go 1.20 0f2a84d2 Bump golang from 1.19.5 to 1.20.0 (#1542) bbb149b3 Bumped linter 18a51ca5 Bump github.com/a8m/envsubst from 1.3.0 to 1.4.1 (#1551) 93b7c999 Use a lazy-quoting @sh encoder (#1548) f64f73a0 Updated gosec 88a6b20b Fixed date comparison with string date #1537 915ab699 Added to_unix operator f9f340b6 Github pipeline not in AU tz :D 75920481 Added from_unix operator #1535 d21bb920 Added shell string encoder (@sh) #1526 d119dbc2 Upgrading golang.org/x/net package (#1540) 7eda4a51 Bump github.com/fatih/color from 1.13.0 to 1.14.1 (#1531) 3b1bcac5 review feed back on URI 6d7d76a3 Adds @uri/@urid #1529 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-devtools/yq/yq_git.bb123
1 files changed, 78 insertions, 45 deletions
diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb
index 3d0714c7..0e9d36ca 100644
--- a/recipes-devtools/yq/yq_git.bb
+++ b/recipes-devtools/yq/yq_git.bb
@@ -4,48 +4,85 @@ HOMEPAGE = "https://github.com/mikefarah/yq"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=e40a0dcd62f8269b9bff37fe9aa7dcc2" 5LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=e40a0dcd62f8269b9bff37fe9aa7dcc2"
6 6
7SRCREV_yq = "dd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1" 7SRCREV_yq = "de2f77b49cbd40fd67031ee602245d0acc4ac482"
8SRCREV_color = "daf2830f2741ebb735b21709a520c5f37d642d85"
9SRCREV_lexer = "6cdefc42e112ac71cbe316e1eed264ea62f58e25"
10SRCREV_cobra = "b43be995ebb4bee335a787bd44498b91aef7619c"
11SRCREV_pflag = "2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab"
12SRCREV_logging = "b2cb9fa56473e98db8caba80237377e83fe44db5"
13SRCREV_yaml = "f6f7691b1fdeb513f56608cd2c32c51f8194bf51"
14SRCREV_xerrors = "65e65417b02f28de84b55f16b46a1e789149973a"
15SRCREV_envsubst = "16035fe3571ad42c7796bf554f978bb2df64231b"
16SRCREV_participle = "49f4822ed012d9818c80ca4fcdeb7e2d55c04806"
17SRCREV_utfbom = "6ae8f945ca96f30defc7e8ab12ec5d10cf86ded4"
18SRCREV_orderedmap = "1e43e194ff533a346bab5f9b66b738256f199c8a"
19SRCREV_go-json = "5efc7d07eeeba186df630d9ab4ac78c761938c27"
20SRCREV_copier = "d132b069fe1a77d09e4c260852b389a730bbe9ba"
21SRCREV_properties = "c9a06e8f8f0164e4e16c0d5c4793cbed4ac90264"
22SRCREV_net = "f3363e06e74cdc304618bf31d898b78590103527"
23SRCREV_text = "434eadcdbc3b0256971992e8c70027278364c72c"
24SRCREV_diff = "20ebb0f2a09e612109b224b32f79370409108bcc"
25 8
26SRCREV_FORMAT = "yq_color" 9SRCREV_FORMAT = "yq_color"
27SRC_URI = "git://${GO_IMPORT};name=yq;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \ 10SRC_URI = "git://${GO_IMPORT};name=yq;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
28 git://github.com/fatih/color;name=color;destsuffix=build/vendor/src/github.com/fatih/color;branch=main;protocol=https \ 11 file://run-ptest"
29 git://github.com/goccy/go-yaml;name=lexer;destsuffix=build/vendor/src/github.com/goccy/go-yaml/;branch=master;protocol=https \ 12
30 git://github.com/spf13/cobra;name=cobra;nobranch=1;destsuffix=build/vendor/src/github.com/spf13/cobra;branch=main;protocol=https \ 13# go.mod dependencies are below:
31 git://github.com/spf13/pflag;name=pflag;destsuffix=build/vendor/src/github.com/spf13/pflag;branch=master;protocol=https \ 14
32 git://github.com/op/go-logging.git;name=logging;destsuffix=build/vendor/src/gopkg.in/op/go-logging.v1;branch=master;protocol=https \ 15SRCREV_net = "8da7ed17cdaf5e1d42aa868f0b0322a207a17dcd"
33 git://github.com/go-yaml/yaml.git;name=yaml;branch=v3;destsuffix=build/vendor/src/gopkg.in/yaml.v3;protocol=https \ 16SRC_URI += "git://go.googlesource.com/net;name=net;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/golang.org/x/net"
34 git://github.com/golang/xerrors;name=xerrors;protocol=https;nobranch=1;destsuffix=build/vendor/src/golang.org/x/xerrors \ 17
35 git://github.com/a8m/envsubst;name=envsubst;destsuffix=build/vendor/src/github.com/a8m/envsubst;branch=master;protocol=https \ 18SRCREV_yaml.v3 = "f6f7691b1fdeb513f56608cd2c32c51f8194bf51"
36 git://github.com/alecthomas/participle;name=participle;destsuffix=build/vendor/src/github.com/alecthomas/participle;branch=master;protocol=https \ 19SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v3;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/gopkg.in/yaml.v3"
37 git://github.com/dimchansky/utfbom;name=utfbom;destsuffix=build/vendor/src/github.com/dimchansky/utfbom;branch=master;protocol=https \ 20
38 git://github.com/elliotchance/orderedmap;name=orderedmap;destsuffix=build/vendor/src/github.com/elliotchance/orderedmap;branch=master;protocol=https \ 21SRCREV_sys = "d4ac05dc8c4c953ec29cae3df56c0833f4010763"
39 git://github.com/goccy/go-json;name=go-json;destsuffix=build/vendor/src/github.com/goccy/go-json;branch=master;protocol=https \ 22SRC_URI += "git://github.com/golang/sys;name=sys;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/golang.org/x/sys"
40 git://github.com/jinzhu/copier;name=copier;destsuffix=build/vendor/src/github.com/jinzhu/copier;branch=master;protocol=https \ 23
41 git://github.com/magiconair/properties;name=properties;destsuffix=build/vendor/src/github.com/magiconair/properties;branch=main;protocol=https \ 24SRCREV_text = "566b44fc931e2542778a18423c655ce99b4f1402"
42 git://github.com/golang/net;name=net;destsuffix=build/vendor/src/golang.org/x/net;branch=master;protocol=https \ 25SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/golang.org/x/text"
43 git://github.com/golang/text;name=text;destsuffix=build/vendor/src/golang.org/x/text;branch=master;protocol=https \ 26
44 git://github.com/pkg/diff;name=diff;destsuffix=build/vendor/src/github.com/pkg/diff;branch=main;protocol=https;apply=no \ 27SRCREV_diff = "20ebb0f2a09e612109b224b32f79370409108bcc"
45 file://run-ptest \ 28SRC_URI += "git://github.com/pkg/diff;name=diff;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/pkg/diff"
46 " 29
30SRCREV_color = "1c8d8706604ee5fb9a464e5097ba113101828a75"
31SRC_URI += "git://github.com/fatih/color;name=color;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/fatih/color"
32
33SRCREV_cobra = "e94f6d0dd9a5e5738dca6bce03c4b1207ffbc0ec"
34SRC_URI += "git://github.com/spf13/cobra;name=cobra;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/spf13/cobra"
35
36SRCREV_pflag = "5ca813443bd2a4d9f46a253ea0407d23b3790713"
37SRC_URI += "git://github.com/spf13/pflag;name=pflag;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/spf13/pflag"
38
39SRCREV_envsubst = "9df41d110e18f0ce5f7cd58f94d88d79dc441259"
40SRC_URI += "git://github.com/a8m/envsubst;name=envsubst;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/a8m/envsubst"
41
42SRCREV_go-json = "9872089c316cfe2d0f29b331b75d45bf6d522d96"
43SRC_URI += "git://github.com/goccy/go-json;name=go-json;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/goccy/go-json"
44
45SRCREV_go-yaml = "9b2c4569e2563d5cf2f16785b1fa2cab5e09882e"
46SRC_URI += "git://github.com/goccy/go-yaml;name=go-yaml;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/goccy/go-yaml"
47
48SRCREV_copier = "70b1d4e41a98ca3ef7f468ade5c515e4193405df"
49SRC_URI += "git://github.com/jinzhu/copier;name=copier;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/jinzhu/copier"
50
51SRCREV_go-logging.v1 = "b2cb9fa56473e98db8caba80237377e83fe44db5"
52SRC_URI += "git://github.com/op/go-logging;name=go-logging.v1;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/gopkg.in/op/go-logging.v1"
53
54SRCREV_repr = "3d05a4813c4bc97890471226ba1cf7f240a376ac"
55SRC_URI += "git://github.com/alecthomas/repr;name=repr;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/alecthomas/repr"
56
57SRCREV_gopher-lua = "1388221efeb4a239a053e5932c3d755699055684"
58SRC_URI += "git://github.com/yuin/gopher-lua;name=gopher-lua;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/yuin/gopher-lua"
59
60SRCREV_go-isatty = "a7c02353c47bc4ec6b30dc9628154ae4fe760c11"
61SRC_URI += "git://github.com/mattn/go-isatty;name=go-isatty;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/mattn/go-isatty"
62
63SRCREV_utfbom = "6ae8f945ca96f30defc7e8ab12ec5d10cf86ded4"
64SRC_URI += "git://github.com/dimchansky/utfbom;name=utfbom;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/dimchansky/utfbom"
65
66SRCREV_go-colorable = "11a925cff3d38c293ddc8c05a16b504e3e2c63be"
67SRC_URI += "git://github.com/mattn/go-colorable;name=go-colorable;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/mattn/go-colorable"
68
69SRCREV_go-toml-v2 = "b730b2be5d3ab7283067ddf61188f41cdf42ce06"
70SRC_URI += "git://github.com/pelletier/go-toml;name=go-toml-v2;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/pelletier/go-toml/v2"
71
72SRCREV_properties = "d8bdba35b511a72d4c00a47e801dc703328198e8"
73SRC_URI += "git://github.com/magiconair/properties;name=properties;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/magiconair/properties"
74
75SRCREV_orderedmap = "9d80274286972e4b495b38de2923a4d5f9758c8d"
76SRC_URI += "git://github.com/elliotchance/orderedmap;name=orderedmap;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/elliotchance/orderedmap"
77
78SRCREV_v2 = "bcbb39153e17f8018257f17aba8eac628d396b64"
79SRC_URI += "git://github.com/alecthomas/participle;name=v2;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/alecthomas/participle/v2"
80
81SRCREV_mousetrap = "4e8053ee7ef85a6bd26368364a6d27f1641c1d21"
82SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/inconshreveable/mousetrap"
47 83
48PV = "4.30.8+git${SRCREV_yq}" 84PV = "4.30.8+git${SRCREV_yq}"
85
49GO_IMPORT = "github.com/mikefarah/yq" 86GO_IMPORT = "github.com/mikefarah/yq"
50 87
51inherit go ptest 88inherit go ptest
@@ -65,14 +102,6 @@ do_compile:prepend() {
65 export GO111MODULE=off 102 export GO111MODULE=off
66} 103}
67 104
68do_install:append() {
69 # these bring in dependencies for the -dev package on bash, and we don't
70 # need them .. so we remove them to avoid needing that rdepends
71 rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/debian/rules
72 rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/scripts
73 rm -rf ${D}/${libdir}/go/src/${GO_IMPORT}/acceptance_tests
74}
75
76do_install_ptest() { 105do_install_ptest() {
77 install -d ${D}${PTEST_PATH}/tests 106 install -d ${D}${PTEST_PATH}/tests
78 cp -r ${S}/src/github.com/mikefarah/yq/scripts/* ${D}${PTEST_PATH}/tests 107 cp -r ${S}/src/github.com/mikefarah/yq/scripts/* ${D}${PTEST_PATH}/tests
@@ -84,4 +113,8 @@ RDEPENDS:${PN}-ptest += " \
84 bash \ 113 bash \
85" 114"
86 115
116RDEPENDS:${PN}-dev += " \
117 bash \
118"
119
87BBCLASSEXTEND = "native" 120BBCLASSEXTEND = "native"