-
-
Notifications
You must be signed in to change notification settings - Fork 473
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
Enhancement: Fixes #765 & uses updated kiwix-lib method #1537
Conversation
…rovided by kiwix-lib
app/src/main/java/org/kiwix/kiwixmobile/zim_manager/ZimFileReader.kt
Outdated
Show resolved
Hide resolved
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. |
@Aditya-Sood Do you think you will be able to fix the PR in the next days? |
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. |
@kelson42 @macgills terribly sorry for disappearing. I had my mid semester exams earlier this month, and since a week after that the placement coding rounds have begun, which is why I couldn't follow up I'll fix this latest by tomorrow night Again, really sorry for the inconvenience. Next time I'll be careful to communicate beforehand if I'm going to be busy |
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. |
@Aditya-Sood ping? |
@kelson42 terribly sorry for the delay, it's been updated to the current modularised develop code |
core/src/main/java/org/kiwix/kiwixmobile/core/search/NextSearchSuggestion.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/kiwix/kiwixmobile/core/reader/ZimFileReader.kt
Outdated
Show resolved
Hide resolved
core/src/main/java/org/kiwix/kiwixmobile/core/reader/ZimFileReader.kt
Outdated
Show resolved
Hide resolved
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 will need the updated kiwixlib to be released and the dependency upgraded before this can be merged, as previously stated. @kelson42 When can we expect a kiwix-lib release?
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. |
@macgills I will try to make a new kiwix-lib release to unblock that PR. |
@macgills @Aditya-Sood Kiwix-lib 8.2.0 has been published https://bintray.com/kiwix/kiwix/kiwixlib/8.2.0 |
@Aditya-Sood Could you please do the small upgrade an merge this please? |
@kelson42 @macgills I have tried changing the kiwix-lib version directly in Versions.kt to 8.2.0 but that always gave a I also ran the Could you guide me on how to test the new version? |
@kelson42 kiwix-lib was uploaded to bintray without a pom.xml, I am not sure how the build is triggered on kiwix-build but matthieu had it set up to use the android project to build the pom and it was definitely working for 8.1.0 @Aditya-Sood everything you did there was correct 👍 |
@macgills No clue... Can we delete this on bintray so I can retry again to publish? |
@macgills @Aditya-Sood Sorry for the wrong attemps. I have regenerated 8.2.1 and this time the pom.xml is part of it. Should be OK. |
Codecov Report
@@ Coverage Diff @@
## develop #1537 +/- ##
=============================================
+ Coverage 35.77% 36.27% +0.49%
- Complexity 5 31 +26
=============================================
Files 221 236 +15
Lines 7334 7438 +104
Branches 769 788 +19
=============================================
+ Hits 2624 2698 +74
- Misses 4442 4468 +26
- Partials 268 272 +4
Continue to review full report at Codecov.
|
Fixes #765
Changes: Updates ZimFileReader (& AutoCompleteAdapter) to use the updated getNextSuggestion() method available in kiwix-lib (which directly returns the url corresponding to a suggestion term, avoiding an additional call to getPageUrlFromTitle())
IMPORTANT: Before merging this PR, the gradle file must be updated to use the kiwix-lib version post the merging of complimentary PR to kiwix-lib, since it depends on the changes to JNIKiwixReader in that PR