Allow a global installation folder #55
Replies: 5 comments 11 replies
-
This goes against the grain of Tatin. |
Beta Was this translation helpful? Give feedback.
-
I don't see how this is detrimental to any designed use of Tatin. It's simply an extension to allow the user a choice in how to use it. It doesn't prevent the original method of doing things at all. A reasonable (and non-harmful) choice is good, is it not? |
Beta Was this translation helpful? Give feedback.
-
Perhaps if I explained my alternative if I don't have an extra optional parameter in Tatin... Say I've installed 20 packages (in a common area, which is possible for me to do), but I only need one of them in a simple new workspace I'm starting to build. For the simplest case, I LoadDependencies to load all 20 installed packages and then go through and erase 19 of the namespaces from my workspace along with their direct references. This isn't too horrible if I have to do it only once. However, if my desired package has one or more dependent packages, then I have to go through and figure out the appropriate dependencies manually and erase only the ones that aren't needed. This is one of the primary jobs of Tatin and I'd have to be doing it completely manually. And if I ever have to rebuild the workspace or reinstall new versions then I have to start over and do the entire procedure again from scratch. And again the next time, etc. And that's just for one simple workspace. So it seems to me a trivial improvement to allow extra argument(s) on the command line to allow me to just load the packages that I want to use (along with their dependencies). It solves all my problems with the above (and similar) scenarios, offers flexible options to all users, changes nothing to anyone using Tatin as originally designed, changes nothing in the overall scope or design or purpose of Tatin, and requires rather trivial changes to the Tatin codebase. I can't see any disadvantages to allowing this option and it can provide considerable functionality and ease-of-use in certain situations, extending Tatin's usefulness overall. |
Beta Was this translation helpful? Give feedback.
-
@morten: if you do not object I am going to implement this as an experimental feature. |
Beta Was this translation helpful? Give feedback.
-
I see I managed to post my message in the wrong discussion thread (#57 (comment)). Is the reason for this to save space? The current design is based on each folder specifying its requirements, so there are implications in using a single folder for all applications and then dynamically filtering what to be loaded. This may be exactly what is desired here, but I want to be sure we are solving the right problem. |
Beta Was this translation helpful? Give feedback.
-
I have toolkits that I make use of in many applications. I don't want to have to install duplicates of each of these toolkits in every application directory on my system. In fact, some of my small applications don't even reside in separate directories, and I may have hundreds of them.
This could also be an issue when I have sub-applications that require different sets of packages for support of the different layers. I don't want to have to load all the packages into the top-level application, nor do I want to have to load duplicates of everything throughout the application structure.
What I'd like to be able to do for such a situation is be able to install all the toolkits I use in a global directory (such as C:\Packages). Then I can use LoadDependencies in each application to bring in the tools that I need for that application.
Actually, I can force Tatin to do most of that for me, even though it's not part of the basic design. But where it becomes more of a problem is that when I LoadDependencies I get ALL the packages loaded from the global store, even those I don't want. So to improve this situation, I'd like a way to load only selected packages into a given application. I think this could be accomplished by simply changing or adding to the parameters for LoadDependencies, without any other modifications to Tatin. If this were made optional, then it could be used both in the way I describe here as well as in the way it was originally designed, without compromise.
One possible method for accomplishing this is to allow the package-containing directory name to also include the (full or partial) name of a particular package, to indicate that only that package is to be loaded. Alternatively, the selected package(s) could be optionally added to the end of command line arguments.
This seems to be a relatively simple request that doesn't impact existing functionality but provides more flexibility for users that wish to use Tatin in slightly different ways.
Beta Was this translation helpful? Give feedback.
All reactions