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
I believe this is what you're looking for: https://openexchange.intersystems.com/package/zpm-registry
Yes, just install it on IRIS and you'll have your own registry. Learn more.
Also you might be interested in ZPM Hub project by @Sergei Shutov
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…