hi,
i loved the 0.8.2 place of the cache dir, what was wrong with that? it's
easy to find and get rid of when needed, it's easy to say whether it's
there or not, zero clutter cost. and i can't think of any use case
where it would make sense not to have write access to the development
dir either. (this doesn't mean there isn't any, of course)
those being said, i'm also against a system-wide cache dir because we
have multiple people working on one development machine (via x
forwarding) who might need to work with different versions of qooxdoo.
i say let's not mess with the env vars either. i imagine they'd be too
implicit for clueless windows users.
however, if thomas is going to insist on getting the default cache dir
via gettempdir(), at least have the default config.json in the skeleton
"./cache" as cache dir by default. this way at least, i'll instantly
know where to change the place of the cache dir if i ever want to.
best regards,
burak
thron7 wrote:
Hi Derrell,
thanks for your thoughts.
Most Linux distributions either clear out /tmp each time the computer
boots,
or mount /tmp on a virtual file system (e.g. tmpfs) that is recreated on
each boot. I believe this means that on a laptop that is rebooted a few
times each day, an application in development would require a complete
rebuild following each boot -- a very long process, of course, with any
substantial application.
Mh, I was not aware of that. I have been working with Linux the past 10
years and never had my /tmp been cleared automatically. But then, I'm not
using one of those modern desktop versions of Linux. And actually, since 2
years I hardly reboot, I only hibernate. - But of course, I'm interested
in other people's experiences.
well i'm using gentoo and it has been clearing /tmp for some time now.
I
would suggest using a different environment variable variable name, e.g.
QOOXDOO_CACHE_DIR, with a fallback to TMPDIR.
I'm not sure I completely understand you here. For one thing, we are not
evaluating environment variables. Technically, we use the gettempdir()
function of one of Python's standard modules, tempfile. This in turn does
evaluate environment variables, but also applies a lot of platform logic,
so we don't have to worry about it. Since we are running
But more importantly, the TMPDIR *is* the fallback already. Just set your
CACHE macro to some other path and you're set. If you don't like the
TMPDIR location, just override it. Config macros are our way of tailoring
the system, and I wouldn't want to add another mechanism, like environment
variables, without compelling need. - If you are running multiple
applications on your machine, and want to maintain a central setting, just
create some "site.json" and include it in the individual config.json's.
But sure enough, while this should help you individually, the fallback
setting should be sensible for most people, so if a lot of people have the
issues you describe we should re-consider the default.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel