-
Notifications
You must be signed in to change notification settings - Fork 27
Clean up "load from .tgz" process #474
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
In %IPM.Main:Load:
} ElseIf ##class(%File).Exists(tDirectoryName),$$$lcase($Piece(tDirectoryName, ".", *)) = "tgz" {
Set tTargetDirectory = $$$FileTempDirSys
Set tSC = ##class(%IPM.General.Archive).Extract(tDirectoryName, tTargetDirectory)
$$$ThrowOnError(##class(%IPM.Utils.Module).LoadNewModule(tTargetDirectory, .tParams))
}
This should:
- Support .tar.gz as well
- Specifically cover the case of a download of a GitHub release - so there's a nested directory too to account for
- Check the status from Extract ($$$ThrowOnError)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request