You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZPM Registry is a a server part of ObjectScript Package Manager.
5
5
@@ -13,26 +13,59 @@ You can use ZPM Registry project to build your own private registry to have the
13
13
ZPM Registry works only on IRIS and IRIS For Health, community and Enterprise versions.
14
14
15
15
# Installation
16
-
## Usual Installation
17
-
Import classes from cls and run Installer from Root
16
+
17
+
## ZPM Installation
18
+
`install zpm-registry`
18
19
19
20
## Docker Installation
20
21
Build docker container
21
22
22
-
## ZPM Installation
23
-
`install zpm-registry`
23
+
## Usual Installation
24
+
Import classes from cls and run Installer from Root
24
25
25
26
# Usage
26
27
ZPM Registry exposes REST API, which perfoms listing, publising and deployment services. You can examine the REST in the source class [Registry.cls](https://github.com/intersystems-community/zpm-registry/blob/master/src/cls/ZPM/Registry.cls) or via Swagger
27
28
28
-
Note, when you publish the repo via API you need to provide the GIthub URL of the repo, which will contain module.xml.
29
+
Note, when you publish the repo via API you need to provide the Github URL of the repo, which will contain module.xml.
29
30
And published package will remember the repository and will not allow to publish/update package with the same name but with another repository.
30
31
31
32
32
33
## Working With Your Registry From ZPM Client
33
34
You can setup ZPM client to work with your registry with the following command:
To configure the registry, utilize the zpm-registry.yaml file located within the IRIS installation folder. Retrieve the IRIS directory in which the file should reside using the following command: `write ##class(%SYSTEM.Util).InstallDirectory()`.
41
+
42
+
43
+
## Proxy-Registry
44
+
Starting from version 1.1.2, zpm-registry includes the Proxy feature.
45
+
This allows the IPM client to use only your private registry and install packages from your private registry, all the while retaining the capability to install packages from an external registry (Uplink).
46
+
47
+
External registries that your local registry can access are called Uplinks. You can define one or more external registries. You can also list which packages from the Uplink registry should be available.
48
+
49
+
These settings are set in the `zpm-registry.yaml` file.
50
+
51
+
Settings file example:
52
+
```
53
+
uplinks:
54
+
pm:
55
+
url: https://pm.community.intersystems.com/
56
+
allow_packages: dsw,zpm*,?u*
57
+
```
58
+
59
+
For more information, see https://community.intersystems.com/post/new-zpm-registry-feature-%E2%80%93-proxy-registry
60
+
61
+
62
+
## Delete packages
63
+
Starting from version 0.7, IPM introduces support for the "unpublish" command, which facilitates the removal of a package that was previously published.
64
+
In order for this command to be executed, it is necessary to explicitly allow the removal of packages on the side of the registry. To do this, add the line "delete-enabled: true" to the settings file `zpm-registry.yaml`
0 commit comments