Mike Farah
2bd2a85a4c
Fixed trailing empty docs
2020-02-21 11:37:59 +11:00
Mike Farah
ceb76e5c17
Fixed trailing empty docs
2020-02-21 11:34:26 +11:00
Mike Farah
44322f0248
Fixed writing to null document
2020-02-21 11:02:10 +11:00
Mike Farah
0347516d82
Always print new line so wc works properly
2020-02-21 10:29:37 +11:00
Mike Farah
a46386e093
Fixed special characters in path for merging
2020-02-18 20:18:49 +11:00
Mike Farah
f5c3beb159
Added test for https://github.com/mikefarah/yq/issues/361
2020-02-18 20:02:09 +11:00
Mike Farah
9864afc4e7
Fixed empty merge problem
2020-02-18 09:15:46 +11:00
Roberto Mier Escandon
69fae2d9cb
Inc Deb version
2020-02-17 09:29:02 +11:00
Mike Farah
83c13ce392
Fixed empty merge problem - need to visit empty arrays and objects
2020-02-13 14:56:58 +11:00
Mike Farah
d83c46eec2
Uncomment line in publish script
2020-02-13 10:22:52 +11:00
Mike Farah
65802f9e0e
updated readme
2020-02-12 16:28:24 +11:00
Mike Farah
07309e1685
Inc snapcraft version
2020-02-12 16:27:25 +11:00
Mike Farah
24e906bae6
Fixed numeric map key issue
2020-02-12 15:40:21 +11:00
Mike Farah
f084f2bb23
Inc version for next release
2020-02-12 12:04:41 +11:00
Mike Farah
96a4161a92
Fixed explode anchors for array roots
2020-02-12 11:03:40 +11:00
Mike Farah
5cc01e43bc
Can supply value for write from file
2020-02-08 14:04:54 +11:00
Mike Farah
9de2573009
Fixed merge append arrays
2020-02-07 16:32:39 +11:00
Mike Farah
29521f2e3e
Simplified when to visit a node
2020-02-07 14:52:37 +11:00
Mike Farah
af5724ba29
Updated readme
2020-02-07 11:28:56 +11:00
Mike Farah
0a39d29c53
Updated readme
2020-02-07 11:26:29 +11:00
Mike Farah
72cd3e4a2a
Fixed explode for aliases to scalars
2020-02-07 10:42:07 +11:00
Mike Farah
d40ad9649d
Fixed explode for aliases to scalars
2020-02-07 10:09:20 +11:00
Mike Farah
63313ebb02
Merge branch 'coryrc-fix-merge-with-dots' into compare
2020-02-07 09:10:25 +11:00
Mike Farah
de3bfaef60
Merge branch 'fix-merge-with-dots' of git://github.com/coryrc/yq into coryrc-fix-merge-with-dots
2020-02-07 09:09:52 +11:00
Mike Farah
108b5cb093
Fixed explode for simple anchors
2020-02-07 09:08:52 +11:00
Mike Farah
b116f40348
Major version bump for new features
2020-02-06 12:20:51 +11:00
Cory Cross
ea9df0eede
Fix path generation when merging file has period in key
...
The program generates a path for every leaf node in the
file-to-be-merged. It does not escape them if they contain a dot, as
the path-expressions document mentions is necessary.
Add in a test for this condition. Verified it fails without the fix.
2020-02-04 22:37:00 -08:00
Mike Farah
b7dd3e8e0a
Added explode test
2020-02-05 15:08:13 +11:00
Mike Farah
dc13fa99f7
wip: explode anchors
2020-02-05 14:10:59 +11:00
Mike Farah
179049a535
Always allow empty
2020-02-04 14:42:08 +11:00
Mike Farah
2fa8b24272
Can merge one file
2020-02-04 14:33:35 +11:00
Mike Farah
f1dbe13f21
Can write and merge into empty files :)
2020-02-04 14:21:54 +11:00
Mike Farah
02258fbaae
Fixed deep splatting merge anchors - dont visit twice
2020-02-04 14:10:12 +11:00
Mike Farah
6f0538173b
Fix delete adding entries
2020-02-04 09:58:20 +11:00
Mike Farah
6840ea8c78
can set indent levels
2020-02-03 16:56:01 +11:00
Mike Farah
70b88fa778
Pretty print everything test
2020-02-03 16:40:17 +11:00
Mike Farah
bfc1a621c4
Pretty print everything
2020-02-03 16:37:53 +11:00
Mike Farah
166f866f28
Pretty print json
2020-02-03 16:31:03 +11:00
Mike Farah
b3598aaa43
Updated readme
2020-02-03 16:21:00 +11:00
Mike Farah
14ac791eaf
Fixed compare output, added tests
2020-02-03 15:35:00 +11:00
Mike Farah
25293a6894
Check write errors
2020-02-03 14:28:38 +11:00
Mike Farah
d828b214cc
More powerful compare
2020-02-03 14:15:12 +11:00
Mike Farah
9e47685271
Compare first cut
2020-02-03 13:59:16 +11:00
Mike Farah
699fce9da4
Added default value flag - for printing out a value when reading and there are no matches
2020-02-03 10:13:48 +11:00
Mike Farah
f52de57652
Don't fail when reading an empty file
2020-02-03 09:15:16 +11:00
Mike Farah
b7554e6e76
Pretty print disclaimer
2020-01-31 16:37:24 +11:00
Mike Farah
ec25511f1b
Pretty print
2020-01-31 16:35:01 +11:00
Mike Farah
c6a52012ab
Prefer download binary
2020-01-31 10:37:27 +11:00
Mike Farah
63ded205e8
Added docs for validate
2020-01-31 10:32:44 +11:00
Mike Farah
d1c1ab0a75
Added validate command
2020-01-30 16:34:43 +11:00