Written by

Developer at eHealth Exchange / Developer Advocate / Opensource Developer
Question John McBride · Jun 7, 2023

ZPM / IPM private registry API spec?

Is there a API specification for the ZPM / IPM package manager for anybody that would like to implement their own registry?

Comments

Timothy Leavitt · Jun 7, 2023

If you're looking to implement your own registry you'll also need client code to handle retrieving packages from, and publishing to, your own registry. (FWIW, built-in Artifactory support is under consideration.)

This would involve extending https://github.com/intersystems/ipm/blob/master/src/%25ZPM/PackageManag… and writing classes to implement the following interfaces:
https://github.com/intersystems/ipm/blob/master/src/%25ZPM/PackageManag…
https://github.com/intersystems/ipm/blob/master/src/%25ZPM/PackageManag…

(Ignore the "Application" related methods - only "Module" is needed.)

As an example, see:
https://github.com/intersystems/ipm/blob/master/src/%25ZPM/PackageManag…
https://github.com/intersystems/ipm/blob/master/src/%25ZPM/PackageManag…
https://github.com/intersystems/ipm/blob/master/src/%25ZPM/PackageManag…

0