chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #775: henrietta-cache: Generalise "tarbomb" handling?


From: Chicken Trac
Subject: [Chicken-janitors] #775: henrietta-cache: Generalise "tarbomb" handling?
Date: Thu, 12 Jan 2012 20:40:27 -0000

#775: henrietta-cache: Generalise "tarbomb" handling?
-----------------------------+----------------------------------------------
 Reporter:  sjamaan          |       Owner:  sjamaan
     Type:  defect           |      Status:  new    
 Priority:  minor            |   Milestone:  4.8.0  
Component:  extensions       |     Version:  4.7.x  
 Keywords:  henrietta-cache  |  
-----------------------------+----------------------------------------------
 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.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/775>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]