Expected Behavior with ECP Namespaces ?
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Start by locating the code behind enable -map -globally and the check that prints “IPM is not enabled in this namespace.” Trace how namespace database mappings are discovered, then compare that behavior with the ECP namespace configuration in the issue. Done means documenting or correcting whether this namespace should be detected and confirming that zpm behaves as expected there.
Written by the indexing model from the issue text.
Description
Hello,
Didnt know what to call this so I guess its something I have hit recently and wanted to know if it was expected.
I have a namespace where the globals "data" are on a remote server over ecp and the routines "code" is still local.
%SYS>ZW ^CONFIG("Namespaces")
^CONFIG("Namespaces","%SYS")="IRISSYS"
^CONFIG("Namespaces","HSCUSTOM")="HSCUSTOM"
^CONFIG("Namespaces","HSLIB")="HSLIB"
^CONFIG("Namespaces","HSSYS")="HSSYS"
^CONFIG("Namespaces","HSSYSLOCALTEMP")="HSSYSLOCALTEMP"
^CONFIG("Namespaces","STARTMGR")="STARTMGR"
^CONFIG("Namespaces","ECPNAMESPACE")="ECP-REMOTE-DB,LOCAL-DB"
^CONFIG("Namespaces","USER")="USER"
With the database mounted and the namespace accessible, if I run an "enable -map -globally" the namespace does not seem to be in view with IPM:
zpm:USER>enable -map -globally
Skipping IPM mapping of %SYS - IPM already installed.
Mapping %IPM package in USER equivalently to HSCUSTOM
Mapping %IPM.* routines in USER equivalently to HSCUSTOM
Skipping IPM mapping of HSLIB - IPM already installed.
Mapping %IPM package in USER equivalently to HSSYS
Mapping %IPM.* routines in USER equivalently to HSSYS
Mapping %IPM package in USER equivalently to HSSYSLOCALTEMP
Mapping %IPM.* routines in USER equivalently to HSSYSLOCALTEMP
Mapping %IPM package in USER equivalently to STARTMGR
Mapping %IPM.* routines in USER equivalently to STARTMGR
Mapping %IPM package in USER equivalently to USER
Mapping %IPM.* routines in USER equivalently to USER
Done.
%SYS> zpm 0.10.2
HSLIB> zpm 0.10.5-SNAPSHOT
HSCUSTOM> zpm 0.10.2
Installed In: %SYS
HSSYS> zpm 0.10.2
Installed In: %SYS
HSSYSLOCALTEMP> zpm 0.10.2
Installed In: %SYS
STARTMGR> zpm 0.10.2
Installed In: %SYS
USER> zpm 0.10.2
Installed In: %SYS
I have tried things like using the oneliner to install IPM, then executing a cpf merge to mount the remote database and modify the namespace after IPM install, which seems to "work", but when I try to install a package I get this:
ECPNAMESPACE>zpm
IPM is not enabled in this namespace.
Change namepace to one of the following to run the "zpm" command
%SYS> zpm 0.10.2
HSLIB> zpm 0.10.5-SNAPSHOT
HSCUSTOM> zpm 0.10.2
Installed In: %SYS
HSSYS> zpm 0.10.2
Installed In: %SYS
HSSYSLOCALTEMP> zpm 0.10.2
Installed In: %SYS
STARTMGR> zpm 0.10.2
Installed In: %SYS
USER> zpm 0.10.2
Installed In: %SYS
If you want to map IPM globally, switch to one of the namespaces above and run: zpm "enable -map -globally".
If you want to reset repository and map IPM globally along with repository settings, switch to one of the namespaces above and run: zpm "enable -community".
Expected? it this because ipm has globals dependencies and is intentionally gated ?
- Dominant language
- ObjectScript
- Stars
- 41
- Forks
- 33
- Avg merge
- 23h 20m
- Merged PRs (30d)
- 29
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from intersystems/ipm
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
intersystems/ipm#1338 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
intersystems/ipm#1241 ·
Maintainers usually reply within 1 day
-
CI checks on IRIS for Health Community 2025.3 failing: license expiredPossibly taken @isc-eneil claimed this 2 days ago. Openbug
intersystems/ipm#1335 · 1 assignee ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
intersystems/ipm#1328 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 53/100
intersystems/ipm#1327 ·
Maintainers usually reply within 1 day
All issues in intersystems/ipm
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
integration: websocket_api
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
home-assistant/core#194618 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
2DAW-CarlosIII/eportfolio_g5#35 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
2DAW-CarlosIII/eportfolio_g4#33 ·
Maintainers usually reply within 1 day