Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Conversation

@mikefero
Copy link
Contributor

This PR updates goks to use Kong repo forks for gopher-lua and gopher-json. The custom changes the Kong repo forks provide have also been submitted to both projects in order for us to remove the replace functions ensuring easier updates to these dependencies in the future

kong/gopher-lua is pointing to embeded-lua-filesystem (what horrible spelling there) and kong/gopher-json is pointing to encode-sparse-arrays

Note: gopher-lua has had a lot of activity since goks first started which means that the Kong fork has received these updates as well.

@mikefero mikefero requested a review from a team as a code owner December 16, 2022 16:36
@mikefero mikefero force-pushed the chore/use-kong-forks branch from f04cf77 to d0d72c0 Compare December 16, 2022 16:39
@omegabytes
Copy link
Contributor

Hoping yuin/gopher-lua#421 addresses the pl.path requires LuaFileSystem issue 😄 https://github.com/Kong/goks/pull/36/files#r1044990124

omegabytes
omegabytes previously approved these changes Dec 16, 2022
@mikefero
Copy link
Contributor Author

Hoping yuin/gopher-lua#421 addresses the pl.path requires LuaFileSystem issue 😄 https://github.com/Kong/goks/pull/36/files#r1044990124

LOL ... Nope, we will have to implement that ourselves. I am hoping that this change goes upstream and then we can remove the replaces in the future,

This update required a change to the Option used for the Lua filesystem.
The option was changed from FS => LuaFileSystem.
This update required two changes to encode Lua userdata and JSON null
values and support the encoding of sparsed arrays.
@mikefero mikefero merged commit 50f7efd into main Dec 21, 2022
@mikefero mikefero deleted the chore/use-kong-forks branch December 21, 2022 15:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants