nextcloud / nextcloud/user_migration

Enable ZipStreamer compression

Open
#110 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
30
Forks
10
Avg merge
6h 5m
Merged PRs (30d)
12

Description

In https://github.com/nextcloud/user_migration/blob/main/lib/ExportDestination.php#L50 set to:

				'compress' => COMPR::DEFLATE,
				'level' => COMPR::MAXIMUM,

for me locally this leads to this error: https://github.com/DeepDiver1975/PHPZipStreamer/blob/master/src/ZipStreamer.php#L310

even after installing sudo pecl install pecl_http and enabling the "raphf" module, the error still appears.

  • needs further research
  • make it conditional
  • document what is needed to enable compression

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at lib/ExportDestination.php#L50 and reproduce the compression error reported at PHPZipStreamer/src/ZipStreamer.php#L310. Check the referenced PECL http and raphf setup, then determine whether compression should be conditional or documented. Done means the compression setting no longer causes the reported error, or its prerequisites are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.