Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: utilize Kong forks for gopher-lua and gopher-json #38

Merged
merged 2 commits into from
Dec 21, 2022

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.

@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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants