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
Copy file name to clipboardExpand all lines: README.md
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# ISC-DEV
2
-
Export/Import source code (classes, macro, routines) and DeepSee artefacts(pivots, dashboards) from and to InterSystems Data Platform products(Caché, Ensemble, IRIS). Support versions from 2016.2
2
+
Export/Import source code (classes, macro, routines) and DeepSee artefacts(pivots, dashboards, termlists, pivot variables, shared measures) from and to InterSystems Data Platform products(Caché, Ensemble, IRIS). Support versions from 2016.2
3
3
4
4
# Installation
5
5
Download code and run
6
6
```
7
-
set dir="/dir/cache-udl
8
-
do $System.OBJ.ImportDir(dir,"*.xml;*.cls;*.mac;*.int;*.inc;*.dfi","ck",,1)
7
+
set dir="/your_download_dir/isc-dev
8
+
do $System.OBJ.ImportDir(dir,"*.xml;*.cls;*.mac;*.int;*.inc;*.dfi","cuk",,1)
9
9
```
10
10
or
11
11
import the [release](https://github.com/intersystems-ru/cache-udl/releases) to the namespace.
@@ -31,10 +31,16 @@ NS> d ##class(sc.code).import()
31
31
32
32
Introduce isc.json file in the source root directory with settings for the code mask, for the name of the project and for get the patch form local git or GitHub. e.g.
33
33
```
34
-
"git": 0 - files diff from local git
34
+
"git": 0 - files diff from local git (default)
35
35
"git": 1 - files diff from GitHub
36
+
use below params in case of "git" : 1
37
+
"owner": - name of the github e.g. intersystems-community
38
+
"repository": - name of the repo e.g. dc-analytics
39
+
"user": - user and password for private github repo
40
+
"password":
36
41
```
37
42
43
+
38
44
```
39
45
isc.json
40
46
"compileList": "Classes*.INC,classes*.CLS,*.DFI",
@@ -65,6 +71,9 @@ NS> s commitTo = 5
65
71
NS> d ##class(sc.code).patch(filename,commitFrom,commitTo)
66
72
```
67
73
74
+
## Known issues
75
+
Be careful with import termlists, pivot variables and shared measures. In current implementation imported artefacts replace those you have in the target namespace. It happens because the utility uses standard global import for globals in XML with $System.OBJ.Import which kills the global first and imports the new one.
0 commit comments