git-digger 1.5.28 → 1.5.30
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/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1325 -1392
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/kotlin/bin/digger +0 -0
- package/kotlin/clikt-clikt-mordant.js +90 -92
- package/kotlin/clikt-clikt-mordant.js.map +1 -1
- package/kotlin/clikt-clikt.js +2018 -2075
- package/kotlin/clikt-clikt.js.map +1 -1
- package/kotlin/colormath-root-colormath.js +473 -492
- package/kotlin/colormath-root-colormath.js.map +1 -1
- package/kotlin/command-line-tools-digger-cli.js +84 -88
- package/kotlin/command-line-tools-digger-cli.js.map +1 -1
- package/kotlin/kotlin-kotlin-stdlib.js +1443 -1652
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +862 -873
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +337 -314
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1543 -1646
- package/kotlin/mordant-mordant.js.map +1 -1
- package/kotlin/tools-cli-tools.js +1 -1
- package/kotlin/tools-cli-tools.js.map +1 -1
- package/kotlin/tools-digger-core.js +199 -199
- package/kotlin/tools-digger-core.js.map +1 -1
- package/kotlin/tools-digger-json.js +114 -113
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +55 -55
- package/kotlin/tools-git-adapter.js +71 -71
- package/kotlin/tools-git-adapter.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
var Unit_instance = kotlin_kotlin.$_$.h3;
|
|
8
8
|
var collectionSizeOrDefault = kotlin_kotlin.$_$.e4;
|
|
9
9
|
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
|
|
10
|
-
var to = kotlin_kotlin.$_$.
|
|
10
|
+
var to = kotlin_kotlin.$_$.xc;
|
|
11
11
|
var firstOrNull = kotlin_kotlin.$_$.p4;
|
|
12
|
-
var Pair = kotlin_kotlin.$_$.
|
|
12
|
+
var Pair = kotlin_kotlin.$_$.wb;
|
|
13
13
|
var listOf = kotlin_kotlin.$_$.g5;
|
|
14
14
|
var checkIndexOverflow = kotlin_kotlin.$_$.d4;
|
|
15
15
|
var getOrNull = kotlin_kotlin.$_$.t4;
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
var emptyList = kotlin_kotlin.$_$.m4;
|
|
18
18
|
var plus_0 = kotlin_kotlin.$_$.s5;
|
|
19
19
|
var last = kotlin_kotlin.$_$.d5;
|
|
20
|
-
var toString = kotlin_kotlin.$_$.
|
|
21
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
20
|
+
var toString = kotlin_kotlin.$_$.s8;
|
|
21
|
+
var toString_0 = kotlin_kotlin.$_$.wc;
|
|
22
22
|
var protoOf = kotlin_kotlin.$_$.p8;
|
|
23
23
|
var getStringHashCode = kotlin_kotlin.$_$.o7;
|
|
24
24
|
var hashCode = kotlin_kotlin.$_$.p7;
|
|
25
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
25
|
+
var THROW_CCE = kotlin_kotlin.$_$.zb;
|
|
26
26
|
var equals = kotlin_kotlin.$_$.j7;
|
|
27
27
|
var initMetadataForClass = kotlin_kotlin.$_$.q7;
|
|
28
28
|
var lastOrNull = kotlin_kotlin.$_$.c5;
|
|
@@ -41,26 +41,26 @@
|
|
|
41
41
|
var RegexOption_IGNORE_CASE_getInstance = kotlin_kotlin.$_$.h;
|
|
42
42
|
var Regex_init_$Create$_0 = kotlin_kotlin.$_$.u;
|
|
43
43
|
var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
44
|
-
var contains = kotlin_kotlin.$_$.
|
|
44
|
+
var contains = kotlin_kotlin.$_$.z9;
|
|
45
45
|
var mapOf = kotlin_kotlin.$_$.j5;
|
|
46
46
|
var RegexOption_MULTILINE_getInstance = kotlin_kotlin.$_$.i;
|
|
47
47
|
var setOf = kotlin_kotlin.$_$.x5;
|
|
48
|
-
var Regex = kotlin_kotlin.$_$.
|
|
49
|
-
var firstOrNull_0 = kotlin_kotlin.$_$.
|
|
50
|
-
var lastIndexOf = kotlin_kotlin.$_$.
|
|
51
|
-
var Char = kotlin_kotlin.$_$.
|
|
48
|
+
var Regex = kotlin_kotlin.$_$.w9;
|
|
49
|
+
var firstOrNull_0 = kotlin_kotlin.$_$.ea;
|
|
50
|
+
var lastIndexOf = kotlin_kotlin.$_$.na;
|
|
51
|
+
var Char = kotlin_kotlin.$_$.nb;
|
|
52
52
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.p1;
|
|
53
|
-
var mapNotNull = kotlin_kotlin.$_$.
|
|
54
|
-
var toList_0 = kotlin_kotlin.$_$.
|
|
55
|
-
var maxOrNull_0 = kotlin_kotlin.$_$.
|
|
56
|
-
var get = kotlin_kotlin.$_$.
|
|
57
|
-
var toIntOrNull = kotlin_kotlin.$_$.
|
|
53
|
+
var mapNotNull = kotlin_kotlin.$_$.q9;
|
|
54
|
+
var toList_0 = kotlin_kotlin.$_$.v9;
|
|
55
|
+
var maxOrNull_0 = kotlin_kotlin.$_$.s9;
|
|
56
|
+
var get = kotlin_kotlin.$_$.ga;
|
|
57
|
+
var toIntOrNull = kotlin_kotlin.$_$.eb;
|
|
58
58
|
var Companion_instance = kotlin_kotlin.$_$.c3;
|
|
59
59
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.t1;
|
|
60
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
60
|
+
var createFailure = kotlin_kotlin.$_$.nc;
|
|
61
61
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.w1;
|
|
62
62
|
var _Result___get_isFailure__impl__jpiriv = kotlin_kotlin.$_$.u1;
|
|
63
|
-
var Enum = kotlin_kotlin.$_$.
|
|
63
|
+
var Enum = kotlin_kotlin.$_$.rb;
|
|
64
64
|
//endregion
|
|
65
65
|
//region block: pre-declaration
|
|
66
66
|
initMetadataForClass(CommitInspectionResult, 'CommitInspectionResult');
|
|
@@ -72,73 +72,74 @@
|
|
|
72
72
|
initMetadataForClass(SemverType, 'SemverType', VOID, Enum);
|
|
73
73
|
//endregion
|
|
74
74
|
function allContributionCommits(_this__u8e3s4, tagRefs, fullLog) {
|
|
75
|
-
// Inline function 'kotlin.collections.filter' call
|
|
76
75
|
// Inline function 'kotlin.collections.distinctBy' call
|
|
77
76
|
var set = HashSet_init_$Create$();
|
|
78
77
|
var list = ArrayList_init_$Create$();
|
|
79
|
-
var
|
|
80
|
-
while (
|
|
81
|
-
var e =
|
|
78
|
+
var _iterator__ex2g4s = tagRefs.m();
|
|
79
|
+
while (_iterator__ex2g4s.n()) {
|
|
80
|
+
var e = _iterator__ex2g4s.o();
|
|
82
81
|
// Inline function 'com.zegreatrob.tools.digger.core.allContributionCommits.<anonymous>' call
|
|
83
|
-
var key = e.
|
|
82
|
+
var key = e.b1a_1;
|
|
84
83
|
if (set.e(key)) {
|
|
85
84
|
list.e(e);
|
|
86
85
|
}
|
|
87
86
|
}
|
|
87
|
+
// Inline function 'kotlin.collections.filter' call
|
|
88
88
|
// Inline function 'kotlin.collections.filterTo' call
|
|
89
89
|
var destination = ArrayList_init_$Create$();
|
|
90
|
-
var
|
|
91
|
-
while (
|
|
92
|
-
var element =
|
|
90
|
+
var _iterator__ex2g4s_0 = list.m();
|
|
91
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
92
|
+
var element = _iterator__ex2g4s_0.o();
|
|
93
93
|
// Inline function 'com.zegreatrob.tools.digger.core.allContributionCommits.<anonymous>' call
|
|
94
94
|
// Inline function 'kotlin.collections.map' call
|
|
95
95
|
// Inline function 'kotlin.collections.mapTo' call
|
|
96
96
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(fullLog, 10));
|
|
97
|
-
var
|
|
98
|
-
while (
|
|
99
|
-
var item =
|
|
100
|
-
|
|
97
|
+
var _iterator__ex2g4s_1 = fullLog.m();
|
|
98
|
+
while (_iterator__ex2g4s_1.n()) {
|
|
99
|
+
var item = _iterator__ex2g4s_1.o();
|
|
100
|
+
// Inline function 'com.zegreatrob.tools.digger.core.allContributionCommits.<anonymous>.stub_for_inlining' call
|
|
101
|
+
var tmp$ret$2 = item.l19_1;
|
|
101
102
|
destination_0.e(tmp$ret$2);
|
|
102
103
|
}
|
|
103
|
-
if (destination_0.d1(element.
|
|
104
|
+
if (destination_0.d1(element.b1a_1)) {
|
|
104
105
|
destination.e(element);
|
|
105
106
|
}
|
|
106
107
|
}
|
|
107
108
|
return sortIntoTagSets(_this__u8e3s4, destination, fullLog);
|
|
108
109
|
}
|
|
109
110
|
function sortIntoTagSets(_this__u8e3s4, tagRefs, log) {
|
|
110
|
-
// Inline function 'kotlin.collections.filter' call
|
|
111
111
|
// Inline function 'kotlin.collections.map' call
|
|
112
112
|
var this_0 = tagPairs(tagRefs);
|
|
113
113
|
// Inline function 'kotlin.collections.mapTo' call
|
|
114
114
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
115
|
-
var
|
|
116
|
-
while (
|
|
117
|
-
var item =
|
|
115
|
+
var _iterator__ex2g4s = this_0.m();
|
|
116
|
+
while (_iterator__ex2g4s.n()) {
|
|
117
|
+
var item = _iterator__ex2g4s.o();
|
|
118
118
|
// Inline function 'com.zegreatrob.tools.digger.core.sortIntoTagSets.<anonymous>' call
|
|
119
|
-
var earlierTag = item.
|
|
120
|
-
var nextTag = item.
|
|
119
|
+
var earlierTag = item.ba();
|
|
120
|
+
var nextTag = item.ca();
|
|
121
121
|
var tmp;
|
|
122
122
|
if (earlierTag == null && !(nextTag == null)) {
|
|
123
|
-
tmp = _this__u8e3s4.
|
|
123
|
+
tmp = _this__u8e3s4.y19('^' + nextTag.b1a_1, 'HEAD');
|
|
124
124
|
} else if (!(earlierTag == null) && !(nextTag == null)) {
|
|
125
|
-
tmp = _this__u8e3s4.
|
|
125
|
+
tmp = _this__u8e3s4.y19('^' + nextTag.b1a_1, earlierTag.b1a_1);
|
|
126
126
|
} else if (!(earlierTag == null)) {
|
|
127
|
-
tmp = _this__u8e3s4.
|
|
127
|
+
tmp = _this__u8e3s4.z19(earlierTag.b1a_1);
|
|
128
128
|
} else {
|
|
129
129
|
tmp = alwaysLeftParent(log);
|
|
130
130
|
}
|
|
131
131
|
var tmp$ret$0 = to(earlierTag, tmp);
|
|
132
132
|
destination.e(tmp$ret$0);
|
|
133
133
|
}
|
|
134
|
+
// Inline function 'kotlin.collections.filter' call
|
|
134
135
|
// Inline function 'kotlin.collections.filterTo' call
|
|
135
136
|
var destination_0 = ArrayList_init_$Create$();
|
|
136
|
-
var
|
|
137
|
-
while (
|
|
138
|
-
var element =
|
|
137
|
+
var _iterator__ex2g4s_0 = destination.m();
|
|
138
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
139
|
+
var element = _iterator__ex2g4s_0.o();
|
|
139
140
|
// Inline function 'com.zegreatrob.tools.digger.core.sortIntoTagSets.<anonymous>' call
|
|
140
141
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
141
|
-
if (!element.
|
|
142
|
+
if (!element.aa_1.j()) {
|
|
142
143
|
destination_0.e(element);
|
|
143
144
|
}
|
|
144
145
|
}
|
|
@@ -150,13 +151,13 @@
|
|
|
150
151
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
151
152
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(_this__u8e3s4, 10));
|
|
152
153
|
var index = 0;
|
|
153
|
-
var
|
|
154
|
-
while (
|
|
155
|
-
var item =
|
|
154
|
+
var _iterator__ex2g4s = _this__u8e3s4.m();
|
|
155
|
+
while (_iterator__ex2g4s.n()) {
|
|
156
|
+
var item = _iterator__ex2g4s.o();
|
|
157
|
+
var _unary__edvuaz = index;
|
|
158
|
+
index = _unary__edvuaz + 1 | 0;
|
|
156
159
|
// Inline function 'com.zegreatrob.tools.digger.core.tagPairs.<anonymous>' call
|
|
157
|
-
var
|
|
158
|
-
index = tmp1 + 1 | 0;
|
|
159
|
-
var index_0 = checkIndexOverflow(tmp1);
|
|
160
|
+
var index_0 = checkIndexOverflow(_unary__edvuaz);
|
|
160
161
|
var tmp$ret$0 = to(item, getOrNull(_this__u8e3s4, index_0 + 1 | 0));
|
|
161
162
|
destination.e(tmp$ret$0);
|
|
162
163
|
}
|
|
@@ -165,15 +166,15 @@
|
|
|
165
166
|
function alwaysLeftParent(_this__u8e3s4) {
|
|
166
167
|
// Inline function 'kotlin.collections.fold' call
|
|
167
168
|
var accumulator = emptyList();
|
|
168
|
-
var
|
|
169
|
-
while (
|
|
170
|
-
var element =
|
|
169
|
+
var _iterator__ex2g4s = _this__u8e3s4.m();
|
|
170
|
+
while (_iterator__ex2g4s.n()) {
|
|
171
|
+
var element = _iterator__ex2g4s.o();
|
|
171
172
|
// Inline function 'com.zegreatrob.tools.digger.core.alwaysLeftParent.<anonymous>' call
|
|
172
173
|
var acc = accumulator;
|
|
173
174
|
var tmp;
|
|
174
175
|
if (acc.j()) {
|
|
175
176
|
tmp = plus_0(acc, element);
|
|
176
|
-
} else if (element.
|
|
177
|
+
} else if (element.l19_1 === firstOrNull(last(acc).p19_1)) {
|
|
177
178
|
tmp = plus_0(acc, element);
|
|
178
179
|
} else {
|
|
179
180
|
tmp = acc;
|
|
@@ -183,19 +184,19 @@
|
|
|
183
184
|
return accumulator;
|
|
184
185
|
}
|
|
185
186
|
function CommitInspectionResult(storyId, ease, authors, semver) {
|
|
186
|
-
this.
|
|
187
|
-
this.
|
|
188
|
-
this.
|
|
189
|
-
this.
|
|
187
|
+
this.d1a_1 = storyId;
|
|
188
|
+
this.e1a_1 = ease;
|
|
189
|
+
this.f1a_1 = authors;
|
|
190
|
+
this.g1a_1 = semver;
|
|
190
191
|
}
|
|
191
192
|
protoOf(CommitInspectionResult).toString = function () {
|
|
192
|
-
return 'CommitInspectionResult(storyId=' + this.
|
|
193
|
+
return 'CommitInspectionResult(storyId=' + this.d1a_1 + ', ease=' + this.e1a_1 + ', authors=' + toString(this.f1a_1) + ', semver=' + toString_0(this.g1a_1) + ')';
|
|
193
194
|
};
|
|
194
195
|
protoOf(CommitInspectionResult).hashCode = function () {
|
|
195
|
-
var result = this.
|
|
196
|
-
result = imul(result, 31) + (this.
|
|
197
|
-
result = imul(result, 31) + hashCode(this.
|
|
198
|
-
result = imul(result, 31) + (this.
|
|
196
|
+
var result = this.d1a_1 == null ? 0 : getStringHashCode(this.d1a_1);
|
|
197
|
+
result = imul(result, 31) + (this.e1a_1 == null ? 0 : this.e1a_1) | 0;
|
|
198
|
+
result = imul(result, 31) + hashCode(this.f1a_1) | 0;
|
|
199
|
+
result = imul(result, 31) + (this.g1a_1 == null ? 0 : this.g1a_1.hashCode()) | 0;
|
|
199
200
|
return result;
|
|
200
201
|
};
|
|
201
202
|
protoOf(CommitInspectionResult).equals = function (other) {
|
|
@@ -204,13 +205,13 @@
|
|
|
204
205
|
if (!(other instanceof CommitInspectionResult))
|
|
205
206
|
return false;
|
|
206
207
|
var tmp0_other_with_cast = other instanceof CommitInspectionResult ? other : THROW_CCE();
|
|
207
|
-
if (!(this.
|
|
208
|
+
if (!(this.d1a_1 == tmp0_other_with_cast.d1a_1))
|
|
208
209
|
return false;
|
|
209
|
-
if (!(this.
|
|
210
|
+
if (!(this.e1a_1 == tmp0_other_with_cast.e1a_1))
|
|
210
211
|
return false;
|
|
211
|
-
if (!equals(this.
|
|
212
|
+
if (!equals(this.f1a_1, tmp0_other_with_cast.f1a_1))
|
|
212
213
|
return false;
|
|
213
|
-
if (!equals(this.
|
|
214
|
+
if (!equals(this.g1a_1, tmp0_other_with_cast.g1a_1))
|
|
214
215
|
return false;
|
|
215
216
|
return true;
|
|
216
217
|
};
|
|
@@ -218,38 +219,38 @@
|
|
|
218
219
|
// Inline function 'kotlin.collections.map' call
|
|
219
220
|
// Inline function 'kotlin.collections.mapTo' call
|
|
220
221
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(commitRefs, 10));
|
|
221
|
-
var
|
|
222
|
-
while (
|
|
223
|
-
var item =
|
|
222
|
+
var _iterator__ex2g4s = commitRefs.m();
|
|
223
|
+
while (_iterator__ex2g4s.n()) {
|
|
224
|
+
var item = _iterator__ex2g4s.o();
|
|
224
225
|
// Inline function 'com.zegreatrob.tools.digger.core.contribution.<anonymous>' call
|
|
225
|
-
var tmp$ret$0 = commitInspectionResult(item, _this__u8e3s4.
|
|
226
|
+
var tmp$ret$0 = commitInspectionResult(item, _this__u8e3s4.n1a(item.q19_1));
|
|
226
227
|
destination.e(tmp$ret$0);
|
|
227
228
|
}
|
|
228
229
|
var messageDigResults = destination;
|
|
229
230
|
var lastCommit = firstOrNull(commitRefs);
|
|
230
231
|
var firstCommit = lastOrNull(commitRefs);
|
|
231
|
-
var tmp1_elvis_lhs = lastCommit == null ? null : lastCommit.
|
|
232
|
+
var tmp1_elvis_lhs = lastCommit == null ? null : lastCommit.l19_1;
|
|
232
233
|
var tmp7_lastCommit = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
233
|
-
var tmp3_elvis_lhs = firstCommit == null ? null : firstCommit.
|
|
234
|
+
var tmp3_elvis_lhs = firstCommit == null ? null : firstCommit.l19_1;
|
|
234
235
|
var tmp8_firstCommit = tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs;
|
|
235
236
|
var tmp9_authors = allAuthors(messageDigResults);
|
|
236
|
-
var tmp10_dateTime = lastCommit == null ? null : lastCommit.
|
|
237
|
-
var tmp11_firstCommitDateTime = firstCommit == null ? null : firstCommit.
|
|
237
|
+
var tmp10_dateTime = lastCommit == null ? null : lastCommit.o19_1;
|
|
238
|
+
var tmp11_firstCommitDateTime = firstCommit == null ? null : firstCommit.o19_1;
|
|
238
239
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
239
240
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
240
241
|
var destination_0 = ArrayList_init_$Create$();
|
|
241
242
|
// Inline function 'kotlin.collections.forEach' call
|
|
242
|
-
var
|
|
243
|
-
while (
|
|
244
|
-
var element =
|
|
243
|
+
var _iterator__ex2g4s_0 = messageDigResults.m();
|
|
244
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
245
|
+
var element = _iterator__ex2g4s_0.o();
|
|
245
246
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
246
247
|
// Inline function 'com.zegreatrob.tools.digger.core.contribution.<anonymous>' call
|
|
247
|
-
var tmp0_safe_receiver = element.
|
|
248
|
+
var tmp0_safe_receiver = element.e1a_1;
|
|
248
249
|
if (tmp0_safe_receiver == null)
|
|
249
250
|
null;
|
|
250
251
|
else {
|
|
251
252
|
// Inline function 'kotlin.let' call
|
|
252
|
-
// Inline function 'kotlin.
|
|
253
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
253
254
|
destination_0.e(tmp0_safe_receiver);
|
|
254
255
|
}
|
|
255
256
|
}
|
|
@@ -259,17 +260,17 @@
|
|
|
259
260
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
260
261
|
var destination_1 = ArrayList_init_$Create$();
|
|
261
262
|
// Inline function 'kotlin.collections.forEach' call
|
|
262
|
-
var
|
|
263
|
-
while (
|
|
264
|
-
var element_0 =
|
|
263
|
+
var _iterator__ex2g4s_1 = messageDigResults.m();
|
|
264
|
+
while (_iterator__ex2g4s_1.n()) {
|
|
265
|
+
var element_0 = _iterator__ex2g4s_1.o();
|
|
265
266
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
266
267
|
// Inline function 'com.zegreatrob.tools.digger.core.contribution.<anonymous>' call
|
|
267
|
-
var tmp0_safe_receiver_0 = element_0.
|
|
268
|
+
var tmp0_safe_receiver_0 = element_0.g1a_1;
|
|
268
269
|
if (tmp0_safe_receiver_0 == null)
|
|
269
270
|
null;
|
|
270
271
|
else {
|
|
271
272
|
// Inline function 'kotlin.let' call
|
|
272
|
-
// Inline function 'kotlin.
|
|
273
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
273
274
|
destination_1.e(tmp0_safe_receiver_0);
|
|
274
275
|
}
|
|
275
276
|
}
|
|
@@ -280,24 +281,25 @@
|
|
|
280
281
|
return new Contribution(tmp7_lastCommit, tmp8_firstCommit, tmp9_authors, tmp15_commitCount, tmp10_dateTime, tmp11_firstCommitDateTime, tmp12_ease, tmp13_storyId, tmp14_semver, null, null, null);
|
|
281
282
|
}
|
|
282
283
|
function commitInspectionResult(_this__u8e3s4, digResult) {
|
|
283
|
-
return new CommitInspectionResult(digResult.
|
|
284
|
+
return new CommitInspectionResult(digResult.o1a_1, digResult.p1a_1, plus(listOf_0([_this__u8e3s4.n19_1, _this__u8e3s4.m19_1]), digResult.q1a_1), digResult.r1a_1);
|
|
284
285
|
}
|
|
285
286
|
function allAuthors(messageDigResults) {
|
|
286
|
-
// Inline function 'kotlin.collections.map' call
|
|
287
287
|
// Inline function 'kotlin.collections.flatMap' call
|
|
288
288
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
289
289
|
var destination = ArrayList_init_$Create$();
|
|
290
|
-
var
|
|
291
|
-
while (
|
|
292
|
-
var element =
|
|
293
|
-
|
|
290
|
+
var _iterator__ex2g4s = messageDigResults.m();
|
|
291
|
+
while (_iterator__ex2g4s.n()) {
|
|
292
|
+
var element = _iterator__ex2g4s.o();
|
|
293
|
+
// Inline function 'com.zegreatrob.tools.digger.core.allAuthors.stub_for_inlining' call
|
|
294
|
+
var list = element.f1a_1;
|
|
294
295
|
addAll(destination, list);
|
|
295
296
|
}
|
|
297
|
+
// Inline function 'kotlin.collections.map' call
|
|
296
298
|
// Inline function 'kotlin.collections.mapTo' call
|
|
297
299
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
298
|
-
var
|
|
299
|
-
while (
|
|
300
|
-
var item =
|
|
300
|
+
var _iterator__ex2g4s_0 = destination.m();
|
|
301
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
302
|
+
var item = _iterator__ex2g4s_0.o();
|
|
301
303
|
// Inline function 'com.zegreatrob.tools.digger.core.allAuthors.<anonymous>' call
|
|
302
304
|
// Inline function 'kotlin.text.lowercase' call
|
|
303
305
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -307,25 +309,25 @@
|
|
|
307
309
|
return toList(sorted(toSet(destination_0)));
|
|
308
310
|
}
|
|
309
311
|
function mergedStoryIds(messageDigResults) {
|
|
310
|
-
// Inline function 'kotlin.let' call
|
|
311
312
|
// Inline function 'kotlin.collections.mapNotNull' call
|
|
312
313
|
// Inline function 'kotlin.collections.mapNotNullTo' call
|
|
313
314
|
var destination = ArrayList_init_$Create$();
|
|
314
315
|
// Inline function 'kotlin.collections.forEach' call
|
|
315
|
-
var
|
|
316
|
-
while (
|
|
317
|
-
var element =
|
|
316
|
+
var _iterator__ex2g4s = messageDigResults.m();
|
|
317
|
+
while (_iterator__ex2g4s.n()) {
|
|
318
|
+
var element = _iterator__ex2g4s.o();
|
|
318
319
|
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
|
|
319
|
-
|
|
320
|
+
// Inline function 'com.zegreatrob.tools.digger.core.mergedStoryIds.stub_for_inlining' call
|
|
321
|
+
var tmp0_safe_receiver = element.d1a_1;
|
|
320
322
|
if (tmp0_safe_receiver == null)
|
|
321
323
|
null;
|
|
322
324
|
else {
|
|
323
325
|
// Inline function 'kotlin.let' call
|
|
324
|
-
// Inline function 'kotlin.
|
|
326
|
+
// Inline function 'kotlin.collections.mapNotNullTo.<anonymous>.<anonymous>' call
|
|
325
327
|
destination.e(tmp0_safe_receiver);
|
|
326
328
|
}
|
|
327
329
|
}
|
|
328
|
-
// Inline function 'kotlin.
|
|
330
|
+
// Inline function 'kotlin.let' call
|
|
329
331
|
// Inline function 'com.zegreatrob.tools.digger.core.mergedStoryIds.<anonymous>' call
|
|
330
332
|
var tmp;
|
|
331
333
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -339,22 +341,22 @@
|
|
|
339
341
|
function currentContributionCommits(_this__u8e3s4, previousTag) {
|
|
340
342
|
var tmp;
|
|
341
343
|
if (previousTag == null) {
|
|
342
|
-
tmp = _this__u8e3s4.
|
|
344
|
+
tmp = _this__u8e3s4.x19();
|
|
343
345
|
} else {
|
|
344
|
-
tmp = _this__u8e3s4.
|
|
346
|
+
tmp = _this__u8e3s4.y19('^' + previousTag.a1a_1, 'HEAD');
|
|
345
347
|
}
|
|
346
348
|
return tmp;
|
|
347
349
|
}
|
|
348
350
|
function tagRefs($this) {
|
|
349
351
|
// Inline function 'kotlin.collections.filter' call
|
|
352
|
+
var tmp0 = $this.t1a_1.w19();
|
|
350
353
|
// Inline function 'kotlin.collections.filterTo' call
|
|
351
|
-
var this_0 = $this.p1a_1.s19();
|
|
352
354
|
var destination = ArrayList_init_$Create$();
|
|
353
|
-
var
|
|
354
|
-
while (
|
|
355
|
-
var element =
|
|
355
|
+
var _iterator__ex2g4s = tmp0.m();
|
|
356
|
+
while (_iterator__ex2g4s.n()) {
|
|
357
|
+
var element = _iterator__ex2g4s.o();
|
|
356
358
|
// Inline function 'com.zegreatrob.tools.digger.core.DiggerCore.tagRefs.<anonymous>' call
|
|
357
|
-
if ($this.
|
|
359
|
+
if ($this.v1a_1.jc(element.a1a_1)) {
|
|
358
360
|
destination.e(element);
|
|
359
361
|
}
|
|
360
362
|
}
|
|
@@ -362,11 +364,10 @@
|
|
|
362
364
|
}
|
|
363
365
|
function currentRelevantTags($this, headCommitId, lastTwoTags) {
|
|
364
366
|
// Inline function 'kotlin.let' call
|
|
365
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
366
367
|
// Inline function 'com.zegreatrob.tools.digger.core.DiggerCore.currentRelevantTags.<anonymous>' call
|
|
367
368
|
var latestTag = getOrNull(lastTwoTags, 0);
|
|
368
369
|
var tmp;
|
|
369
|
-
if ((latestTag == null ? null : latestTag.
|
|
370
|
+
if ((latestTag == null ? null : latestTag.b1a_1) === headCommitId) {
|
|
370
371
|
tmp = to(latestTag, getOrNull(lastTwoTags, 1));
|
|
371
372
|
} else {
|
|
372
373
|
tmp = to(null, latestTag);
|
|
@@ -375,7 +376,7 @@
|
|
|
375
376
|
}
|
|
376
377
|
function Defaults() {
|
|
377
378
|
Defaults_instance = this;
|
|
378
|
-
this.
|
|
379
|
+
this.w1a_1 = Regex_init_$Create$('.*');
|
|
379
380
|
}
|
|
380
381
|
var Defaults_instance;
|
|
381
382
|
function Defaults_getInstance() {
|
|
@@ -384,65 +385,64 @@
|
|
|
384
385
|
return Defaults_instance;
|
|
385
386
|
}
|
|
386
387
|
function DiggerCore(label, gitWrapper, messageDigger, tagRegex) {
|
|
387
|
-
tagRegex = tagRegex === VOID ? Defaults_getInstance().
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
388
|
+
tagRegex = tagRegex === VOID ? Defaults_getInstance().w1a_1 : tagRegex;
|
|
389
|
+
this.s1a_1 = label;
|
|
390
|
+
this.t1a_1 = gitWrapper;
|
|
391
|
+
this.u1a_1 = messageDigger;
|
|
392
|
+
this.v1a_1 = tagRegex;
|
|
392
393
|
}
|
|
393
|
-
protoOf(DiggerCore).
|
|
394
|
+
protoOf(DiggerCore).x1a = function () {
|
|
394
395
|
// Inline function 'kotlin.with' call
|
|
395
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
396
396
|
// Inline function 'com.zegreatrob.tools.digger.core.DiggerCore.currentContributionData.<anonymous>' call
|
|
397
|
-
var $this$with = this.
|
|
398
|
-
var _destruct__k2r9zo = currentRelevantTags(this, $this$with.
|
|
399
|
-
var currentTag = _destruct__k2r9zo.
|
|
400
|
-
var previousTag = _destruct__k2r9zo.
|
|
401
|
-
var tmp = contribution(this.
|
|
402
|
-
var tmp_0 = currentTag == null ? null : currentTag.
|
|
403
|
-
return tmp.
|
|
397
|
+
var $this$with = this.t1a_1;
|
|
398
|
+
var _destruct__k2r9zo = currentRelevantTags(this, $this$with.v19(), take(tagRefs(this), 2));
|
|
399
|
+
var currentTag = _destruct__k2r9zo.ba();
|
|
400
|
+
var previousTag = _destruct__k2r9zo.ca();
|
|
401
|
+
var tmp = contribution(this.u1a_1, currentContributionCommits($this$with, previousTag));
|
|
402
|
+
var tmp_0 = currentTag == null ? null : currentTag.a1a_1;
|
|
403
|
+
return tmp.k19(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.s1a_1, tmp_0, currentTag == null ? null : currentTag.c1a_1);
|
|
404
404
|
};
|
|
405
|
-
protoOf(DiggerCore).
|
|
406
|
-
// Inline function 'kotlin.collections.map' call
|
|
405
|
+
protoOf(DiggerCore).y1a = function () {
|
|
407
406
|
// Inline function 'kotlin.collections.map' call
|
|
408
|
-
var this_0 = allContributionCommits(this.
|
|
407
|
+
var this_0 = allContributionCommits(this.t1a_1, tagRefs(this), this.t1a_1.x19());
|
|
409
408
|
// Inline function 'kotlin.collections.mapTo' call
|
|
410
409
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
411
|
-
var
|
|
412
|
-
while (
|
|
413
|
-
var item =
|
|
410
|
+
var _iterator__ex2g4s = this_0.m();
|
|
411
|
+
while (_iterator__ex2g4s.n()) {
|
|
412
|
+
var item = _iterator__ex2g4s.o();
|
|
414
413
|
// Inline function 'com.zegreatrob.tools.digger.core.DiggerCore.allContributionData.<anonymous>' call
|
|
415
|
-
var tmp$ret$0 = to(item.
|
|
414
|
+
var tmp$ret$0 = to(item.z9_1, contribution(this.u1a_1, toList(item.aa_1)));
|
|
416
415
|
destination.e(tmp$ret$0);
|
|
417
416
|
}
|
|
417
|
+
// Inline function 'kotlin.collections.map' call
|
|
418
418
|
// Inline function 'kotlin.collections.mapTo' call
|
|
419
419
|
var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
|
|
420
|
-
var
|
|
421
|
-
while (
|
|
422
|
-
var item_0 =
|
|
420
|
+
var _iterator__ex2g4s_0 = destination.m();
|
|
421
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
422
|
+
var item_0 = _iterator__ex2g4s_0.o();
|
|
423
423
|
// Inline function 'com.zegreatrob.tools.digger.core.DiggerCore.allContributionData.<anonymous>' call
|
|
424
|
-
var tag = item_0.
|
|
425
|
-
var contribution_0 = item_0.
|
|
426
|
-
var tmp = tag == null ? null : tag.
|
|
427
|
-
var tmp$ret$3 = contribution_0.
|
|
424
|
+
var tag = item_0.ba();
|
|
425
|
+
var contribution_0 = item_0.ca();
|
|
426
|
+
var tmp = tag == null ? null : tag.a1a_1;
|
|
427
|
+
var tmp$ret$3 = contribution_0.k19(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.s1a_1, tmp, tag == null ? null : tag.c1a_1);
|
|
428
428
|
destination_0.e(tmp$ret$3);
|
|
429
429
|
}
|
|
430
430
|
return destination_0;
|
|
431
431
|
};
|
|
432
432
|
function MessageDigResult(storyId, ease, coauthors, semver) {
|
|
433
|
-
this.
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
433
|
+
this.o1a_1 = storyId;
|
|
434
|
+
this.p1a_1 = ease;
|
|
435
|
+
this.q1a_1 = coauthors;
|
|
436
|
+
this.r1a_1 = semver;
|
|
437
437
|
}
|
|
438
438
|
protoOf(MessageDigResult).toString = function () {
|
|
439
|
-
return 'MessageDigResult(storyId=' + this.
|
|
439
|
+
return 'MessageDigResult(storyId=' + this.o1a_1 + ', ease=' + this.p1a_1 + ', coauthors=' + toString(this.q1a_1) + ', semver=' + toString_0(this.r1a_1) + ')';
|
|
440
440
|
};
|
|
441
441
|
protoOf(MessageDigResult).hashCode = function () {
|
|
442
|
-
var result = this.
|
|
443
|
-
result = imul(result, 31) + (this.
|
|
444
|
-
result = imul(result, 31) + hashCode(this.
|
|
445
|
-
result = imul(result, 31) + (this.
|
|
442
|
+
var result = this.o1a_1 == null ? 0 : getStringHashCode(this.o1a_1);
|
|
443
|
+
result = imul(result, 31) + (this.p1a_1 == null ? 0 : this.p1a_1) | 0;
|
|
444
|
+
result = imul(result, 31) + hashCode(this.q1a_1) | 0;
|
|
445
|
+
result = imul(result, 31) + (this.r1a_1 == null ? 0 : this.r1a_1.hashCode()) | 0;
|
|
446
446
|
return result;
|
|
447
447
|
};
|
|
448
448
|
protoOf(MessageDigResult).equals = function (other) {
|
|
@@ -451,24 +451,24 @@
|
|
|
451
451
|
if (!(other instanceof MessageDigResult))
|
|
452
452
|
return false;
|
|
453
453
|
var tmp0_other_with_cast = other instanceof MessageDigResult ? other : THROW_CCE();
|
|
454
|
-
if (!(this.
|
|
454
|
+
if (!(this.o1a_1 == tmp0_other_with_cast.o1a_1))
|
|
455
455
|
return false;
|
|
456
|
-
if (!(this.
|
|
456
|
+
if (!(this.p1a_1 == tmp0_other_with_cast.p1a_1))
|
|
457
457
|
return false;
|
|
458
|
-
if (!equals(this.
|
|
458
|
+
if (!equals(this.q1a_1, tmp0_other_with_cast.q1a_1))
|
|
459
459
|
return false;
|
|
460
|
-
if (!equals(this.
|
|
460
|
+
if (!equals(this.r1a_1, tmp0_other_with_cast.r1a_1))
|
|
461
461
|
return false;
|
|
462
462
|
return true;
|
|
463
463
|
};
|
|
464
464
|
function Defaults_0() {
|
|
465
465
|
Defaults_instance_0 = this;
|
|
466
|
-
this.
|
|
467
|
-
this.
|
|
468
|
-
this.
|
|
469
|
-
this.
|
|
470
|
-
this.
|
|
471
|
-
this.
|
|
466
|
+
this.z1a_1 = Regex_init_$Create$_0('\\[major\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
467
|
+
this.a1b_1 = Regex_init_$Create$_0('\\[minor\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
468
|
+
this.b1b_1 = Regex_init_$Create$_0('\\[patch\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
469
|
+
this.c1b_1 = Regex_init_$Create$_0('\\[none\\]', RegexOption_IGNORE_CASE_getInstance());
|
|
470
|
+
this.d1b_1 = Regex_init_$Create$('\\[(?<storyId>.*?)\\]');
|
|
471
|
+
this.e1b_1 = Regex_init_$Create$('-(?<ease>[1-5])-');
|
|
472
472
|
}
|
|
473
473
|
var Defaults_instance_0;
|
|
474
474
|
function Defaults_getInstance_0() {
|
|
@@ -477,28 +477,28 @@
|
|
|
477
477
|
return Defaults_instance_0;
|
|
478
478
|
}
|
|
479
479
|
function MessageDigger(majorRegex, minorRegex, patchRegex, noneRegex, storyIdRegex, easeRegex) {
|
|
480
|
-
majorRegex = majorRegex === VOID ? Defaults_getInstance_0().
|
|
481
|
-
minorRegex = minorRegex === VOID ? Defaults_getInstance_0().
|
|
482
|
-
patchRegex = patchRegex === VOID ? Defaults_getInstance_0().
|
|
483
|
-
noneRegex = noneRegex === VOID ? Defaults_getInstance_0().
|
|
484
|
-
storyIdRegex = storyIdRegex === VOID ? Defaults_getInstance_0().
|
|
485
|
-
easeRegex = easeRegex === VOID ? Defaults_getInstance_0().
|
|
486
|
-
if (!contains(storyIdRegex.
|
|
487
|
-
throw RuntimeException_init_$Create$('StoryIdRegex must include a storyId group. The regex was: ' + storyIdRegex.
|
|
480
|
+
majorRegex = majorRegex === VOID ? Defaults_getInstance_0().z1a_1 : majorRegex;
|
|
481
|
+
minorRegex = minorRegex === VOID ? Defaults_getInstance_0().a1b_1 : minorRegex;
|
|
482
|
+
patchRegex = patchRegex === VOID ? Defaults_getInstance_0().b1b_1 : patchRegex;
|
|
483
|
+
noneRegex = noneRegex === VOID ? Defaults_getInstance_0().c1b_1 : noneRegex;
|
|
484
|
+
storyIdRegex = storyIdRegex === VOID ? Defaults_getInstance_0().d1b_1 : storyIdRegex;
|
|
485
|
+
easeRegex = easeRegex === VOID ? Defaults_getInstance_0().e1b_1 : easeRegex;
|
|
486
|
+
if (!contains(storyIdRegex.dc_1, '?<storyId>')) {
|
|
487
|
+
throw RuntimeException_init_$Create$('StoryIdRegex must include a storyId group. The regex was: ' + storyIdRegex.dc_1);
|
|
488
488
|
}
|
|
489
|
-
if (!contains(easeRegex.
|
|
490
|
-
throw RuntimeException_init_$Create$('EaseRegex must include an ease group. The regex was: ' + easeRegex.
|
|
489
|
+
if (!contains(easeRegex.dc_1, '?<ease>')) {
|
|
490
|
+
throw RuntimeException_init_$Create$('EaseRegex must include an ease group. The regex was: ' + easeRegex.dc_1);
|
|
491
491
|
}
|
|
492
|
-
this.
|
|
492
|
+
this.h1a_1 = mapOf([to('major', majorRegex), to('minor', minorRegex), to('patch', patchRegex), to('none', noneRegex)]);
|
|
493
493
|
var tmp = this;
|
|
494
494
|
// Inline function 'kotlin.collections.map' call
|
|
495
|
-
var this_0 = this.
|
|
495
|
+
var this_0 = this.h1a_1;
|
|
496
496
|
// Inline function 'kotlin.collections.mapTo' call
|
|
497
497
|
var destination = ArrayList_init_$Create$_0(this_0.p());
|
|
498
498
|
// Inline function 'kotlin.collections.iterator' call
|
|
499
|
-
var
|
|
500
|
-
while (
|
|
501
|
-
var item =
|
|
499
|
+
var _iterator__ex2g4s = this_0.x().m();
|
|
500
|
+
while (_iterator__ex2g4s.n()) {
|
|
501
|
+
var item = _iterator__ex2g4s.o();
|
|
502
502
|
// Inline function 'com.zegreatrob.tools.digger.core.MessageDigger.allSemverRegex.<anonymous>' call
|
|
503
503
|
// Inline function 'kotlin.collections.component1' call
|
|
504
504
|
var group = item.y();
|
|
@@ -507,26 +507,26 @@
|
|
|
507
507
|
var tmp$ret$3 = '(?<' + group + '>' + cleaned(regex) + ')?';
|
|
508
508
|
destination.e(tmp$ret$3);
|
|
509
509
|
}
|
|
510
|
-
tmp.
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
513
|
-
this.
|
|
514
|
-
this.
|
|
515
|
-
}
|
|
516
|
-
protoOf(MessageDigger).
|
|
517
|
-
return messageDigResult(this.
|
|
510
|
+
tmp.i1a_1 = joinToString(destination, '');
|
|
511
|
+
this.j1a_1 = '(' + cleaned(storyIdRegex) + ')?';
|
|
512
|
+
this.k1a_1 = '(' + cleaned(easeRegex) + ')?';
|
|
513
|
+
this.l1a_1 = '(Co-authored-by: .* <(?<coAuthors>.*)>)?';
|
|
514
|
+
this.m1a_1 = new Regex(this.i1a_1 + this.j1a_1 + this.k1a_1 + this.l1a_1, setOf([RegexOption_IGNORE_CASE_getInstance(), RegexOption_MULTILINE_getInstance()]));
|
|
515
|
+
}
|
|
516
|
+
protoOf(MessageDigger).n1a = function (input) {
|
|
517
|
+
return messageDigResult(this.m1a_1.mc(input));
|
|
518
518
|
};
|
|
519
519
|
function cleaned(_this__u8e3s4) {
|
|
520
|
-
var first = firstOrNull_0(_this__u8e3s4.
|
|
521
|
-
var last = lastIndexOf(_this__u8e3s4.
|
|
520
|
+
var first = firstOrNull_0(_this__u8e3s4.dc_1);
|
|
521
|
+
var last = lastIndexOf(_this__u8e3s4.dc_1, '/');
|
|
522
522
|
var tmp;
|
|
523
523
|
var tmp_0 = first;
|
|
524
524
|
if (equals(tmp_0 == null ? null : new Char(tmp_0), new Char(_Char___init__impl__6a9atx(47)))) {
|
|
525
525
|
// Inline function 'kotlin.text.substring' call
|
|
526
526
|
// Inline function 'kotlin.js.asDynamic' call
|
|
527
|
-
tmp = _this__u8e3s4.
|
|
527
|
+
tmp = _this__u8e3s4.dc_1.substring(1, last);
|
|
528
528
|
} else {
|
|
529
|
-
tmp = _this__u8e3s4.
|
|
529
|
+
tmp = _this__u8e3s4.dc_1;
|
|
530
530
|
}
|
|
531
531
|
return tmp;
|
|
532
532
|
}
|
|
@@ -536,11 +536,11 @@
|
|
|
536
536
|
var tmp$ret$1;
|
|
537
537
|
$l$block: {
|
|
538
538
|
// Inline function 'kotlin.sequences.firstNotNullOfOrNull' call
|
|
539
|
-
var
|
|
540
|
-
while (
|
|
541
|
-
var element =
|
|
539
|
+
var _iterator__ex2g4s = _this__u8e3s4.m();
|
|
540
|
+
while (_iterator__ex2g4s.n()) {
|
|
541
|
+
var element = _iterator__ex2g4s.o();
|
|
542
542
|
// Inline function 'com.zegreatrob.tools.digger.core.messageDigResult.<anonymous>' call
|
|
543
|
-
var result = get(element.
|
|
543
|
+
var result = get(element.uc(), 'storyId');
|
|
544
544
|
if (!(result == null)) {
|
|
545
545
|
tmp$ret$1 = result;
|
|
546
546
|
break $l$block;
|
|
@@ -549,15 +549,15 @@
|
|
|
549
549
|
tmp$ret$1 = null;
|
|
550
550
|
}
|
|
551
551
|
var tmp0_safe_receiver = tmp$ret$1;
|
|
552
|
-
var tmp5_storyId = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
552
|
+
var tmp5_storyId = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qc_1;
|
|
553
553
|
var tmp$ret$3;
|
|
554
554
|
$l$block_0: {
|
|
555
555
|
// Inline function 'kotlin.sequences.firstNotNullOfOrNull' call
|
|
556
|
-
var
|
|
557
|
-
while (
|
|
558
|
-
var element_0 =
|
|
556
|
+
var _iterator__ex2g4s_0 = _this__u8e3s4.m();
|
|
557
|
+
while (_iterator__ex2g4s_0.n()) {
|
|
558
|
+
var element_0 = _iterator__ex2g4s_0.o();
|
|
559
559
|
// Inline function 'com.zegreatrob.tools.digger.core.messageDigResult.<anonymous>' call
|
|
560
|
-
var result_0 = get(element_0.
|
|
560
|
+
var result_0 = get(element_0.uc(), 'ease');
|
|
561
561
|
if (!(result_0 == null)) {
|
|
562
562
|
tmp$ret$3 = result_0;
|
|
563
563
|
break $l$block_0;
|
|
@@ -566,7 +566,7 @@
|
|
|
566
566
|
tmp$ret$3 = null;
|
|
567
567
|
}
|
|
568
568
|
var tmp1_safe_receiver = tmp$ret$3;
|
|
569
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
569
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.qc_1;
|
|
570
570
|
var tmp6_ease = tmp2_safe_receiver == null ? null : toIntOrNull(tmp2_safe_receiver);
|
|
571
571
|
return new MessageDigResult(tmp5_storyId, tmp6_ease, tmp3_coauthors, tmp4_semver);
|
|
572
572
|
}
|
|
@@ -574,13 +574,12 @@
|
|
|
574
574
|
return groupMatches(it, 'major') ? SemverType_Major_getInstance() : groupMatches(it, 'minor') ? SemverType_Minor_getInstance() : groupMatches(it, 'patch') ? SemverType_Patch_getInstance() : groupMatches(it, 'none') ? SemverType_None_getInstance() : null;
|
|
575
575
|
}
|
|
576
576
|
function groupMatches(_this__u8e3s4, groupName) {
|
|
577
|
-
// Inline function 'kotlin.Result.getOrNull' call
|
|
578
577
|
// Inline function 'kotlin.runCatching' call
|
|
579
578
|
var tmp;
|
|
580
579
|
try {
|
|
581
|
-
// Inline function 'kotlin.Companion.success' call
|
|
582
580
|
// Inline function 'com.zegreatrob.tools.digger.core.groupMatches.<anonymous>' call
|
|
583
|
-
|
|
581
|
+
// Inline function 'kotlin.Companion.success' call
|
|
582
|
+
var value = get(_this__u8e3s4.uc(), groupName);
|
|
584
583
|
tmp = _Result___init__impl__xyqfz8(value);
|
|
585
584
|
} catch ($p) {
|
|
586
585
|
var tmp_0;
|
|
@@ -593,6 +592,7 @@
|
|
|
593
592
|
}
|
|
594
593
|
tmp = tmp_0;
|
|
595
594
|
}
|
|
595
|
+
// Inline function 'kotlin.Result.getOrNull' call
|
|
596
596
|
var this_0 = tmp;
|
|
597
597
|
var tmp_1;
|
|
598
598
|
if (_Result___get_isFailure__impl__jpiriv(this_0)) {
|
|
@@ -607,8 +607,8 @@
|
|
|
607
607
|
return maxOrNull(_this__u8e3s4);
|
|
608
608
|
}
|
|
609
609
|
function messageDigResult$lambda(it) {
|
|
610
|
-
var tmp0_safe_receiver = get(it.
|
|
611
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
610
|
+
var tmp0_safe_receiver = get(it.uc(), 'coAuthors');
|
|
611
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qc_1;
|
|
612
612
|
}
|
|
613
613
|
function messageDigResult$lambda_0(it) {
|
|
614
614
|
return getSemver(it);
|