History log of /haiku/src/apps/haikudepot/build/scripts/jsonschema2cppparser.py
Revision Date Author Comments
# 23cfed80 17-Feb-2024 Andrew Lindesay <apl@lindesay.co.nz>

HaikuDepot : Fix Compile Warning

Change-Id: I210da9a98a7e97398c4a1789683392864b16f3ff
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7405
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# ba1465cc 29-Nov-2023 Andrew Lindesay <apl@lindesay.co.nz>

HaikuDepot : Faster DTO Models

This change includes some changes to the
generated DTO models between HaikuDepotServer
and HaikuDepot which should improve
performance.

Change-Id: I74c6014f8115aa0a55907a24b6115dd48d341794
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7165
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 2174e23f 26-Nov-2023 Andrew Lindesay <apl@lindesay.co.nz>

HaikuDepot : New Parser Generation Script

Without functionally changing the generated
code, create a new mechanic for generation
in order that improvements can be later made.

Change-Id: Ieb420f2eb0fee51c266ab2e0734ec5c298640cfa
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7156
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 9295c1f6 03-Jul-2020 Andrew Lindesay <apl@lindesay.co.nz>

HaikuDepot: Url -> Identifier

This change will rename the confusing "url" within
HaikuDepot to be "identifier" in line with
corresponding changes in pkg kit and HDS. Also at
the same time support is introduced for HDS
repos' meta-data to artificially match against
multiple repos; as requested for the future R1B3
release process. Some tidy-ups and extensions have
been made to the JSON schema-to-model and the
schema-to-parser scripts.

Change-Id: I402e7d610986039f58d72028bda7de977e9115e2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2986
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# dc8d6e73 27-Jun-2020 Andrew Lindesay <apl@lindesay.co.nz>

HaikuDepot: Custom List Removal

Remove use of custom list class in the python-
generated model classes for interaction with
HDS; use STL container classes instead.

Relates To #15534

Change-Id: Ib8f4942b55859c1af38da816591e911174ba52ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2957
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 81dab213 03-Jan-2019 Andrew Lindesay <apl@lindesay.co.nz>

HaikuDepot : Generate Server Model + Parser

The server uses JSON schema to generate some data-transfer-object (DTO)
models for communication with other systems. This same schema can be
used to generate the C++ .cpp and .h files for use in HaikuDepot. So
far these have been generated by hand and then manually added to the
Haiku repo. Now the schema files can be copied over and from those, the
sources are generated.

Change-Id: Ia288cb7a50843e5e2bc403a6ce55508a04218c04
Reviewed-on: https://review.haiku-os.org/c/858
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>