-
Notifications
You must be signed in to change notification settings - Fork 30
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
Moving From YAJL to Jansson #141
Moving From YAJL to Jansson #141
Conversation
Added a temporary function to yajl_val to json_t converted YAJL_GET_STRING to json_string_value converted YAJL_IS_NUMBER to json_is_number added functions from double to various int types. YAJL_GET_NUMBER returns string. While json_number_value returns double. Signed-off-by: Sourav Moitra <[email protected]>
db89f16
to
78ccdaa
Compare
@giuseppe PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@saschagrunert are you ok to have this change in the |
tests are failing |
@xw19 can you please fixup the tests? :) |
@giuseppe @saschagrunert can we retrigger these test builds? |
I think the issue is caused by arm32v7 latest ubuntu images release last week https://hub.docker.com/r/arm32v7/ubuntu/tags There is update on the uraimo/run-on-arch-action tag v2.8.1 uraimo/run-on-arch-action@96c27aa Which coincides with the exact line failure https://github.com/containers/libocispec/actions/runs/11534806854/job/32210560862 |
d132a05
to
e2d047f
Compare
it seems there is a missing file:
|
I found the cause of the failure was probably because we were not running configure on the jansson hence the jansson_config.h is not being generated. https://jansson.readthedocs.io/en/latest/gettingstarted.html (edited: configure is being triggered) |
WIP: I will first run in my fork and fix then will revert back |
696d678
to
9397552
Compare
Signed-off-by: Sourav Moitra <[email protected]>
9397552
to
8588c67
Compare
@saschagrunert @giuseppe Please re-review I think I have fixed the CI issues https://github.com/xw19/libocispec/actions/runs/11688628819/job/32549520172?pr=1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Refers to #138 |
Moving YAJL to Jansson
Added a temporary function to yajl_val to json_t
converted YAJL_GET_STRING to json_string_value
converted YAJL_IS_NUMBER to json_is_number
added functions from double to various int types.
YAJL_GET_NUMBER returns string. While json_number_value returns double.