bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Package Manager installation issues and proposal - feedback re


From: David Lamkins
Subject: [Bug-apl] Package Manager installation issues and proposal - feedback requested
Date: Wed, 4 Jun 2014 11:03:46 -0700

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]