Refactor ArchiveInterface API with entries metadata
Closed, ResolvedPublic

Description

Currently the ArchiveInterface methods require either a QStringList or a QVariantList with the list of files to work on.

We should replace this with something:

  1. More consistent
  2. With more informations for the jobs, i.e. with metadata about the entries

In other words, we need to pass a list of ArchiveEntry objects to the API methods. Ideally ArchiveEntry should become a proper class and incorporate the fileRootNodePair logic.

For example, this will be needed to fix bug #363368.

elvisangelaccio added a subscriber: mvlabat.

@mvlabat
I'm moving this task under GSoC, but consider it optional (like a bonus point).

In theory this should help you to add the new methods/jobs for the new functionalities (copy/move/etc.)

mvlabat claimed this task.Jun 23 2016, 8:40 PM
mvlabat closed this task as Resolved.Aug 15 2016, 12:44 PM