improve create target --seed
-
It should also accept
.zipfiles as it's more widely supported thantar.gz -
It should validate that the file given is in valid format (
.tar.gzor.zip) before uploading it
Also validate the directory structure inside the archive is correct.
Can I just archive top-level files (say, foo.html, bar.html) or do they have to be in a directory (like corpus/foo.html and corpus/bar.html)?
Is the directory name significant?
Actually it must be top-level files without a directory inside. Agree that some sort of validation is needed. Also agree on the .zip though it will need some tweaks on the backend so let's leave this Issue open for now.