intersystems / ipm

InterSystems ObjectScript Package Manager
MIT License
28 stars 19 forks source link

Proscriptive Installation Location #278

Open kuszewski opened 2 years ago

kuszewski commented 2 years ago

The package manager should be unpacking a package's resources into a predictable, defined location as a default for all packages. I suggest a system as follows, but am open to other suggestions:

<installdir>/zpm/<packagename>/<version>

That way you can have multiple versions of a package installed on the same machine (say, you had them installed in different namespaces) and each would have a place where it can expect to find any configuration files, jars, .dlls, etc that are needed by that package.

isc-tleavitt commented 3 months ago

This would also be a good approach for static web files rather than copying to system directories