Joined: 17 Nov 2005, 02:43 Location: Raegquitting Spring on 04/24/12
Because springrc needs to be in a place where it can always be found because it tells the location of where to store the spring stuff (defaults to .spring).
that is not the reason. if we would have to ensure the file is alwyas there for each user that might run spring, which we can not, and should not, then it wold not make a difference whether we had to ensure it is in ~/ or in ~/.spring/ i don't know why it is in ~/ and i kind of agree that it would be more *nix standard to have it in ~/.spring/ instead. the general rule i see, is if the application uses a dir at all, the config file should be inside the dir. i guess it could evne be changed now, but ... there is probably too little gain (basically only adhering to the standard) , for anyone to take upppon himself the trouble: after next release: WHAAAAA all my settings are gone!!! spring i hate you!!!! or if we allow both locaitons, people will get confused about which one is correct now, and after some time we will have to remvoe the old locaiton anyway. but well.. i woudl sya it is ok to move the main location to be something like ~/.spring/config.txt, and still look for ~/.springrc for a few releases, maybe can be decided in a meeting.
I don't see why copying .springrc content to config.txt could not be part of the upgrade procedure?
So lost configs should not be a problem imho.
Just because something has been done one way does not mean it has to be done like that forever. Fedora did a big decision to clean up their filesystem tree, i think spring could do this step in the same spirit, if there are no real downsides to it.
Config settings from specific engine versions would overwrite the settings in the main config dir.
The demos folder could have engine-version-dirs too, but the version is also in the filename, so that would be just makeup.
What about the pathfinder cache? Does it invalidate each version, or just sometimes? If it's each release, than subdirs would make sense. It'll allow to switch versions w/o loosing the pathing cache. In the other case file-internal metadata should be added. I still see chat msg about "[desync warning] path... checksum...." that could be avoided with some version magic.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum