As noted elsewhere, I need to rethink installation of the package manager.

There are two main issues:

1. I shouldn't (try to) drop the package manager into the same directory as
workspaces [i.e. )lib 0]. The package manager should have its own home
directory.

2. I need to find a way to handle the case where workspace directories are
located relative to APL's working directory.

Based upon my understanding of the issues, I propose the following
solution. I'd like to get feedback on this before I commit the solution to
code.

I propose to locate the package manager and packages in their own
directory. This directory will be configurable at installation time and
easily reconfigurable later.

You'd still use a symlink to reference the package manager's boot file; I
can arrange that the installer lets you create multiple copies of this
link, if needed. (Alternatively, you could copy or move an existing symlink
using shell commands.)

I think that this change would address most concerns with running APL in
different working directories without  having configured (in
~/.gnu-apl/preferences) an absolute path to your workspaces directory.

The downside, of course, is that you wouldn't be able to mix and match
packages from the repository and the working directory. I will eventually
address that concern with a proper search path, but not in the first
release.

-- 
"The secret to creativity is knowing how to hide your sources."
   Albert Einstein


http://soundcloud.com/davidlamkins
http://reverbnation.com/lamkins
http://reverbnation.com/lcw
http://lamkins-guitar.com/
http://lamkins.net/
http://successful-lisp.com/

Reply via email to