-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat(archive-apis)!: use .7z
format to archive studies
#2013
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lire la doc de 7zip avant de coder 👻
6220f9f
to
566a8b2
Compare
f0e1637
to
f44dc68
Compare
antarest/study/storage/rawstudy/model/filesystem/config/files.py
Outdated
Show resolved
Hide resolved
f44dc68
to
efa15f1
Compare
bb56aa4
to
c406835
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you specify which features this PR handles because it's not really clear for me.
From my understanding, the only thing it does is handling the archiving/unarchiving process with 7z (and retro compatibility)
60259df
to
7916350
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a major bug but your change in the code didn't fix the issue of the .
folder inside your .7z
archive.
Also, you didn't answer my previous comment on what does this PR really achieve.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il convient d'améliorer la couverture des tests at de tester avec ZIP et 7z.
Lorsqu'on exporte une étude, on télécharge un fichier au format 7z, mais avec l'extension ".zip". Il faut corriger cela.
antarest/study/storage/rawstudy/model/filesystem/root/input/areas/list.py
Show resolved
Hide resolved
antarest/study/storage/rawstudy/model/filesystem/root/input/areas/list.py
Outdated
Show resolved
Hide resolved
a0ef379
to
9079c11
Compare
…rest.core.utils` modules
ee43b1f
to
2f2ca59
Compare
c7d973c
to
02f3d17
Compare
…rget.suffix` is valid
Context:
After a benchmark comparing
.zip
vs.7z
in order to archive studies, the conclusions drawn from the experiments showed that we may gain better efficiency in both time and memory if we use.7z
format.Goal of PR:
Full migration of studies export into a
.7z
format.This PR may solve ANT-1551 and ANT-1549 all at once.