Mike Farah
eeeeeffd7b
Added note about v3
2020-01-11 11:44:02 +11:00
Mike Farah
27604289f4
Log out original error if removing temporary file failed
2019-12-23 12:09:38 +11:00
Mike Farah
3f36a18791
Add readme notice re v3
2019-12-23 10:01:55 +11:00
Conor Nosal
5fc13bdccd
update imports for v2 module path
2019-12-06 13:58:56 +11:00
Conor Nosal
95fec2984e
Move parseValue to yqlib/value_parser.go
2019-12-06 13:58:56 +11:00
Conor Nosal
64d1e58f97
test coverage and linting
2019-12-06 13:58:56 +11:00
Conor Nosal
4b3fbb878f
Split marshal package from yqlib, implement interfaces
2019-12-06 13:58:56 +11:00
Conor Nosal
26a09e6ec0
Move implementation files to yqlib and test packages to allow for imports:
...
- Move data_navigator, json_converter, merge, and path_parser to pkg/yqlib
- Extract yamlToString from yq to pkg/yqlib/yaml_converter
- Move utils_test to test/utils
2019-12-06 13:58:56 +11:00
Mike Farah
ceafed30f9
attempt to fix go get
2019-12-02 10:38:44 +11:00
Mike Farah
b8b2c9de61
attempt to fix go get
2019-12-02 10:37:06 +11:00
Mike Farah
f5fdf98c38
Updating release instructions
2019-11-13 12:26:33 +11:00
Mike Farah
29986db8f8
Update doc for go get
2019-11-13 12:25:24 +11:00
Mike Farah
1f4e3a9cde
Ignore vendor folder
2019-11-06 11:45:31 +11:00
Mike Farah
b6da773dde
Bumbed snapcraft version
2019-11-01 12:40:35 +11:00
Mike Farah
8020d4253b
Updated README
2019-11-01 12:40:21 +11:00
Mike Farah
3c701fe98e
Incremented version
2019-11-01 10:47:38 +11:00
Mike Farah
97d1aa2b26
Added formatter, fixed docker build
2019-10-31 08:21:19 +11:00
Elliot
d05391e244
update ci to use go 1.13, switch to golangci-lint
2019-10-31 08:21:19 +11:00
Elliot
d1cec1ad18
fix to make it work with modules
2019-10-31 08:21:19 +11:00
Mike Farah
fe5842e5f9
Fix: Only remove original file if copying was successful
2019-08-27 09:21:39 +10:00
Aleksandr Sergin
e0d8cd6bf6
yq small fix
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
8f5ffe47ff
return to old behavior, small fix.
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
5acc1e661e
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
a9c0ef571c
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
7a28531f2f
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
5de2bea1b4
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
7320b8d3c9
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
2f70e6f27a
fix linter error
2019-08-27 09:18:38 +10:00
Aleksandr Sergin
a9e871ee00
add Move func to avoid 'invalid cross-device link'
2019-08-27 09:18:38 +10:00
Azimjon Ilkhomov
bc4bab9380
Fix typo
2019-08-05 11:30:20 +10:00
Mike Farah
665d9079fa
Added goreport to readme
2019-07-23 10:07:59 +10:00
Mike Farah
7b54a44fcf
Fixed readme for bash docker alias to bash function, thanks @dead10ck
2019-07-23 09:57:58 +10:00
Kenny Jones
94148e4398
Merge pull request #256 from arnaud-deprez/patch-1
...
doc: use '--rm' instead of '-rm' for docker command
2019-07-02 09:32:51 -04:00
Arnaud Deprez
f8553162ca
doc: use '--rm' instead of '-rm' for docker command
2019-07-02 12:17:35 +00:00
Eduardo Minguez Perez
be532bf2fe
Added '-rm' docker flag to remove the containers
...
Also, added a handy alias just in case.
2019-06-10 21:59:40 +10:00
Mike Farah
e9b8265ca3
Updated docs re creating a new array
2019-05-16 14:57:34 +10:00
Mike Farah
0f8b864321
Updated instructions
2019-05-16 14:56:00 +10:00
Mike Farah
e5bcfedbe9
updating docs
2019-05-16 14:55:32 +10:00
Mike Farah
a5f5fb2562
Publish moves files after uploading for speedy retries
2019-05-16 14:54:58 +10:00
Mike Farah
84de9c078d
Improved handling of numeric keys
...
When there is no match at a given path, numeric keys are assumed to be strings.
To create an array '+' must be used.
e.g: yq n thing[+].cat fred
will create an array under thing, whereas
yq n thing[0].cat fred
will create a map under thing, with a key '0'
2019-05-16 10:03:54 +10:00
Mike Farah
c7f5261036
Bump version
2019-05-16 10:03:54 +10:00
Georgi Knox
6e35356a84
add help description
2019-05-16 09:35:16 +10:00
Mike Farah
b2fe3e6738
fixing delete splat
2019-05-14 11:20:41 +10:00
Mike Farah
774badfef4
Can delete splat!
...
Fixes https://github.com/mikefarah/yq/issues/175
2019-05-13 09:48:05 +10:00
Mike Farah
c4e9516aa6
Prefix matching splat
...
Fixes https://github.com/mikefarah/yq/issues/218
2019-05-13 09:32:08 +10:00
Mike Farah
323089eb64
fixed tests for write array splat
2019-05-13 09:13:45 +10:00
Mike Farah
53289366a5
Write array splat
2019-05-01 08:55:44 +10:00
Mike Farah
cda9a82906
Refactoring write command to allow splat
2019-05-01 08:40:35 +10:00
Mike Farah
2dbde6b9fb
Can process numeric keys
...
Fixes: https://github.com/mikefarah/yq/issues/215
2019-04-30 09:43:09 +10:00
Mike Farah
f8c1c3c1b4
Updated instructions w.r.t keys and values starting with dashes
2019-04-29 16:14:33 +10:00