Mike Farah
23b2aa5668
fixing property comment handling
2022-10-26 13:12:30 +11:00
Mike Farah
2e588a11a0
moving leading content processing logic into yaml decoder
2022-10-26 13:12:30 +11:00
Mike Farah
6d6b693fb3
Added XML processing instructions and directive support ( #1396 )
2022-10-24 10:09:42 +11:00
Mike Farah
be304a1102
Added another comment test
2022-09-30 09:46:07 +10:00
Mike Farah
c8815f5ab9
Csv decoder ( #1290 )
...
* WIP: adding CSV decoder
* Adding CSV decoder
* Added CSV roundtrip
* Fixing from review
2022-08-01 10:28:34 +10:00
Mike Farah
8d3be1a23c
Length (and some other operators) should not include head/foot comments #1231
2022-05-31 16:28:53 +10:00
Mike Farah
005b097cee
Boolean fix ( #1148 )
...
* Fixing booleans
* Fixed "and", "or" evaluating RHS when not required
2022-03-20 12:55:58 +11:00
Mike Farah
61978b34df
Added load_base64
2022-02-23 09:38:17 +11:00
Mike Farah
75fffc17e1
Added support for load_props, added missing load_xml tests
2022-02-15 14:51:22 +11:00
Mike Farah
a9c3617b4f
Decoder Properties ( #1099 )
...
* Decoder Properties
* Added properties round trip test
* Fixed property decode for github actions
* Refactored XML test to use common functions
* Switched formatScenario parameter order for more readablity
2022-02-10 12:02:53 +11:00
Mike Farah
ec8ef312ef
Added XML encoding/decoding ( #1067 )
...
* Added XML encoding/decoding
* Minor fixes
* Improve yq doc
* Lint
2022-01-15 11:57:59 +11:00
Mike Farah
2ee9c65bc2
Added global xml prefs for simplicity
2021-12-21 16:52:54 +11:00
Mike Farah
6bcbd873a6
wip
2021-12-21 16:19:27 +11:00
Mike Farah
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00
Mike Farah
2f05f7390f
wip
2021-12-04 13:25:32 +11:00
Mike Farah
d0419ceedf
Added csv, tsv output formats
2021-12-02 20:06:51 +11:00
Mike Farah
356eff3b0b
wip
2021-11-16 16:21:08 +11:00
Mike Farah
d912d7d178
wip
2021-11-14 10:59:50 +11:00
Mike Farah
de90b3e85e
gitbook wip
2021-11-03 22:37:07 +11:00
Mike Farah
6002604251
Added with operator
2021-09-12 21:52:02 +10:00
Mike Farah
cb95ab1494
Fixed merge comment issue #919
2021-08-26 16:31:26 +10:00
Mike Farah
063d40de25
Fixing pipeline
2021-08-25 10:09:44 +10:00
Mike Farah
43f47c4ed9
wip - pretty print 1.1 compat mode
2021-08-20 12:23:35 +10:00
Mike Farah
8508d3309b
More efficient front matter processor
2021-07-20 10:38:42 +10:00
Mike Farah
4e628327c4
Better way of processing leading content
2021-07-20 10:19:55 +10:00
Mike Farah
bbebebe30c
Fixed for most cases, except strip comments
2021-07-20 09:18:40 +10:00
Mike Farah
102e7e7ab0
Version bump
2021-07-18 13:45:21 +10:00
Mike Farah
555ad0762c
Added front-matter handler
2021-07-18 12:28:46 +10:00
Mike Farah
f6e2ab5cef
Remember comments in empty files
2021-07-16 22:08:22 +10:00
Mike Farah
a13617407e
Fixed EOF bug when processing empty files
2021-07-16 20:56:22 +10:00
Mike Farah
d74bb8e28d
Adding magic to detect leading seperators
2021-07-15 11:34:49 +10:00
Mike Farah
58c63ed121
Bumping version
2021-06-10 09:37:08 +10:00
Mike Farah
c6efd5519b
Pass context through operators
...
Allows more sophisticated functionality
2021-02-11 10:58:40 +11:00
Mike Farah
461c3e719c
merge anchors!
2020-10-30 12:00:48 +11:00
Mike Farah
85d059340b
first cli
2020-10-27 16:45:16 +11:00
Morgan Bazalgette
bb9cb0c60e
fix tests
2020-10-09 08:38:42 +11:00
Mike Farah
b9e304e7a4
Can stripComments and explodeAnchors for compare
2020-06-11 09:13:55 +10: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
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
14ac791eaf
Fixed compare output, added tests
2020-02-03 15:35:00 +11:00
Mike Farah
6ec8386f9e
Fixed bad yaml handling
2020-01-30 16:32:28 +11:00
Mike Farah
d203ec7b56
Accidently changed sample.yaml
2020-01-15 08:55:01 +11:00
Mike Farah
2d7be26ad5
wip update docs
2020-01-13 16:58:11 +11:00
Mike Farah
2d237e7e8e
it works! wip
2020-01-11 19:13:52 +11:00
Mike Farah
74c7a4e027
it works! wip
2020-01-11 18:52:15 +11:00
Mike Farah
96955ffa9c
release notes
2020-01-11 09:55:24 +11:00
Mike Farah
854f5f0fc9
wip json encoding
2020-01-10 22:01:59 +11:00
Mike Farah
690da9ee74
Fixed merge new array
2020-01-06 10:12:30 +13:00