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

deps: upgrade jsonnet and gojsonnet to 0.20.0 #1006

Merged
merged 2 commits into from
Aug 22, 2023
Merged

deps: upgrade jsonnet and gojsonnet to 0.20.0 #1006

merged 2 commits into from
Aug 22, 2023

Conversation

antonincms
Copy link
Contributor

@antonincms antonincms commented May 6, 2023

Fixes issue #1005

Proposed Changes

The related jsonnet changelog are :

Update search_imports function to return bytes according to the v0.19.0 changes mentioned there: https:/google/jsonnet/releases/tag/v0.19.1

I hesitated whether to put bytes in cache directly or keeping current logic and encoding only at return.

Copy link
Contributor

@MatteoVoges MatteoVoges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm 👍

@MatteoVoges MatteoVoges added the dependencies Pull requests that update a dependency file label May 10, 2023
@MatteoVoges MatteoVoges linked an issue May 10, 2023 that may be closed by this pull request
@antonincms antonincms changed the title Upgrade jsonnet and gojsonnet to 0.20.0 deps: upgrade jsonnet and gojsonnet to 0.20.0 May 10, 2023
@antonincms
Copy link
Contributor Author

antonincms commented Jul 17, 2023

I rebased the branch onto master and cleaned up unrelated import reordering.

@ramaro
Copy link
Member

ramaro commented Aug 12, 2023

I hesitated whether to put bytes in cache directly or keeping current logic and encoding only at return.

Thanks @antonincms - can you explain this further?

@antonincms
Copy link
Contributor Author

antonincms commented Aug 13, 2023

@ramaro I was hesitant whether to put bytes in JSONNET_CACHE (and encode them only once), or encode when pulling from the cache (as currently done in the PR). I don't really think encode should matter that much from a performance standpoint.

@ramaro ramaro merged commit f594981 into kapicorp:master Aug 22, 2023
3 checks passed
@ramaro
Copy link
Member

ramaro commented Aug 22, 2023

thanks @antonincms !

@antonincms antonincms deleted the upgrade-jsonnet branch August 22, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deps: jsonnet version are unaligned and outdated
3 participants