-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Support for multiple illustrations in OPDS entry #577
Conversation
Codecov Report
@@ Coverage Diff @@
## master #577 +/- ##
==========================================
+ Coverage 64.78% 64.97% +0.18%
==========================================
Files 53 53
Lines 3729 3749 +20
Branches 1856 1867 +11
==========================================
+ Hits 2416 2436 +20
Misses 1311 1311
Partials 2 2
Continue to review full report at Codecov.
|
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.
We also have to update the handle_meta method to handle the illustration_<with>x<height>
name. (https://github.com/kiwix/libkiwix/blob/master/src/server/internalServer.cpp#L348-L368)
(This probably should have been done in PR adapting libkiwix to new api in libzim but I forget about it)
@veloman-yunkan Can you please rebase on master? Is this PR again ready to review (then please request a new review)? |
95a0e30
to
adc5c66
Compare
Done without adding a test case utilizing a ZIM archive with multiple illustrations (because of no easy way of creating such a ZIM archive using existing tools, and the complexities of the procedure of modifying test ZIM data). |
@veloman-yunkan I'm worried about your last comment. Having a proper test set of ZIM and libkiwix properly tested with the most common scenarios is important. What is exactly unclear, after @rgaudin feedback to your last question at #533 (comment), I thought this is OK now... but it seems this is not. We should get that sorted out. If this is a not a detail which stops you, please open a ticket so we can resolve the problem. |
@rgaudin's suggestion requires a custom build of |
This pull request has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
I agree with this PR. (Code and comment)
I think we can merge like this and add correct tests later when we will attack the zim testing suite problem. @veloman-yunkan please rebase-fixup on master. |
adc5c66
to
fcc88f8
Compare
Done |
I'm not understanding the arguments to not test this. I would like to have a talk with @mgautierfr about this ticket before merging this. |
fcc88f8
to
452283c
Compare
Rebased again (had to resolve a conflict with #576) |
I understand that this PR can not easily be tested properly (at least) because of:
I have there open the tickets above to help in the future and will merge this PR now. |
Fixes #533
Things to note: