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

Add example code, like libzim #975

Open
legoktm opened this issue Jul 24, 2023 · 1 comment
Open

Add example code, like libzim #975

legoktm opened this issue Jul 24, 2023 · 1 comment
Assignees
Milestone

Comments

@legoktm
Copy link
Member

legoktm commented Jul 24, 2023

libzim has an example file (examples/createZimExample.cpp) that shows how to use the libzim code. In Debian we've started using this for the "autopkgtest" system (https://salsa.debian.org/debian/libzim/-/commit/3e5fa3020f522550229e834e7a02b21ba678c321), which runs when any dependent package is updated to make sure nothing is broken. So if e.g. g++ or libzstd are updated, the tests will run against the previously built libzim-dev package, and make sure it isn't broken. For adding these sorts of tests, it means that new libzim versions migrate from unstable to testing faster (2 days instead of 5).

Could there be an example added to libkiwix in a similar fashion?

@kelson42
Copy link
Collaborator

I recommend that this documentation is made in the online documentation, not purely in the source code.

@kelson42 kelson42 modified the milestones: 13.2.0, 13.3.0 Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants