@dotinc/ogre 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.tap/processinfo/{6d907291-2f1e-4670-b04c-3a667271c352.json → 31ca0767-30d5-4c1b-aab3-1a456fd51558.json} +6 -6
- package/.tap/processinfo/{4cdc23d3-f7ce-4075-922f-722bf0d687fc.json → 52683acc-91e1-4d54-9715-1cbaf91964a7.json} +6 -6
- package/.tap/processinfo/{8c48e5e9-6eca-4afe-a7b5-04e26b765d29.json → 65d66b6b-127f-4a35-b64a-5b0ac1df524c.json} +22 -22
- package/.tap/processinfo/{7dc6b1af-ac78-47bc-9b62-630e387e8755.json → 77376985-2ddf-4b47-9631-c637b0ecbcdd.json} +6 -6
- package/.tap/processinfo/{0799a6bd-022f-41d1-8be9-6338667041c0.json → 86009ac9-5819-45bf-b53f-0448d4b7ef56.json} +6 -6
- package/.tap/processinfo/{8ca695ae-d038-441a-b4ab-2a242d22d416.json → 9e67801c-9248-4793-994c-a9b4f59ebc4f.json} +6 -6
- package/.tap/processinfo/{98475c49-5ee5-4c2c-b8e2-85bd2af528c9.json → f9080426-4139-4a9a-a59f-ccbfa4cadf7d.json} +13 -13
- package/.tap/test-results/src/branch.test.ts.tap +6 -6
- package/.tap/test-results/src/checkout.test.ts.tap +9 -9
- package/.tap/test-results/src/commit.test.ts.tap +24 -16
- package/.tap/test-results/src/merge.test.ts.tap +2 -2
- package/.tap/test-results/src/repository.test.ts.tap +86 -12
- package/.tap/test-results/src/tag.test.ts.tap +3 -3
- package/.tap/test-results/src/utils.test.ts.tap +7 -7
- package/CHANGELOG.md +13 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +5 -0
- package/lib/repository.d.ts +13 -1
- package/lib/repository.js +34 -20
- package/lib/test.utils.d.ts +1 -4
- package/lib/test.utils.js +2 -1
- package/package.json +2 -2
- package/src/commit.test.ts +18 -0
- package/src/index.ts +2 -0
- package/src/repository.test.ts +146 -1
- package/src/repository.ts +51 -21
- package/src/test.utils.ts +4 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"date": "2024-
|
|
2
|
+
"date": "2024-03-02T18:15:27.342Z",
|
|
3
3
|
"argv": [
|
|
4
4
|
"/opt/hostedtoolcache/node/18.19.1/x64/bin/node",
|
|
5
5
|
"/home/runner/work/ogre/ogre/packages/ogre/src/commit.test.ts"
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
],
|
|
13
13
|
"NODE_OPTIONS": "\"\" \"--require\" \"/home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js\" \"--import=file:///home/runner/work/ogre/ogre/node_modules/@tapjs/processinfo/dist/esm/import.mjs\" --require /home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js",
|
|
14
14
|
"cwd": "/home/runner/work/ogre/ogre/packages/ogre",
|
|
15
|
-
"pid":
|
|
16
|
-
"ppid":
|
|
15
|
+
"pid": 2153,
|
|
16
|
+
"ppid": 2135,
|
|
17
17
|
"parent": null,
|
|
18
|
-
"uuid": "
|
|
18
|
+
"uuid": "31ca0767-30d5-4c1b-aab3-1a456fd51558",
|
|
19
19
|
"files": [
|
|
20
20
|
"/home/runner/work/ogre/ogre/packages/ogre/src/commit.test.ts",
|
|
21
21
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/read-json.js",
|
|
@@ -234,11 +234,11 @@
|
|
|
234
234
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/resolve-package-import.ts"
|
|
235
235
|
]
|
|
236
236
|
},
|
|
237
|
-
"root": "
|
|
237
|
+
"root": "31ca0767-30d5-4c1b-aab3-1a456fd51558",
|
|
238
238
|
"externalID": "src/commit.test.ts",
|
|
239
239
|
"code": 0,
|
|
240
240
|
"signal": null,
|
|
241
|
-
"runtime":
|
|
241
|
+
"runtime": 4185.533508,
|
|
242
242
|
"globalsAdded": [
|
|
243
243
|
"__coverage__"
|
|
244
244
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"date": "2024-
|
|
2
|
+
"date": "2024-03-02T18:15:27.253Z",
|
|
3
3
|
"argv": [
|
|
4
4
|
"/opt/hostedtoolcache/node/18.19.1/x64/bin/node",
|
|
5
5
|
"/home/runner/work/ogre/ogre/packages/ogre/src/branch.test.ts"
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
],
|
|
13
13
|
"NODE_OPTIONS": "\"\" \"--require\" \"/home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js\" \"--import=file:///home/runner/work/ogre/ogre/node_modules/@tapjs/processinfo/dist/esm/import.mjs\" --require /home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js",
|
|
14
14
|
"cwd": "/home/runner/work/ogre/ogre/packages/ogre",
|
|
15
|
-
"pid":
|
|
16
|
-
"ppid":
|
|
15
|
+
"pid": 2146,
|
|
16
|
+
"ppid": 2135,
|
|
17
17
|
"parent": null,
|
|
18
|
-
"uuid": "
|
|
18
|
+
"uuid": "52683acc-91e1-4d54-9715-1cbaf91964a7",
|
|
19
19
|
"files": [
|
|
20
20
|
"/home/runner/work/ogre/ogre/packages/ogre/src/branch.test.ts",
|
|
21
21
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/read-json.js",
|
|
@@ -234,11 +234,11 @@
|
|
|
234
234
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/resolve-package-import.ts"
|
|
235
235
|
]
|
|
236
236
|
},
|
|
237
|
-
"root": "
|
|
237
|
+
"root": "52683acc-91e1-4d54-9715-1cbaf91964a7",
|
|
238
238
|
"externalID": "src/branch.test.ts",
|
|
239
239
|
"code": 0,
|
|
240
240
|
"signal": null,
|
|
241
|
-
"runtime":
|
|
241
|
+
"runtime": 3629.943127,
|
|
242
242
|
"globalsAdded": [
|
|
243
243
|
"__coverage__"
|
|
244
244
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"date": "2024-
|
|
2
|
+
"date": "2024-03-02T18:15:34.893Z",
|
|
3
3
|
"argv": [
|
|
4
4
|
"/opt/hostedtoolcache/node/18.19.1/x64/bin/node",
|
|
5
5
|
"/home/runner/work/ogre/ogre/packages/ogre/src/utils.test.ts"
|
|
@@ -12,27 +12,27 @@
|
|
|
12
12
|
],
|
|
13
13
|
"NODE_OPTIONS": "\"\" \"--require\" \"/home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js\" \"--import=file:///home/runner/work/ogre/ogre/node_modules/@tapjs/processinfo/dist/esm/import.mjs\" --require /home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js",
|
|
14
14
|
"cwd": "/home/runner/work/ogre/ogre/packages/ogre",
|
|
15
|
-
"pid":
|
|
16
|
-
"ppid":
|
|
15
|
+
"pid": 2227,
|
|
16
|
+
"ppid": 2135,
|
|
17
17
|
"parent": null,
|
|
18
|
-
"uuid": "
|
|
18
|
+
"uuid": "65d66b6b-127f-4a35-b64a-5b0ac1df524c",
|
|
19
19
|
"files": [
|
|
20
20
|
"/home/runner/work/ogre/ogre/packages/ogre/src/utils.test.ts",
|
|
21
21
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/find-star-match.js",
|
|
22
|
+
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/dist/mjs/index.js",
|
|
22
23
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/index.js",
|
|
23
24
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/read-json.js",
|
|
24
|
-
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/dist/mjs/index.js",
|
|
25
25
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/index.js",
|
|
26
26
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/glob.js",
|
|
27
27
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/has-magic.js",
|
|
28
28
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/brace-expansion/index.js",
|
|
29
|
+
"/home/runner/work/ogre/ogre/node_modules/path-scurry/dist/mjs/index.js",
|
|
30
|
+
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/pattern.js",
|
|
31
|
+
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/walker.js",
|
|
29
32
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/assert-valid-pattern.js",
|
|
30
33
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/ast.js",
|
|
31
34
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/escape.js",
|
|
32
35
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/unescape.js",
|
|
33
|
-
"/home/runner/work/ogre/ogre/node_modules/path-scurry/dist/mjs/index.js",
|
|
34
|
-
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/pattern.js",
|
|
35
|
-
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/walker.js",
|
|
36
36
|
"/home/runner/work/ogre/ogre/node_modules/minipass/dist/esm/index.js",
|
|
37
37
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/ignore.js",
|
|
38
38
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/processor.js",
|
|
@@ -79,15 +79,15 @@
|
|
|
79
79
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/find-star-match.js": [
|
|
80
80
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/find-star-match.ts"
|
|
81
81
|
],
|
|
82
|
+
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/dist/mjs/index.js": [
|
|
83
|
+
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/src/index.ts"
|
|
84
|
+
],
|
|
82
85
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/index.js": [
|
|
83
86
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/src/index.ts"
|
|
84
87
|
],
|
|
85
88
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/read-json.js": [
|
|
86
89
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/read-json.ts"
|
|
87
90
|
],
|
|
88
|
-
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/dist/mjs/index.js": [
|
|
89
|
-
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/src/index.ts"
|
|
90
|
-
],
|
|
91
91
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/index.js": [
|
|
92
92
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/src/index.ts"
|
|
93
93
|
],
|
|
@@ -97,6 +97,15 @@
|
|
|
97
97
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/has-magic.js": [
|
|
98
98
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/src/has-magic.ts"
|
|
99
99
|
],
|
|
100
|
+
"/home/runner/work/ogre/ogre/node_modules/path-scurry/dist/mjs/index.js": [
|
|
101
|
+
"/home/runner/work/ogre/ogre/node_modules/path-scurry/src/index.ts"
|
|
102
|
+
],
|
|
103
|
+
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/pattern.js": [
|
|
104
|
+
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/src/pattern.ts"
|
|
105
|
+
],
|
|
106
|
+
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/walker.js": [
|
|
107
|
+
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/src/walker.ts"
|
|
108
|
+
],
|
|
100
109
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/assert-valid-pattern.js": [
|
|
101
110
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/src/assert-valid-pattern.ts"
|
|
102
111
|
],
|
|
@@ -109,15 +118,6 @@
|
|
|
109
118
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/unescape.js": [
|
|
110
119
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/src/unescape.ts"
|
|
111
120
|
],
|
|
112
|
-
"/home/runner/work/ogre/ogre/node_modules/path-scurry/dist/mjs/index.js": [
|
|
113
|
-
"/home/runner/work/ogre/ogre/node_modules/path-scurry/src/index.ts"
|
|
114
|
-
],
|
|
115
|
-
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/pattern.js": [
|
|
116
|
-
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/src/pattern.ts"
|
|
117
|
-
],
|
|
118
|
-
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/walker.js": [
|
|
119
|
-
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/src/walker.ts"
|
|
120
|
-
],
|
|
121
121
|
"/home/runner/work/ogre/ogre/node_modules/minipass/dist/esm/index.js": [
|
|
122
122
|
"/home/runner/work/ogre/ogre/node_modules/minipass/src/index.ts"
|
|
123
123
|
],
|
|
@@ -230,11 +230,11 @@
|
|
|
230
230
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/resolve-package-import.ts"
|
|
231
231
|
]
|
|
232
232
|
},
|
|
233
|
-
"root": "
|
|
233
|
+
"root": "65d66b6b-127f-4a35-b64a-5b0ac1df524c",
|
|
234
234
|
"externalID": "src/utils.test.ts",
|
|
235
235
|
"code": 0,
|
|
236
236
|
"signal": null,
|
|
237
|
-
"runtime":
|
|
237
|
+
"runtime": 1061.019492,
|
|
238
238
|
"globalsAdded": [
|
|
239
239
|
"__coverage__"
|
|
240
240
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"date": "2024-
|
|
2
|
+
"date": "2024-03-02T18:15:27.337Z",
|
|
3
3
|
"argv": [
|
|
4
4
|
"/opt/hostedtoolcache/node/18.19.1/x64/bin/node",
|
|
5
5
|
"/home/runner/work/ogre/ogre/packages/ogre/src/checkout.test.ts"
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
],
|
|
13
13
|
"NODE_OPTIONS": "\"\" \"--require\" \"/home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js\" \"--import=file:///home/runner/work/ogre/ogre/node_modules/@tapjs/processinfo/dist/esm/import.mjs\" --require /home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js",
|
|
14
14
|
"cwd": "/home/runner/work/ogre/ogre/packages/ogre",
|
|
15
|
-
"pid":
|
|
16
|
-
"ppid":
|
|
15
|
+
"pid": 2147,
|
|
16
|
+
"ppid": 2135,
|
|
17
17
|
"parent": null,
|
|
18
|
-
"uuid": "
|
|
18
|
+
"uuid": "77376985-2ddf-4b47-9631-c637b0ecbcdd",
|
|
19
19
|
"files": [
|
|
20
20
|
"/home/runner/work/ogre/ogre/packages/ogre/src/checkout.test.ts",
|
|
21
21
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/read-json.js",
|
|
@@ -234,11 +234,11 @@
|
|
|
234
234
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/resolve-package-import.ts"
|
|
235
235
|
]
|
|
236
236
|
},
|
|
237
|
-
"root": "
|
|
237
|
+
"root": "77376985-2ddf-4b47-9631-c637b0ecbcdd",
|
|
238
238
|
"externalID": "src/checkout.test.ts",
|
|
239
239
|
"code": 0,
|
|
240
240
|
"signal": null,
|
|
241
|
-
"runtime":
|
|
241
|
+
"runtime": 3656.585751,
|
|
242
242
|
"globalsAdded": [
|
|
243
243
|
"__coverage__"
|
|
244
244
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"date": "2024-
|
|
2
|
+
"date": "2024-03-02T18:15:32.587Z",
|
|
3
3
|
"argv": [
|
|
4
4
|
"/opt/hostedtoolcache/node/18.19.1/x64/bin/node",
|
|
5
5
|
"/home/runner/work/ogre/ogre/packages/ogre/src/repository.test.ts"
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
],
|
|
13
13
|
"NODE_OPTIONS": "\"\" \"--require\" \"/home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js\" \"--import=file:///home/runner/work/ogre/ogre/node_modules/@tapjs/processinfo/dist/esm/import.mjs\" --require /home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js",
|
|
14
14
|
"cwd": "/home/runner/work/ogre/ogre/packages/ogre",
|
|
15
|
-
"pid":
|
|
16
|
-
"ppid":
|
|
15
|
+
"pid": 2191,
|
|
16
|
+
"ppid": 2135,
|
|
17
17
|
"parent": null,
|
|
18
|
-
"uuid": "
|
|
18
|
+
"uuid": "86009ac9-5819-45bf-b53f-0448d4b7ef56",
|
|
19
19
|
"files": [
|
|
20
20
|
"/home/runner/work/ogre/ogre/packages/ogre/src/repository.test.ts",
|
|
21
21
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/read-json.js",
|
|
@@ -234,11 +234,11 @@
|
|
|
234
234
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/resolve-package-import.ts"
|
|
235
235
|
]
|
|
236
236
|
},
|
|
237
|
-
"root": "
|
|
237
|
+
"root": "86009ac9-5819-45bf-b53f-0448d4b7ef56",
|
|
238
238
|
"externalID": "src/repository.test.ts",
|
|
239
239
|
"code": 0,
|
|
240
240
|
"signal": null,
|
|
241
|
-
"runtime":
|
|
241
|
+
"runtime": 2793.106901,
|
|
242
242
|
"globalsAdded": [
|
|
243
243
|
"__coverage__"
|
|
244
244
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"date": "2024-
|
|
2
|
+
"date": "2024-03-02T18:15:32.955Z",
|
|
3
3
|
"argv": [
|
|
4
4
|
"/opt/hostedtoolcache/node/18.19.1/x64/bin/node",
|
|
5
5
|
"/home/runner/work/ogre/ogre/packages/ogre/src/tag.test.ts"
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
],
|
|
13
13
|
"NODE_OPTIONS": "\"\" \"--require\" \"/home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js\" \"--import=file:///home/runner/work/ogre/ogre/node_modules/@tapjs/processinfo/dist/esm/import.mjs\" --require /home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js",
|
|
14
14
|
"cwd": "/home/runner/work/ogre/ogre/packages/ogre",
|
|
15
|
-
"pid":
|
|
16
|
-
"ppid":
|
|
15
|
+
"pid": 2214,
|
|
16
|
+
"ppid": 2135,
|
|
17
17
|
"parent": null,
|
|
18
|
-
"uuid": "
|
|
18
|
+
"uuid": "9e67801c-9248-4793-994c-a9b4f59ebc4f",
|
|
19
19
|
"files": [
|
|
20
20
|
"/home/runner/work/ogre/ogre/packages/ogre/src/tag.test.ts",
|
|
21
21
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/read-json.js",
|
|
@@ -234,11 +234,11 @@
|
|
|
234
234
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/resolve-package-import.ts"
|
|
235
235
|
]
|
|
236
236
|
},
|
|
237
|
-
"root": "
|
|
237
|
+
"root": "9e67801c-9248-4793-994c-a9b4f59ebc4f",
|
|
238
238
|
"externalID": "src/tag.test.ts",
|
|
239
239
|
"code": 0,
|
|
240
240
|
"signal": null,
|
|
241
|
-
"runtime":
|
|
241
|
+
"runtime": 1492.377217,
|
|
242
242
|
"globalsAdded": [
|
|
243
243
|
"__coverage__"
|
|
244
244
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"date": "2024-
|
|
2
|
+
"date": "2024-03-02T18:15:32.428Z",
|
|
3
3
|
"argv": [
|
|
4
4
|
"/opt/hostedtoolcache/node/18.19.1/x64/bin/node",
|
|
5
5
|
"/home/runner/work/ogre/ogre/packages/ogre/src/merge.test.ts"
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
],
|
|
13
13
|
"NODE_OPTIONS": "\"\" \"--require\" \"/home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js\" \"--import=file:///home/runner/work/ogre/ogre/node_modules/@tapjs/processinfo/dist/esm/import.mjs\" --require /home/runner/work/ogre/ogre/node_modules/node-preload/preload-path/node-preload.js",
|
|
14
14
|
"cwd": "/home/runner/work/ogre/ogre/packages/ogre",
|
|
15
|
-
"pid":
|
|
16
|
-
"ppid":
|
|
15
|
+
"pid": 2184,
|
|
16
|
+
"ppid": 2135,
|
|
17
17
|
"parent": null,
|
|
18
|
-
"uuid": "
|
|
18
|
+
"uuid": "f9080426-4139-4a9a-a59f-ccbfa4cadf7d",
|
|
19
19
|
"files": [
|
|
20
20
|
"/home/runner/work/ogre/ogre/packages/ogre/src/merge.test.ts",
|
|
21
|
-
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/dist/mjs/index.js",
|
|
22
21
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/read-json.js",
|
|
23
|
-
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/index.js",
|
|
24
22
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/find-star-match.js",
|
|
23
|
+
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/index.js",
|
|
24
|
+
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/dist/mjs/index.js",
|
|
25
25
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/index.js",
|
|
26
26
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/glob.js",
|
|
27
27
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/has-magic.js",
|
|
@@ -80,17 +80,17 @@
|
|
|
80
80
|
"/home/runner/work/ogre/ogre/packages/ogre/src/ref.ts"
|
|
81
81
|
],
|
|
82
82
|
"sources": {
|
|
83
|
-
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/dist/mjs/index.js": [
|
|
84
|
-
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/src/index.ts"
|
|
85
|
-
],
|
|
86
83
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/read-json.js": [
|
|
87
84
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/read-json.ts"
|
|
88
85
|
],
|
|
86
|
+
"/home/runner/work/ogre/ogre/node_modules/resolve-import/dist/esm/find-star-match.js": [
|
|
87
|
+
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/find-star-match.ts"
|
|
88
|
+
],
|
|
89
89
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/dist/esm/index.js": [
|
|
90
90
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/glob/src/index.ts"
|
|
91
91
|
],
|
|
92
|
-
"/home/runner/work/ogre/ogre/node_modules/
|
|
93
|
-
"/home/runner/work/ogre/ogre/node_modules/
|
|
92
|
+
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/dist/mjs/index.js": [
|
|
93
|
+
"/home/runner/work/ogre/ogre/node_modules/walk-up-path/src/index.ts"
|
|
94
94
|
],
|
|
95
95
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/dist/mjs/index.js": [
|
|
96
96
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/node_modules/minimatch/src/index.ts"
|
|
@@ -234,11 +234,11 @@
|
|
|
234
234
|
"/home/runner/work/ogre/ogre/node_modules/resolve-import/src/resolve-package-import.ts"
|
|
235
235
|
]
|
|
236
236
|
},
|
|
237
|
-
"root": "
|
|
237
|
+
"root": "f9080426-4139-4a9a-a59f-ccbfa4cadf7d",
|
|
238
238
|
"externalID": "src/merge.test.ts",
|
|
239
239
|
"code": 0,
|
|
240
240
|
"signal": null,
|
|
241
|
-
"runtime":
|
|
241
|
+
"runtime": 1575.849545,
|
|
242
242
|
"globalsAdded": [
|
|
243
243
|
"__coverage__"
|
|
244
244
|
]
|
|
@@ -2,39 +2,39 @@ TAP version 14
|
|
|
2
2
|
# Subtest: current branch on empty repo is HEAD
|
|
3
3
|
ok 1 - invalid current branch
|
|
4
4
|
1..1
|
|
5
|
-
ok 1 - current branch on empty repo is HEAD # time=
|
|
5
|
+
ok 1 - current branch on empty repo is HEAD # time=42.295ms
|
|
6
6
|
|
|
7
7
|
# Subtest: first commit goes onto default 'main' branch
|
|
8
8
|
ok 1 - invalid current branch
|
|
9
9
|
ok 2 - invalid HEAD
|
|
10
10
|
1..2
|
|
11
|
-
ok 2 - first commit goes onto default 'main' branch # time=
|
|
11
|
+
ok 2 - first commit goes onto default 'main' branch # time=21.773ms
|
|
12
12
|
|
|
13
13
|
# Subtest: fails to create a branch with empty repo
|
|
14
14
|
ok 1 - incorrect \# of commits
|
|
15
15
|
ok 2 - new branch w/ incorrect \# of changelog entries
|
|
16
16
|
ok 3 - expected to throw
|
|
17
17
|
1..3
|
|
18
|
-
ok 3 - fails to create a branch with empty repo # time=
|
|
18
|
+
ok 3 - fails to create a branch with empty repo # time=4.497ms
|
|
19
19
|
|
|
20
20
|
# Subtest: checkout new branch with empty repo
|
|
21
21
|
ok 1 - HEAD did not move to new branch
|
|
22
22
|
ok 2 - main should not be pointing to anything
|
|
23
23
|
ok 3 - new_feature should not be pointing to anything
|
|
24
24
|
1..3
|
|
25
|
-
ok 4 - checkout new branch with empty repo # time=
|
|
25
|
+
ok 4 - checkout new branch with empty repo # time=1.259ms
|
|
26
26
|
|
|
27
27
|
# Subtest: creating a valid branch on a baseline
|
|
28
28
|
ok 1 - invalid branch ref created
|
|
29
29
|
ok 2 - new branch is pointing to wrong commit
|
|
30
30
|
1..2
|
|
31
|
-
ok 5 - creating a valid branch on a baseline # time=
|
|
31
|
+
ok 5 - creating a valid branch on a baseline # time=2.646ms
|
|
32
32
|
|
|
33
33
|
# Subtest: cannot create new branch with invalid name
|
|
34
34
|
ok 1 - expected to throw
|
|
35
35
|
ok 2 - expected to throw
|
|
36
36
|
ok 3 - expected to throw
|
|
37
37
|
1..3
|
|
38
|
-
ok 6 - cannot create new branch with invalid name # time=2.
|
|
38
|
+
ok 6 - cannot create new branch with invalid name # time=2.656ms
|
|
39
39
|
|
|
40
40
|
1..6
|
|
@@ -4,19 +4,19 @@ TAP version 14
|
|
|
4
4
|
ok 2 - incorrect \# of commits
|
|
5
5
|
ok 3 - points to wrong commit
|
|
6
6
|
ok 4 - repo is not in detached state
|
|
7
|
-
ok 5 - has a nested object when it shouldn't: {"uuid":"
|
|
7
|
+
ok 5 - has a nested object when it shouldn't: {"uuid":"4bd29857-f8d1-459a-9e59-bf5a79bfae75","name":"my first process template","description":"now we have a description","nested":[]}
|
|
8
8
|
1..5
|
|
9
|
-
ok 1 - checkout prev commit # time=
|
|
9
|
+
ok 1 - checkout prev commit # time=100.969ms
|
|
10
10
|
|
|
11
11
|
# Subtest: checkout new branch with simple name
|
|
12
12
|
ok 1 - HEAD is not moved to target branch
|
|
13
13
|
1..1
|
|
14
|
-
ok 2 - checkout new branch with simple name # time=3.
|
|
14
|
+
ok 2 - checkout new branch with simple name # time=3.328ms
|
|
15
15
|
|
|
16
16
|
# Subtest: checkout new branch with full ref name
|
|
17
17
|
ok 1 - HEAD is not moved to target branch
|
|
18
18
|
1..1
|
|
19
|
-
ok 3 - checkout new branch with full ref name # time=1.
|
|
19
|
+
ok 3 - checkout new branch with full ref name # time=1.613ms
|
|
20
20
|
|
|
21
21
|
# Subtest: checkout commit which has two refs pointing leaves HEAD detached
|
|
22
22
|
ok 1 - main does not point to commit
|
|
@@ -24,29 +24,29 @@ ok 3 - checkout new branch with full ref name # time=1.562ms
|
|
|
24
24
|
ok 3 - HEAD is not detached at commit
|
|
25
25
|
ok 4 - HEAD is not pointing to commit
|
|
26
26
|
1..4
|
|
27
|
-
ok 4 - checkout commit which has two refs pointing leaves HEAD detached # time=
|
|
27
|
+
ok 4 - checkout commit which has two refs pointing leaves HEAD detached # time=12.076ms
|
|
28
28
|
|
|
29
29
|
# Subtest: checkout new branch moves head to new branch
|
|
30
30
|
ok 1 - HEAD is not moved to target branch
|
|
31
31
|
1..1
|
|
32
|
-
ok 5 - checkout new branch moves head to new branch # time=
|
|
32
|
+
ok 5 - checkout new branch moves head to new branch # time=2.379ms
|
|
33
33
|
|
|
34
34
|
# Subtest: checkout and create new branch on empty main
|
|
35
35
|
ok 1 - HEAD should point to empty branch
|
|
36
36
|
ok 2 - branch still should be empty
|
|
37
37
|
1..2
|
|
38
|
-
ok 6 - checkout and create new branch on empty main # time=
|
|
38
|
+
ok 6 - checkout and create new branch on empty main # time=0.693ms
|
|
39
39
|
|
|
40
40
|
# Subtest: checkout and create new branch with at least 1 commit
|
|
41
41
|
ok 1 - HEAD should point to new branch
|
|
42
42
|
ok 2 - branch is not pointing to last HEAD commit
|
|
43
43
|
1..2
|
|
44
|
-
ok 7 - checkout and create new branch with at least 1 commit # time=
|
|
44
|
+
ok 7 - checkout and create new branch with at least 1 commit # time=2.326ms
|
|
45
45
|
|
|
46
46
|
# Subtest: replacing default branch on empty master removes main
|
|
47
47
|
ok 1 - new branch w/ incorrect \# of changelog entries
|
|
48
48
|
ok 2 - expected to throw
|
|
49
49
|
1..2
|
|
50
|
-
ok 8 - replacing default branch on empty master removes main # time=
|
|
50
|
+
ok 8 - replacing default branch on empty master removes main # time=17.668ms
|
|
51
51
|
|
|
52
52
|
1..8
|
|
@@ -3,44 +3,52 @@ TAP version 14
|
|
|
3
3
|
ok 1 - has changelog entries
|
|
4
4
|
ok 2 - incorrect \# of commits
|
|
5
5
|
1..2
|
|
6
|
-
ok 1 - baseline with 1 commit and zero changelog entries # time=
|
|
6
|
+
ok 1 - baseline with 1 commit and zero changelog entries # time=259.898ms
|
|
7
7
|
|
|
8
8
|
# Subtest: head points to main
|
|
9
9
|
ok 1 - head not pointing where it should
|
|
10
10
|
1..1
|
|
11
|
-
ok 2 - head points to main # time=
|
|
11
|
+
ok 2 - head points to main # time=0.959ms
|
|
12
12
|
|
|
13
13
|
# Subtest: no commit without changes
|
|
14
14
|
ok 1 - expected to reject
|
|
15
15
|
1..1
|
|
16
|
-
ok 3 - no commit without changes # time=
|
|
16
|
+
ok 3 - no commit without changes # time=47.249ms
|
|
17
17
|
|
|
18
18
|
# Subtest: no commit without changes after recent commit
|
|
19
19
|
ok 1 - expected to reject
|
|
20
20
|
1..1
|
|
21
|
-
ok 4 - no commit without changes after recent commit # time=
|
|
21
|
+
ok 4 - no commit without changes after recent commit # time=80.988ms
|
|
22
|
+
|
|
23
|
+
# Subtest: overwrite nested array changes are recognized
|
|
24
|
+
1..0
|
|
25
|
+
ok 5 - overwrite nested array changes are recognized # time=14.326ms
|
|
26
|
+
|
|
27
|
+
# Subtest: change of nested array element is recognized
|
|
28
|
+
1..0
|
|
29
|
+
ok 6 - change of nested array element is recognized # time=2.857ms
|
|
22
30
|
|
|
23
31
|
# Subtest: treeHash of commit is matching content
|
|
24
32
|
ok 1 - should be equal
|
|
25
33
|
ok 2 - tree hash mismatch
|
|
26
34
|
1..2
|
|
27
|
-
ok
|
|
35
|
+
ok 7 - treeHash of commit is matching content # time=17.511ms
|
|
28
36
|
|
|
29
37
|
# Subtest: no commit --amend without commit
|
|
30
38
|
ok 1 - expected to reject
|
|
31
39
|
1..1
|
|
32
|
-
ok
|
|
40
|
+
ok 8 - no commit --amend without commit # time=2.482ms
|
|
33
41
|
|
|
34
42
|
# Subtest: main moves to recent commit
|
|
35
43
|
ok 1 - head does not point to recent commit
|
|
36
44
|
1..1
|
|
37
|
-
ok
|
|
45
|
+
ok 9 - main moves to recent commit # time=15.553ms
|
|
38
46
|
|
|
39
47
|
# Subtest: two commits with 3 changes
|
|
40
48
|
ok 1 - incorrect \# of changelog entries
|
|
41
49
|
ok 2 - incorrect \# of commits
|
|
42
50
|
1..2
|
|
43
|
-
ok
|
|
51
|
+
ok 10 - two commits with 3 changes # time=4.292ms
|
|
44
52
|
|
|
45
53
|
# Subtest: array push double-change, 6 changes, 3 commits
|
|
46
54
|
ok 1 - incorrect \# of changelog entries
|
|
@@ -48,7 +56,7 @@ ok 8 - two commits with 3 changes # time=29.411ms
|
|
|
48
56
|
ok 3 - \#incorrect \# of changes in commit\#1
|
|
49
57
|
ok 4 - \#incorrect \# of changes in commit\#2
|
|
50
58
|
1..4
|
|
51
|
-
ok
|
|
59
|
+
ok 11 - array push double-change, 6 changes, 3 commits # time=9.376ms
|
|
52
60
|
|
|
53
61
|
# Subtest: all refs OK, when committing on new branch while main is empty main
|
|
54
62
|
ok 1 - main should not point to a commit
|
|
@@ -56,7 +64,7 @@ ok 9 - array push double-change, 6 changes, 3 commits # time=5.461ms
|
|
|
56
64
|
ok 3 - branch should now be visible
|
|
57
65
|
ok 4 - HEAD is pointing to wrong branch
|
|
58
66
|
1..4
|
|
59
|
-
ok
|
|
67
|
+
ok 12 - all refs OK, when committing on new branch while main is empty main # time=3.231ms
|
|
60
68
|
|
|
61
69
|
# Subtest: commit --amend changes hash on content change
|
|
62
70
|
ok 1 - hash should have changed
|
|
@@ -66,7 +74,7 @@ ok 10 - all refs OK, when committing on new branch while main is empty main # ti
|
|
|
66
74
|
ok 5 - we are on the wrong branch
|
|
67
75
|
ok 6 - main should point to changed commit hash
|
|
68
76
|
1..6
|
|
69
|
-
ok
|
|
77
|
+
ok 13 - commit --amend changes hash on content change # time=11.134ms
|
|
70
78
|
|
|
71
79
|
# Subtest: commit --amend changes hash on message change
|
|
72
80
|
ok 1 - hash should have changed
|
|
@@ -76,7 +84,7 @@ ok 11 - commit --amend changes hash on content change # time=32.592ms
|
|
|
76
84
|
ok 5 - we are on the wrong branch
|
|
77
85
|
ok 6 - main should point to changed commit hash
|
|
78
86
|
1..6
|
|
79
|
-
ok
|
|
87
|
+
ok 14 - commit --amend changes hash on message change # time=9.7ms
|
|
80
88
|
|
|
81
89
|
# Subtest: commit at detached HEAD does not affect main, but moves head
|
|
82
90
|
ok 1 - HEAD did not move to commit
|
|
@@ -85,12 +93,12 @@ ok 12 - commit --amend changes hash on message change # time=2.291ms
|
|
|
85
93
|
ok 4 - HEAD did not move to commit
|
|
86
94
|
ok 5 - main branch did not stay at last commit
|
|
87
95
|
1..5
|
|
88
|
-
ok
|
|
96
|
+
ok 15 - commit at detached HEAD does not affect main, but moves head # time=64.266ms
|
|
89
97
|
|
|
90
98
|
# Subtest: commit at detached HEAD saved to a branch
|
|
91
99
|
ok 1 - savepoint branch should point to last detached commit
|
|
92
100
|
1..1
|
|
93
|
-
ok
|
|
101
|
+
ok 16 - commit at detached HEAD saved to a branch # time=2.969ms
|
|
94
102
|
|
|
95
103
|
# Subtest: commit --amend changes hash on message change even in detached HEAD
|
|
96
104
|
ok 1 - hash should have changed
|
|
@@ -100,6 +108,6 @@ ok 14 - commit at detached HEAD saved to a branch # time=6.458ms
|
|
|
100
108
|
ok 5 - HEAD is not pointing to detached commit
|
|
101
109
|
ok 6 - main should point to changed commit hash
|
|
102
110
|
1..6
|
|
103
|
-
ok
|
|
111
|
+
ok 17 - commit --amend changes hash on message change even in detached HEAD # time=12.585ms
|
|
104
112
|
|
|
105
|
-
1..
|
|
113
|
+
1..17
|
|
@@ -2,7 +2,7 @@ TAP version 14
|
|
|
2
2
|
# Subtest: merge with no commit fails
|
|
3
3
|
ok 1 - expected to throw
|
|
4
4
|
1..1
|
|
5
|
-
ok 1 - merge with no commit fails # time=
|
|
5
|
+
ok 1 - merge with no commit fails # time=29.662ms
|
|
6
6
|
|
|
7
7
|
# Subtest: merge fast-forward
|
|
8
8
|
ok 1 - HEAD not pointing to new_branch
|
|
@@ -11,6 +11,6 @@ ok 1 - merge with no commit fails # time=22.492ms
|
|
|
11
11
|
ok 4 - master is not at expected commit
|
|
12
12
|
ok 5 - fast-forward failed, superfluous commit detected
|
|
13
13
|
1..5
|
|
14
|
-
ok 2 - merge fast-forward # time=
|
|
14
|
+
ok 2 - merge fast-forward # time=9.268ms
|
|
15
15
|
|
|
16
16
|
1..2
|