id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,difficulty 775,"henrietta-cache: Generalise ""tarbomb"" handling?",sjamaan,sjamaan,"Currently only the zip downloads extract and see whether the files were extracted to the current directory (aka ""tarbomb"" but for zipfiles, since zips are more likely to do such stupid things) or to a subdirectory of it. This should instead be done for all types, and search for the ""shallowest"" setup-file. The directory at that level should be put in the cache. This should enable downloads from places like Launchpad, which put the file into a deep idiotic directory that matches the directory structure on launchpad (something like ""~peter-bex/bzr-egg-author/trunk"". yes, this includes a nasty tilde character). I'm not 100% convinced this is a sane idea, so I should think about this some more. If anyone reading this has an opinion on how to deal with this, let me know, please. If multiple setup-files are found, this may present us with an ambiguity. It also seems too ""clever"" and DWIMmy to really ever work properly. Launchpad's loggehead should really be fixed to offer proper downloads.",defect,closed,minor,4.9.0,extensions,4.7.x,wontfix,henrietta-cache,,