-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow mapping and unmapping repos & improve zpm error output #663
Conversation
enable
command
enable
commandThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the super quick turnaround! Since you got this before I had time to update README.md, would you mind taking that on too?
@@ -2803,9 +2811,12 @@ ZPM(pArgs...) | |||
Set found = 0 | |||
While rs.%Next() { | |||
Set $Namespace = $Zstrip(rs.%Get("Nsp"), "<>WC") | |||
If $System.CLS.IsMthd("%IPM.Main", "Shell") { | |||
// Some I4H containers come with %IPM.Main but the "version" command doesn't work ?! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would probably be those with IPM mapped from HSLIB/HSCUSTOM, on older versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, for example, containers.intersystems.com/intersystems/irishealth-community:2024.1 has this problem in HSLIB.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a few more minor readme tweaks; looks good to me at this point. Thanks for the quick turnaround @isc-shuliu!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@isc-shuliu I noted a couple of typos but the code looks good to me!
Added
enable -community
which resets repository settings to default and map IPM along with repo settings globallyChanged