-
Notifications
You must be signed in to change notification settings - Fork 323
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
WIP: Pointing libocispec to Jansson branch #1608
base: switch-to-jansson
Are you sure you want to change the base?
Conversation
@xw19, are you aware that we have decided that we are not going to be moving to a different JSON parser? At least, to the best of my knowledge, we did. |
No, I am not aware of it. I have been working on the libocispec along with @saschagrunert for last few weeks. |
@xw19, see about clarifying the following: Perhaps something has changed since then. |
@kwilczynski we decided to replace it if the effort is overseeable. @xw19 did a great job over the past weeks working on this topic and I think we can benefit of switching over. |
Do you mean "foreseeable" or "feasible", perhaps? Alas, I wasn't aware, as there wasn't any update on the linked issue about some work being done somewhere. I assumed that the old stance towards the work still stands. Any specific place where this is tracked now? |
I was assuming this is enough: containers/libocispec#138 (comment)
Yes, still in containers/libocispec#138 |
@giuseppe do you mind approving this PR be be able to run in CI? |
Right. I have seen no more updates afterwards there, so I assume that nothing has happened since then. @xw19, thank you for persevering and working on this. |
We probably need a similar development branch for this repo like for libocispec. |
approved! @xw19 thanks for your hard and important work @kwilczynski having to statically link to yajl works but it is not ideal. If moving to a different library, that is supported, has no disadvantages then we must consider it. The few things to consider for comparison that are important for crun:
|
[...]
Sure, I simply wasn't sure where we were with it, and given that, I assumed we had given up.
@giuseppe, anything from a security point of view to check here? Anything you can think of? |
I think the fuzzing tests should cover this part too |
@xw19 pointing to the jansson branch is enough or do we need to use any configure flag to enable it? There are also some parts in crun that use directly yajl and we'd need to change them too |
I have just started to explore crun. So, will do whatever necessary.
Sure, will do thanks @giuseppe |
Ephemeral COPR build failed. @containers/packit-build please check. |
@giuseppe When I update any code the test suite doesn't run without giving explicit approvals. Can you help me by making the test cases run everytime I push the code? |
I approved it, I think since this is your first PR here that's why github UI is doing this, but I'm sure there must be an option to approve by default for new contributors. |
I guess we need to modify pipelines to include jansson. I will do it after I am reasonably sure of my code. |
updates: WIP made changes to c files for yajl to jansson. Will continue to work on the same. |
Updates: wip able to compile, link started to fix unit tests |
Can anyone please approve this so that we can run the tests. |
cc @giuseppe ☝️ |
Updates: Fixed the dependencies and configurations. Resulting in CodeQL and other tests now able to run. Now realizing the breadth and scope of this task its huggggggggggggggge! |
Podman e2e test failures are not observed in local. |
32be5f5
to
4de3033
Compare
@mrniranjan Thanks for pointing to right places and helping me to fix the podman test cases. |
f28a3b1
to
dd1f26a
Compare
TMT: upstream tests from c9s
@giuseppe @saschagrunert . I still need to fix the artificate and few fedora rpm tests. But can you start looking at the code? |
podman system tests failed. @containers/packit-build please check. |
Ephemeral COPR build failed. @containers/packit-build please check. |
/retest |
podman system tests failed. @containers/packit-build please check. |
@giuseppe @saschagrunert Please help on the artifact job. Apart from that I think I have all the things covered. I would like to work little bit more on the parsing numbers in the next PR. |
Signed-off-by: Sourav Moitra <[email protected]>
Trying out new libocispec with jansson