ipm icon indicating copy to clipboard operation
ipm copied to clipboard

IPM load - setting a custom target directory

Open isc-jan opened this issue 1 month ago • 4 comments

When installing a module from a tarball using IPM (using load), the unpacked files are placed under a Temp/ subdirectory. It would be helpful to allow setting this to be custom so you can choose a target directory (or perhaps have it export into a directory where the tarball is similar to what happens if you unpack a tarball from the command line)

isc-jan avatar Oct 23 '25 14:10 isc-jan

As of 0.10.4, the install command will unpack the files into $System.Util.DataDirectory()/ipm/<packagename>/<version>/. The load command should probably also do the same by default.

isc-dchui avatar Oct 23 '25 15:10 isc-dchui

We are testing on 0.10.4 - we had talked to Keshav and are aware that install will unpack to that directory, but load will always use a Temp directory. We are looking to see if we can do something similar for load, as it is for install.

isc-jan avatar Oct 23 '25 16:10 isc-jan

By "should" I meant we should change the code to do so, not it should be doing it right now. Was just adding some context, sorry for the confusion.

isc-dchui avatar Oct 23 '25 17:10 isc-dchui

Ah got it, thank you!

isc-jan avatar Oct 23 '25 17:10 isc-jan