zpm-shields
Service for displaying version numbers of ZPM and OEX registry in badges.
I always wanted to know what version of the project is in the repository without looking at the module.xmp and how it relates to the public repository version. Is it time to update the release or not?
For public services GitHub.com and pm.community.intersystems.com, you can use shields.io service. And for private local networks, you can use my project zpm-shields
.
Installation with ZPM
If ZPM the current instance is not installed, then in one line you can install the latest version of ZPM.
zn "%SYS" d ##class(Security.SSLConfigs).Create("z") s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="z" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")
If ZPM is installed, then zpm-shields
can be set with the command
zpm:USER>install zpm-shields
Installation with Docker
Prerequisites
Make sure you have git and Docker desktop installed.
Installation
Clone/git pull the repo into any local directory
git clone https://github.com/SergeyMi37/appmsw-zpm-shields
Open the terminal in this directory and run:
docker-compose build
- Run the IRIS container with your project:
docker-compose up -d
After installation, you will have a service to which you need to provide access without authentication.
Using these links you can get a svg file that can be inserted into README.MD
![Repo](http://localhost:52773/zpm-shields/repo/mode?module=https:%2F%2Fgithub.com%2FSergeyMi37%2Fzapm&color=blue)
![Registry](http://localhost:52773/zpm-shields/registry/mode?project=appmsw-dbdeploy&color=gold)
![Repo+Registry](http://localhost:52773/zpm-shields/both/mode?module=sergeymi37%2Fappmsw-dbdeploy&project=appmsw-dbdeploy&color=FFA07A)
You can forward your local address outside with the ngrok
utility for test.