-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Do not read the library in readOnly mode. #72
Conversation
The readOnly argument of `readFile` is to put the loaded library in readOnly mode. Which kinda means "Do not write again what is loaded". We don't want that for android as we want to save again our (potentially modified) library. See kiwix/kiwix-android#3474
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #72 +/- ##
=========================================
Coverage 92.38% 92.38%
Complexity 213 213
=========================================
Files 44 44
Lines 289 289
Branches 3 3
=========================================
Hits 267 267
Misses 19 19
Partials 3 3 ☔ View full report in Codecov by Sentry. |
@mgautierfr @MohitMaliFtechiz Who fixes this to release 1.0.1? |
I haven't made it the last time. So probably @MohitMaliFtechiz. But any changes (changelog, version numbering here?,...) related to the release must be made in another PR. BTW, we have this workflow which is triggered only when we create a release on github. |
@mgautierfr Last time @kelson42 published it on maven via workflow see here https://github.com/kiwix/java-libkiwix/actions/workflows/publish.yml
Yes, you are right.
We have release
Yes, we will make this on another PR, but before that, I am testing this PR to see if the issue is fixed or not. Allow me some time and i will test and review this PR. |
Ho. I haven't found the tab on github UI so I assume there was no release. Sorry about the noise. |
@mgautierfr The bug is resolved now 🎉 🎉 , now it is properly saving the data everytime. |
The readOnly argument of
readFile
is to put the loaded library in readOnly mode. Which kinda means "Do not write again what is loaded".We don't want that for android as we want to save again our (potentially modified) library.
See kiwix/kiwix-android#3474