InterSystems Package Manager

Downloads618
Subscribe
5
Bookmark
21
This application is supported by InterSystems Corporation.
Details
Releases
Reviews
Issues
Videos
Articles

What's new in this version

Bug fix release.

  • Properly interpret ROBOCOPY return codes
  • Fix a regression that prevented installation of certain packages

ObjectScript Package Manager Client - ZPM

Helps to install ObjectScript classes and routines, globals, Embedded Python modules, CSP and Frontend packages, and any files into InterSystems IRIS published on the official ZPM Registry or private ZPM registry of your own.

Documentation

Installing ObjectScript Package Manager Client:

  1. Use one-liner in terminal call or programmatically:
s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")

OR:

  1. Download the latest version of zpm from the registry
  2. Import the zpm.xml into IRIS and compile via any desired way (Management Portal, Studio or Terminal)

After that you can use PackageManager to install modules from community repository in any namespace.

  1. Check if you call a zpm in command line and get the following: USER>zpm

zpm: USER>

How to Install a ZPM Module:

  1. Call this command to open zpm shell:

USER> zpm

  1. See the list of available modules:

zpm: USER>repo -list-modules -n registry

deepseebuttons 0.1.7 dsw 2.1.35 holefoods 0.1.0 isc-dev 1.2.0 mdx2json 2.2.0 objectscript 1.0.0 pivotsubscriptions 0.0.3 restforms 1.6.1 thirdpartychartportlets 0.0.1 webterminal 4.8.3 zpm 0.0.7

  1. You can load any module that resides in any of the defined repos into IRIS. E.g. here is the way to install webterminal:

zpm: USER> install webterminal

To uninstall a module:

USER> zpm

zpm: USER> uninstall webterminal

How to submit modules

This is described in the following set of articles

The simplest and template repository can be found here. Here is the alternative supported folder structure.

Support and Collaboration

ObjectScript Package Manager is a community supported project and thus open to collaboration via Pull Requests. Issues and feature requests are very welcome

Rating
4.79 (17)
Category
Developer Environment
Works with
InterSystems IRISInterSystems IRIS for Health
Tags
Info
Version
0.5.2
Last updated
2023-01-20
Repository
Open
Documentation
Open
License
Link