SapphireDensetsu / ypsilon

Automatically exported from code.google.com/p/ypsilon
Other
0 stars 0 forks source link

Compilation cache should encode filename #133

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When you have several overlapping sets of libraries of libraries installed
at different locations, Ypsilon will auto-re-compile when you switch 
between the locations by changing YPSILON_SITELIB. 

I think Ypsilon should somehow encode the complete filename of the file
cached in the filename of the file in the cache, for example by hashing or,
as Ikarus does, by appending the whole path (starting from the root
directory) of the file cached to the cache's base directory.

As slightly related I side note, could you consider moving the cache below
~/.cache (e.g ~/.cache/ypsilon) on POSIXish systems? That's what's used as
default by the XDG Base Directory Specification[0], and having all cached
data below a common directory is helpful for administration (think e.g.
backups).

[0] http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html

Original issue reported on code.google.com by rott...@gmail.com on 16 Nov 2009 at 11:57