Francesc Campoy
d37fa66ebc
Adapt more LocalPackageReader tests
2021-07-15 18:21:42 -07:00
Francesc Campoy
e8a4bf6edc
Add FileSystem field to LocalPackageReader and one of its tests
2021-07-15 18:06:30 -07:00
Natasha Sarkar
e17785af21
revert 'fix kyaml issue with multiline scalars'
2021-07-15 14:24:39 -07:00
Natasha Sarkar
0537b59f27
support yaml formatted openapi schema ( #4017 )
...
* support yaml formatted openapi schema
* suggested changes
2021-07-15 14:11:02 -07:00
Natasha Sarkar
f082ac02cf
fix multiline scalar value issue
2021-07-15 08:41:03 -07:00
Katrina Verey
9538ae1258
Update fork updater script
2021-07-15 08:31:32 -07:00
Natasha Sarkar
477d8930e0
fix kyaml issue with multiline scalars
2021-07-14 15:19:21 -07:00
Kubernetes Prow Robot
b5091a566a
Merge pull request #4067 from natasha41575/demonstrateLineBreakIssue
...
demonstrate line break preservation issue in kyaml
2021-07-14 11:52:18 -07:00
Natasha Sarkar
9981c45554
demonstrate line break preservation issue in kyaml
2021-07-14 11:39:14 -07:00
phani
0f736ec7fd
Handle comments for seq indent derivation ( #4064 )
...
* Handle comments for seq indent derivation
* Suggested changes
2021-07-13 17:46:26 -07:00
Phani Teja Marupaka
29be7fabe4
Suggested changes
2021-07-12 23:34:03 -07:00
Phani Teja Marupaka
74e867833a
First sequence indent wins
2021-07-09 14:10:30 -07:00
Phani Teja Marupaka
89b12cfc62
Change annotation name, error if conflicting options
2021-07-09 01:32:48 -07:00
Phani Teja Marupaka
c07ffa5c1e
Update comments, tests, not expose indent option
2021-07-09 00:17:09 -07:00
Phani Teja Marupaka
f81201b74d
Add options, keep seqindent annotation equivalent to index annotation
2021-07-08 14:54:23 -07:00
Phani Teja Marupaka
6dbc74b32e
Suggested changes
2021-07-07 23:22:15 -07:00
Phani Teja Marupaka
ed38b5fe2b
Make seq indent configurable and add retain seq indent functionality
2021-07-07 16:53:40 -07:00
phani
e1804cbc76
Retain field order after running any arbitrary functions on resources ( #4021 )
...
* Reorder resource fields
* Fix comment conflict
* Update e2e test ordering
* Suggested changes
2021-07-07 10:12:44 -07:00
Kubernetes Prow Robot
518a16d3ac
Merge pull request #4014 from brianpursley/doc-separator
...
Updated ByteReader to allow white space and comments content after --- when splitting YAML documents
2021-07-01 14:25:51 -07:00
Mengqi Yu
02d14d724a
add missing json tags
2021-06-30 12:15:50 -07:00
Natasha Sarkar
5427ab7cc3
Merge pull request #4013 from KnVerey/go-yaml-fork
...
Internal go-yaml/yaml fork
2021-06-30 10:41:27 -07:00
Katrina Verey
e583f199b8
Comment out part of script that is likely only needed on first run
2021-06-30 10:18:11 -07:00
Natasha Sarkar
3ab0665c19
fix affected kyaml tests
2021-06-30 10:14:45 -07:00
Natasha Sarkar
4b66043735
compact sequence indent
2021-06-30 10:14:45 -07:00
Natasha Sarkar
979f03e76c
remove serialization hack after bump
2021-06-30 10:14:44 -07:00
Natasha Sarkar
c8b049f57f
point to natasha's fork
2021-06-30 10:14:33 -07:00
Katrina Verey
f3d8883046
Internalize forked code
2021-06-30 10:13:33 -07:00
Natasha Sarkar
e308f321d3
fix leading newline issue
2021-06-30 10:13:33 -07:00
Natasha Sarkar
beea785ead
tests for compactSeqIndent
2021-06-30 10:13:33 -07:00
Natasha Sarkar
95c5b686be
add defaultSeqIndent method
2021-06-30 10:13:32 -07:00
Natasha Sarkar
0ddf68cc8a
compact sequence indentation option
2021-06-30 10:13:32 -07:00
Katrina Verey
4cadad5cfe
Internal copy of go-yaml at 496545a6307b2a7d7a710fd516e5e16e8ab62dbc
2021-06-30 10:13:30 -07:00
Katrina Verey
9e4a6397d6
Instructions and script for go-yaml fork
2021-06-28 17:04:04 -07:00
Katrina Verey
2e8a3b7c45
Use the forked go-yaml module
2021-06-28 15:29:32 -07:00
Phani Teja Marupaka
1aa7a1e709
Handle null values while formatting
2021-06-27 16:55:16 -07:00
brianpursley
78737f5a38
Updated ByteReader to allow white space and comments on the same line after --- and throw an error if anything else is detected
2021-06-24 21:32:39 -04:00
Kubernetes Prow Robot
cb4f5c3983
Merge pull request #4006 from runewake2/validate-data-map
...
Introduce Validate Data Map Function
2021-06-18 12:34:06 -07:00
Sam Wronski
1801d33287
Add error when datamap is nil
2021-06-18 10:14:17 -07:00
Sam Wronski
b01da61d83
Update argument name
2021-06-17 16:12:09 -07:00
Natasha Sarkar
23e28bb18a
change marshal indent to 2 ( #4005 )
2021-06-17 13:34:04 -07:00
Sam Wronski
a1f1c2d32f
Add documentation
2021-06-17 11:47:56 -07:00
Sam Wronski
10331d9560
Add GetValidatedDataMap to rnode
2021-06-17 01:46:35 -07:00
Francesc Campoy
60038d44f9
Add filesys.FileSystem to ignoreFileMatcher ( #3994 )
2021-06-16 17:16:20 -07:00
Kubernetes Prow Robot
24d06f83ca
Merge pull request #3998 from yhrn/star-fix
...
Remove debug fmt.Println breaking kpt Starlark output
2021-06-16 15:53:59 -07:00
Francesc Campoy
7fae7d1bd6
Move api/filesys to kyaml/filesys ( #3997 )
...
* Move api/filesys to kyaml/filesys
* Add deprecated version of api/filesys with aliases to new code
* Use new kyaml/filesys package and update dependencies
* Migrate to kyaml/filesys and update dependencies
* Skip tests that break on Windows
2021-06-16 11:42:00 -07:00
Mattias Öhrn
0af3a75708
Remove debug fmt.Println breaking kpt Starlark output
2021-06-16 12:27:17 +02:00
Morten Torkildsen
2e0556b544
Allow the Handle function of the ResourceHandler interface to return an error
2021-06-13 15:06:08 -07:00
Morten Torkildsen
95e242353b
Allow users to customize handling of deleted resources for merge3
2021-06-11 11:37:24 -07:00
Jeff Regan
440026b9b3
Merge pull request #3965 from mengqiy/listcomments
...
handle comments in list correctly
2021-06-07 17:32:53 -07:00
Kubernetes Prow Robot
64331ad845
Merge pull request #3964 from ash2k/ash2k/handle-errors2
...
Handle errors
2021-06-07 16:26:03 -07:00