[Tilesathome] Change proposal in uploaded files
Martijn van Oosterhout
kleptog at gmail.com
Mon Jul 2 10:27:18 BST 2007
On 7/2/07, Celso González <celso at mitago.net> wrote:
> -Do no submit empty files in the zip. Just submit a empty file list
> named something like empty_foo and the rest of png files we are sending.
> This will reduce the size of the uploads and i think its easy to process
> that file in low priority
Interesting idea. I thought it would require some work, but perhaps it
is easier than I think. In particular you have to name the file in a
particular way so that the upload script knows it needs to upload it.
> -Use of tar.gz instead of zip. The processing time is faster and uses
> less cpu, the diffs in size are not significant
The problem with .tar.gz is that you can't control where the files end
up. While unpacking a tar.gz file you can't tell tar to ignore any
paths, so it will go create any directories... ZIP has a -j option to
prevent this.
> -Do not save all the path in zip files (or tar.gz), we are currently
> saving all the path information in the zip and i think its not a good
> idea for privaticy reasons.
This one is easy, add the -j switch to te zip command.
Have a nice day,
--
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
More information about the Tilesathome
mailing list