BlueBrain / BlueBrain/nexus

Migrate Archives to use fs2 instead of alpakka file

Open
#4,557 0 comments 0 reactions 0 assignees View on GitHub
delta refactoring and maintenance
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

**Motivation**
The current implementation of archives relies on alpakka file that has changed license and can't be updated anymore.
So we should move to a fs2-based implementation.

Fs2 does not provide directly support to compress zip files but there are some implementations around:
https://github.com/alexandervanhecke/fs2-zip

**Acceptance criteria**
1. alpakka-files is not a dependency for the archive plugin anymore

**Not in scope**
1. The use of alpakka file in the storage app is handled in another ticket

Contributor guide

Open the contributing guide

Research direction

Start by locating the archive plugin and its alpakka-files dependency, then inspect how archive compression currently uses Alpakka File. Review the referenced fs2-zip implementation as a possible replacement. Done means the archive plugin no longer depends on alpakka-files; storage app usage is out of scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 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.