Skip to content

feat(io): add a new tool to extract data from an archive

Description

These changes introduce a new tool, ArchiveExtractor, to extract archives generated by Sight applications. It was designed specifically for opening archive from a real-world application, but it should be generalist enough to allow extract archives from any Sight application, as long as they're aren't salted archives, as they aren't supported by ArchiveExtractor. This application needed a new module, module::io::zip::SExtract, which asks the user for the input file and the output path and eventually the password if needed.

Closes #1054 (closed)

How to test it?

  • Open ArchiveExtractor
  • Click on the "Extract archive" button
  • Select a non-encrypted archive to extract
  • Select an output path
  • Check that the archive is well extracted in the output path
  • Select an encrypted archive to extract
  • Select another output path
  • Type the password
  • Check that the archive is well extracted to the second output path

For testing, you should ask @dweckmann for an archive from the real-world application in order to test. Meanwhile, you can also generate a Sight session file from a Sight application, for example ExActivities. The archive should contain a VTI file, which you can check integrity by opening it with SightViewer.

Merge request reports