Stanisław Barzowski
Stanisław Barzowski
(Jsonnet dev here) @joseffilzmaier Are you perhaps using https://github.com/google/go-jsonnet when calling Jsonnet from cmdline? IIUC Kapitan still uses cpp implementation under the hood, which is known to be way slower.
(Jsonnet dev here) FYI basic C bindings for go-jsonnet are probably going to be merged soon (PR: https://github.com/google/go-jsonnet/pull/257). The main missing part is the support for native functions. Other than...
Sure. I meant that this function from the libjsonnet.h is not implemented yet in the bindings: ``` /** Register a native extension. * * This will appear in Jsonnet as...
Could it have something to do with this: https://github.com/google/jsonnet/pull/814? (It's not yet ported to go-jsonnet.)
Yes. Unfortunately, it seems we still have some elusive deadlock issues: https://github.com/google/go-jsonnet/issues/484. I wasn't able to dig deeply enough into it yet. If anyone can share an idea about what...
If you come across anything that can be reproduced with go-jsonnet (either the command or the Python bindings), please let me know!
Yeah, Jsonnet, by design, does not provide a default way to sort objects. You need to specify how you want them to be sorted with `keyF`. For example you can...
I performed some experiments and I was able to confirm that `kubecfg` shows the file. It doesn't seem to actually sort the objects – in all examples I tried, the...
I guess go-jsonnet would work fine, as it uses a different YAML parser. We should bump the rapidyaml version here.
Hmmm... One way to handle this use case that would be to add a hidden `__field_order` field, which is an array of object keys. The json could then have fields...