Katrina Verey
91a2c2b1a4
Update to Go 1.19
2022-11-17 12:57:17 -05:00
Kubernetes Prow Robot
e638e408b0
Merge pull request #4802 from oscr/the-the
...
grammar: replace all occurrences of "the the" with "the"
2022-11-16 08:22:48 -08:00
summer-dev
69435e059a
Merge branch 'kubernetes-sigs:master' into update-swagto-v0.22.3
2022-11-02 09:46:51 +08:00
sun min
1252e45576
update kyaml's go.mod and go.sum
2022-10-13 09:34:45 +08:00
summer-dev
19d163ca0f
update kyaml's dependency swag to v0.22.3
2022-10-12 21:30:12 +08:00
Florian Lehner
c2312c4018
kyaml/yaml: preallocate memory
...
Signed-off-by: Florian Lehner <dev@der-flo.net >
2022-10-06 05:38:18 +02:00
Florian Lehner
0fbaa2d0e8
kyaml/sets: preallocate memory
...
Signed-off-by: Florian Lehner <dev@der-flo.net >
2022-10-06 05:37:41 +02:00
yugo kobayashi
6ce230f2b2
fix testcases on runfn_test.go
2022-09-23 07:26:19 +00:00
yugo kobayashi
401cf9579c
update golangci-lint v1.49.0
2022-09-22 13:24:40 +00:00
Oscar Utbult
88cf251ef7
grammar: replace all occurrences of "the the" with "the"
2022-09-17 22:28:56 +02:00
Kubernetes Prow Robot
6c587c9542
Merge pull request #4770 from jihoon-seo/220824_Fix_broken_links
...
Fix broken links
2022-09-09 08:49:22 -07:00
yugo kobayashi
e49bf52928
fix tests
2022-09-03 00:29:10 +00:00
yugo kobayashi
a54226e0a9
fix error handling
2022-09-03 00:29:10 +00:00
yugo kobayashi
f086269d6e
be build fail when parse failed to FunctionSpec
2022-09-03 00:29:10 +00:00
yugo kobayashi
e2e9181bed
add a warning to missing field in FunctionSpec
2022-09-03 00:29:10 +00:00
Natasha Sarkar
8868d91670
Revert "Load and calculate Destination of files for kustomize localize ( #4652 )"
...
This reverts commit bf17fe1d8f .
2022-08-26 13:26:23 -05:00
Kubernetes Prow Robot
2e2674fa24
Merge pull request #4727 from KnVerey/improve_fieldspec_errors
...
Improve invalid node kind errors
2022-08-25 12:44:07 -07:00
Jihoon Seo
170eca7c52
Fix broken links
2022-08-24 17:25:29 +09:00
Anna Song
bf17fe1d8f
Load and calculate Destination of files for kustomize localize ( #4652 )
...
* Implement file localization for localize
Implement file localization for new command kustomize localize
* Patch file localization
Fix lint errors, address feedback, begin transition to file loader from
localizer
* Add Repo() to Loader
* Implement locLoader factory + cleanup
* Add domain to RepoSpec
Fix ssh relative url host parsing for non-github domain on the side
* Implement Load(), New(), Root(), Dst() for LocLoader
* Address repospec code review comments
* Address 1st round of code review feedback
* Address feedback #2
Removed localized path calculations to cover edge case and improve readability.
* Remove ldr Cleanup logging
* Address code review round #3
* Address code review feedback #4
2022-08-19 14:33:53 -07:00
Katrina Verey
f66936f6bf
Internalize forked code
2022-08-17 16:09:05 -04:00
Natasha Sarkar
eb54c97947
fix leading newline issue
2022-08-17 16:09:05 -04:00
Natasha Sarkar
b84885d5c4
tests for compactSeqIndent
2022-08-17 16:09:04 -04:00
Natasha Sarkar
298d977ee7
add defaultSeqIndent method
2022-08-17 16:09:04 -04:00
Natasha Sarkar
d5a2009d3f
compact sequence indentation option
2022-08-17 16:09:04 -04:00
Katrina Verey
d0ae8fba13
Internal copy of go-yaml at f6f7691b1fdeb513f56608cd2c32c51f8194bf51
2022-08-17 16:09:03 -04:00
Katrina Verey
f8d1e778c7
Commit go.sum updates
2022-08-16 18:26:04 -04:00
Katrina Verey
1948af8190
Wrap an error and remove a nolint
2022-08-16 18:24:20 -04:00
Katrina Verey
79a9154cf8
Improve error message when namespace transformer is given invalid fieldspecs
...
Also remove invalid+ignored fieldspecs from the defaults
2022-08-16 18:18:44 -04:00
Katrina Verey
55a37de686
Fix other linters on modified lines
2022-08-10 19:34:25 -04:00
Katrina Verey
f6b72077c8
Stop using deprecated ioutil functions
2022-08-10 18:22:46 -04:00
Natasha Sarkar
1b0fe2a078
update openapi scripts to fetch protobuffer schemas ( #4582 )
...
* update openapi scripts to fetch protobuffer schema
* code review
* code review
* restore makeOpenApiInfoDotGo.sh
* code review
2022-08-05 15:00:32 -07:00
Natasha Sarkar
bbeff6ddd6
prevent testing lib from being compiled in ( #4742 )
...
* remove testing dep from fsondisk
* code review
2022-08-01 14:26:29 -07:00
natasha41575
afa2b52807
merge go.sum files
2022-07-29 13:42:32 -05:00
natasha41575
9a6aad3ae4
allow colon in filenames
2022-07-28 14:52:28 -05:00
yugo kobayashi
3229c810cc
restore require sigs.k8s.io/kustomize/* in go.mod
2022-07-08 16:58:01 +00:00
yugo kobayashi
396b693e1c
fix from lint error
2022-07-07 20:35:27 +00:00
koba1t
a6449aa03f
try to fix e2econtainer test
2022-07-05 03:44:56 +09:00
koba1t
e201dbb31a
go work sync
2022-07-02 15:31:24 +09:00
koba1t
bc981fcbc3
merge upstream master
2022-07-02 15:18:26 +09:00
Anna Song
d1102fb726
Move demandDirectoryRoot into kyaml/filesys ( #4677 )
...
* Move demandDirectoryRoot into kyaml/filesys
* Make root directory platform-agnostic
Support windows root directory. Dogfood own error package.
* Use cleaner windows support implementation
* Address feedback
* Address feedback x2
* Re-apply go.sum changes to avoid CI errors
2022-06-30 11:12:07 -07:00
koba1t
20a93fdd12
update functions/examples/template-go-nginx code and update go1.18
2022-06-30 03:05:00 +09:00
koba1t
8c8a2125b7
update all go.mod to go1.18
2022-06-29 05:14:33 +09:00
koba1t
c583f4164c
add support for go workspace mode
2022-06-28 23:42:56 +09:00
Davanum Srinivas
7e0fd02783
Switch github.com/xlab/treeprint to release tag : v1.1.0 ( #4675 )
...
* Switch github.com/xlab/treeprint to release tag : v1.1.0
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
* fix test to reflect changes in the dependency
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-06-10 14:33:46 -07:00
konrad945
ba7315ca76
Update testing_test.go
2022-05-12 19:38:15 +02:00
konrad945
ddf768195c
Rename testing.go to testing_test.go
2022-05-12 16:43:27 +02:00
konrad945
b11cc3ae67
Fix comments
2022-05-12 16:42:28 +02:00
Kubernetes Prow Robot
c3b5d8fa19
Merge pull request #4629 from KnVerey/configure_templateparser
...
fn framework: bugfix for schema providers + configurable template extensions
2022-05-09 17:25:43 -07:00
Katrina Verey
7a773a3a48
Configure wrapcheck linter to recognize wrapping done by kyaml's errors package
2022-05-09 17:02:02 -04:00
annelausf
188e35fbfd
Added code for fields with dots(.) in their names work as needed ( #4591 )
...
* Added code for fields with dots(.) in their names work as needed
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Fixed imports
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Removed comments
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Fix filter method
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Fixed failing tests
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Remove comments
Add co-author to PR.
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Add co-author to PR.
Co-authored-by: sarjamil sjamil@salesforce.com
Co-authored-by: sarjamil <sjamil@salesforce.com >
2022-05-02 14:30:33 -07:00