Evgeny Shvarov · Jun 6, 2023 go to post

Package Manager is going to be a part of a product in near future, but right now it is not a part and can be installed with the following command:

sr=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config"dr.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c")

Caution!  This is for IRIS only.

The package manager.

It has documentation, a bunch of videos, and there is a tag here.

Evgeny Shvarov · Jun 6, 2023 go to post

I'm not answering your question, but just as a side note - with using Docker as a dev environment you don't bother with installing of Ensemble or IRIS at all. You can switch IRIS version at any moment if something went wrong or you need a fresher version.

Evgeny Shvarov · Jun 5, 2023 go to post

In case of IRIS Community Edition just download the newest desktop version or pull the latest docker image - both will contain the refreshed license

Evgeny Shvarov · Jun 5, 2023 go to post

Hi @Guillaume Rongier !

Well explained. I just hope the UI be more intuitive - this pays a lot in the future for the better adoption of the tool.

I understand that there are not many letters in the alphabet and it can go to the end quickly. In this case I'd keep with what you think on one-letters and also introduce synonyms of fulltext with double --.e.g.

--import for import,

--export for export and 

--status for status.

This could help with readability in long scripts with cli or with documentation.

Evgeny Shvarov · May 28, 2023 go to post

Tried with the project where I have ObjectScript Unittests. I call them manually with IPM and automatically with github workflow.

Testing manager is installed, I'm on a class with unit test.

Not sure though how it works?

Evgeny Shvarov · May 27, 2023 go to post

If I can guess you need export several classes/routines/macro in one file e.g. to deploy to another server.

I'd recommend to use InterSystems Package Manager for it

Evgeny Shvarov · May 27, 2023 go to post

And thanks again! I went through all the steps and it's working fine!

BTW, @Yuri Marx , the part for creating registry, building and pushing docker image into it could be omitted by using Github Registry.

Github provides a free of charge registry for public images. Everyone can create a public image automatically just by adding one workflow file into the repository, .e.g. this one. And this action builds and publishes x86 image to Github Registry in a form: ghcr.io/account_name/repo_name:tag. for iris-rest-api-template repository the image is:

ghcr.io/intersystems-community/iris-rest-api-template:latest

So with AWS we can start from cluster creation and use this image in a task.

Tested it now - works fine!

Evgeny Shvarov · May 27, 2023 go to post

Also, can I have a storage for IRIS database that will not be deleted with every container restart?

Evgeny Shvarov · May 27, 2023 go to post

Also, is it possible to start provisioning automatically with every commit to a master branch of a github repo?

Evgeny Shvarov · May 25, 2023 go to post

Useful article, @Hiroshi Sato san! For source control I recommend $system.OBJ.ExportUDL() method to export in CLS, MAC, INC formats. $system.OBJ.Load() and $system.OBJ.LoadDir() methods support both XML and UDL formats

Evgeny Shvarov · May 25, 2023 go to post

Hi @Larry Overkamp !

You can use $system.OBJ.ExportUDL() to export in CLS or MAC or INC.

and $System.OBJ.Load or $system.OBJ.LoadDir() to import CLS or XML or MAC.

As for transferring code between systems I'd recommend to maintain code in repositories (e.g. git) and deploy code via InterSystems Package Manager.

Evgeny Shvarov · May 23, 2023 go to post

Agree! But the releases are published rare here. There is 2.8 release now available: what are the features introduced in 2.7 and 2.8? @Raj Singh 
 

Evgeny Shvarov · May 23, 2023 go to post

Don't agree. Why be ashamed of asking questions at all? :) We don't know everything. WRC doesn't know everything. 

Evgeny Shvarov · May 22, 2023 go to post

Right, I'm not suggesting to remove it from there. But if you publish on Open Exchange it will let developers from InterSystems ecosystem it will help some developers to notice it.

Evgeny Shvarov · May 20, 2023 go to post

Yes, this will work. But you also need to +1 for the "top" of the array to indicate the amount of params.

I'd do the following:

set arr($I(arr))=value

in this case $I will increment the value at arr as arr=arr+1, and return it to let you enter the value of a new param