-
Notifications
You must be signed in to change notification settings - Fork 806
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
Replace private API QZipWriter with KArchive #4768
Conversation
ac46d68
to
4266b1c
Compare
@claucambra This KF5Archive seems to be unavailable on our CI (both drone and Windows). |
4266b1c
to
79ee85d
Compare
A patch do add it to the docker CI is merged, just opened nextcloud/desktop-client-blueprints#4 to add it to our Craft blueprint, merging #4704 should also fix issues |
9200364
to
d4a8b7f
Compare
Kudos, SonarCloud Quality Gate passed! |
Codecov Report
@@ Coverage Diff @@
## master #4768 +/- ##
==========================================
- Coverage 57.15% 56.79% -0.36%
==========================================
Files 138 138
Lines 17135 17143 +8
==========================================
- Hits 9794 9737 -57
- Misses 7341 7406 +65
|
Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
de9d8b6
to
9a0753d
Compare
Kudos, SonarCloud Quality Gate passed! |
AppImage file: nextcloud-PR-4768-9a0753dabb061b4e3ac753cbdfd272d9bb256212-x86_64.AppImage |
Also: - Add karchive as dependency [1] - Add patch to revert mandatory WebEngine dependency [2] [1] nextcloud/desktop#4768 [2] nextcloud/desktop#4875
Also: - Add karchive as dependency [1] - Add patch to revert mandatory WebEngine dependency [2] [1] nextcloud/desktop#4768 [2] nextcloud/desktop#4875
Also: - Add karchive as dependency [1] - Add patch to revert mandatory WebEngine dependency [2] [1] nextcloud/desktop#4768 [2] nextcloud/desktop#4875
Also: - Add karchive as dependency [1] - Add patch to revert mandatory WebEngine dependency [2] [1] nextcloud/desktop#4768 [2] nextcloud/desktop#4875
Qt doesn't provide any public utilities for creating ZIP archives, and by using QZipWriter we are at the mercy of this API changing without warning. From
qzipwriter.h
:KArchive exists as a Qt add-on that should let us easily replace our use of QZipWriter without dragging in any other dependencies. This will likely require a small addition to our build andCI infra to add KArchive to our CMake build, but it should fully eliminate the risk of depending on the private API.
Fixes #3723
Signed-off-by: Claudio Cambra claudio.cambra@gmail.com