Hi Ben, 2017-12-16 8:01 GMT-03:00 Ben Coman <btc@openinworld.com>:
On 16 December 2017 at 16:02, Stephane Ducasse <stepharo.self@gmail.com> wrote:
Hi ben
We should think about it. Indeed. Now about the names. I'm wondering if they cover well enough the situation. In fact I would like to have imageDirectory (it exists but not in FileSystem) and workingDirectory (I would prefer startupDirectory or something like that).
startupDirectory sounds like its where the startup scripts are kept, and common across many Images.
For me workingDirectory is totally unclear.
Its a fairly well defined concept. Its starts as the shell directory where you type the command to run a program. https://en.wikipedia.org/wiki/Working_directory
Note that in R you can set the current working directory with setwd() and this is very common in R scripts. I like the idea around #imageDirectory and #vmStartupDirectory or just #vmDirectory. And maybe renaming #workingDirectory to #userWorkingDirectory would be more clear? Assuming 1 image = 1 user? Cheers, Hernán