Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Enable ZipStreamer compression

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

enhancement

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
Dominant language
JavaScript
Stars
31
Forks
11
Avg merge
7h 1m
Merged PRs (30d)
9

Getting set up

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.

More from nextcloud/user_migration

All issues in nextcloud/user_migration

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.