Valid XP dump archive:
1) File name MUST finish with ".zip"
2) MUST contain an entry
"dump.json"
OR archiveName + "/dump.json"
OR "^([^/]+)\/dump.json$"
3) Does not handle multiple dumps
DT dump archive:
Archive / No restrictions (May contains multiple dump directories).
Its content is simply unarchived into data/dump directory
Check for XP dump archive:
1) File finishing in ".zip"
2) Contains exactly 1 entry "^[^/]+\/dump.json$"
=> Would require too much time to go through the entire archive
Decision:
Do not support "DT dump archive" anymore. Consider all dump archives to be XP dump archives.
Do not allow to download multiple dumps.
If a DT dump archive is uploaded, it will work. If it contains multiple dumps only one will be taken into consideration.
Handle 7.3 dump archives:
Valid XP dump archive: 1) File name MUST finish with ".zip" 2) MUST contain an entry
Check for XP dump archive: 1) File finishing in ".zip" 2) Contains exactly 1 entry "^[^/]+\/dump.json$" => Would require too much time to go through the entire archive
Decision: