git-digger 1.9.26 → 1.9.27

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.
@@ -78,7 +78,7 @@
78
78
  var _iterator__ex2g4s = tagRefs.r();
79
79
  while (_iterator__ex2g4s.s()) {
80
80
  var e = _iterator__ex2g4s.t();
81
- var key = e.nl_1;
81
+ var key = e.ql_1;
82
82
  if (set.v(key)) {
83
83
  list.v(e);
84
84
  }
@@ -98,7 +98,7 @@
98
98
  var tmp$ret$7 = item.xk_1;
99
99
  destination_0.v(tmp$ret$7);
100
100
  }
101
- if (destination_0.u1(element.nl_1)) {
101
+ if (destination_0.u1(element.ql_1)) {
102
102
  destination.v(element);
103
103
  }
104
104
  }
@@ -116,11 +116,11 @@
116
116
  var nextTag = item.ga();
117
117
  var tmp;
118
118
  if (earlierTag == null && !(nextTag == null)) {
119
- tmp = _this__u8e3s4.kl('^' + nextTag.nl_1, 'HEAD');
119
+ tmp = _this__u8e3s4.kl('^' + nextTag.ql_1, 'HEAD');
120
120
  } else if (!(earlierTag == null) && !(nextTag == null)) {
121
- tmp = _this__u8e3s4.kl('^' + nextTag.nl_1, earlierTag.nl_1);
121
+ tmp = _this__u8e3s4.kl('^' + nextTag.ql_1, earlierTag.ql_1);
122
122
  } else if (!(earlierTag == null)) {
123
- tmp = _this__u8e3s4.ll(earlierTag.nl_1);
123
+ tmp = _this__u8e3s4.ll(earlierTag.ql_1);
124
124
  } else {
125
125
  tmp = alwaysLeftParent(log);
126
126
  }
@@ -177,19 +177,19 @@
177
177
  return accumulator;
178
178
  }
179
179
  function CommitInspectionResult(storyId, ease, authors, semver) {
180
- this.dm_1 = storyId;
181
- this.em_1 = ease;
182
- this.fm_1 = authors;
183
- this.gm_1 = semver;
180
+ this.gm_1 = storyId;
181
+ this.hm_1 = ease;
182
+ this.im_1 = authors;
183
+ this.jm_1 = semver;
184
184
  }
185
185
  protoOf(CommitInspectionResult).toString = function () {
186
- return 'CommitInspectionResult(storyId=' + this.dm_1 + ', ease=' + this.em_1 + ', authors=' + toString(this.fm_1) + ', semver=' + toString_0(this.gm_1) + ')';
186
+ return 'CommitInspectionResult(storyId=' + this.gm_1 + ', ease=' + this.hm_1 + ', authors=' + toString(this.im_1) + ', semver=' + toString_0(this.jm_1) + ')';
187
187
  };
188
188
  protoOf(CommitInspectionResult).hashCode = function () {
189
- var result = this.dm_1 == null ? 0 : getStringHashCode(this.dm_1);
190
- result = imul(result, 31) + (this.em_1 == null ? 0 : this.em_1) | 0;
191
- result = imul(result, 31) + hashCode(this.fm_1) | 0;
192
- result = imul(result, 31) + (this.gm_1 == null ? 0 : this.gm_1.hashCode()) | 0;
189
+ var result = this.gm_1 == null ? 0 : getStringHashCode(this.gm_1);
190
+ result = imul(result, 31) + (this.hm_1 == null ? 0 : this.hm_1) | 0;
191
+ result = imul(result, 31) + hashCode(this.im_1) | 0;
192
+ result = imul(result, 31) + (this.jm_1 == null ? 0 : this.jm_1.hashCode()) | 0;
193
193
  return result;
194
194
  };
195
195
  protoOf(CommitInspectionResult).equals = function (other) {
@@ -197,13 +197,13 @@
197
197
  return true;
198
198
  if (!(other instanceof CommitInspectionResult))
199
199
  return false;
200
- if (!(this.dm_1 == other.dm_1))
200
+ if (!(this.gm_1 == other.gm_1))
201
201
  return false;
202
- if (!(this.em_1 == other.em_1))
202
+ if (!(this.hm_1 == other.hm_1))
203
203
  return false;
204
- if (!equals(this.fm_1, other.fm_1))
204
+ if (!equals(this.im_1, other.im_1))
205
205
  return false;
206
- if (!equals(this.gm_1, other.gm_1))
206
+ if (!equals(this.jm_1, other.jm_1))
207
207
  return false;
208
208
  return true;
209
209
  };
@@ -214,7 +214,7 @@
214
214
  var _iterator__ex2g4s = commitRefs.r();
215
215
  while (_iterator__ex2g4s.s()) {
216
216
  var item = _iterator__ex2g4s.t();
217
- var tmp$ret$2 = commitInspectionResult(item, _this__u8e3s4.nm(item.cl_1));
217
+ var tmp$ret$2 = commitInspectionResult(item, _this__u8e3s4.qm(item.cl_1));
218
218
  destination.v(tmp$ret$2);
219
219
  }
220
220
  var messageDigResults = destination;
@@ -234,7 +234,7 @@
234
234
  var _iterator__ex2g4s_0 = messageDigResults.r();
235
235
  while (_iterator__ex2g4s_0.s()) {
236
236
  var element = _iterator__ex2g4s_0.t();
237
- var tmp0_safe_receiver = element.em_1;
237
+ var tmp0_safe_receiver = element.hm_1;
238
238
  if (tmp0_safe_receiver == null)
239
239
  null;
240
240
  else {
@@ -251,7 +251,7 @@
251
251
  var _iterator__ex2g4s_1 = messageDigResults.r();
252
252
  while (_iterator__ex2g4s_1.s()) {
253
253
  var element_0 = _iterator__ex2g4s_1.t();
254
- var tmp0_safe_receiver_0 = element_0.gm_1;
254
+ var tmp0_safe_receiver_0 = element_0.jm_1;
255
255
  if (tmp0_safe_receiver_0 == null)
256
256
  null;
257
257
  else {
@@ -266,7 +266,7 @@
266
266
  return new Contribution(tmp7_lastCommit, tmp8_firstCommit, tmp9_authors, tmp15_commitCount, tmp10_dateTime, tmp11_firstCommitDateTime, tmp12_ease, tmp13_storyId, tmp14_semver, null, null, null);
267
267
  }
268
268
  function commitInspectionResult(_this__u8e3s4, digResult) {
269
- return new CommitInspectionResult(digResult.om_1, digResult.pm_1, plus(listOf_0([_this__u8e3s4.zk_1, _this__u8e3s4.yk_1]), digResult.qm_1), digResult.rm_1);
269
+ return new CommitInspectionResult(digResult.rm_1, digResult.sm_1, plus(listOf_0([_this__u8e3s4.zk_1, _this__u8e3s4.yk_1]), digResult.tm_1), digResult.um_1);
270
270
  }
271
271
  function allAuthors(messageDigResults) {
272
272
  // Inline function 'kotlin.collections.flatMap' call
@@ -275,7 +275,7 @@
275
275
  var _iterator__ex2g4s = messageDigResults.r();
276
276
  while (_iterator__ex2g4s.s()) {
277
277
  var element = _iterator__ex2g4s.t();
278
- var list = element.fm_1;
278
+ var list = element.im_1;
279
279
  addAll(destination, list);
280
280
  }
281
281
  // Inline function 'kotlin.collections.map' call
@@ -299,7 +299,7 @@
299
299
  var _iterator__ex2g4s = messageDigResults.r();
300
300
  while (_iterator__ex2g4s.s()) {
301
301
  var element = _iterator__ex2g4s.t();
302
- var tmp0_safe_receiver = element.dm_1;
302
+ var tmp0_safe_receiver = element.gm_1;
303
303
  if (tmp0_safe_receiver == null)
304
304
  null;
305
305
  else {
@@ -322,19 +322,19 @@
322
322
  if (previousTag == null) {
323
323
  tmp = _this__u8e3s4.jl();
324
324
  } else {
325
- tmp = _this__u8e3s4.kl('^' + previousTag.ml_1, 'HEAD');
325
+ tmp = _this__u8e3s4.kl('^' + previousTag.pl_1, 'HEAD');
326
326
  }
327
327
  return tmp;
328
328
  }
329
329
  function tagRefs($this) {
330
330
  // Inline function 'kotlin.collections.filter' call
331
- var tmp0 = $this.tm_1.il();
331
+ var tmp0 = $this.wm_1.il();
332
332
  // Inline function 'kotlin.collections.filterTo' call
333
333
  var destination = ArrayList_init_$Create$();
334
334
  var _iterator__ex2g4s = tmp0.r();
335
335
  while (_iterator__ex2g4s.s()) {
336
336
  var element = _iterator__ex2g4s.t();
337
- if ($this.vm_1.gc(element.ml_1)) {
337
+ if ($this.ym_1.gc(element.pl_1)) {
338
338
  destination.v(element);
339
339
  }
340
340
  }
@@ -344,7 +344,7 @@
344
344
  // Inline function 'kotlin.let' call
345
345
  var latestTag = getOrNull(lastTwoTags, 0);
346
346
  var tmp;
347
- if ((latestTag == null ? null : latestTag.nl_1) === headCommitId) {
347
+ if ((latestTag == null ? null : latestTag.ql_1) === headCommitId) {
348
348
  tmp = to(latestTag, getOrNull(lastTwoTags, 1));
349
349
  } else {
350
350
  tmp = to(null, latestTag);
@@ -353,7 +353,7 @@
353
353
  }
354
354
  function Defaults() {
355
355
  Defaults_instance = this;
356
- this.wm_1 = Regex_init_$Create$('.*');
356
+ this.zm_1 = Regex_init_$Create$('.*');
357
357
  }
358
358
  var Defaults_instance;
359
359
  function Defaults_getInstance() {
@@ -362,31 +362,31 @@
362
362
  return Defaults_instance;
363
363
  }
364
364
  function DiggerCore(label, gitWrapper, messageDigger, tagRegex) {
365
- tagRegex = tagRegex === VOID ? Defaults_getInstance().wm_1 : tagRegex;
366
- this.sm_1 = label;
367
- this.tm_1 = gitWrapper;
368
- this.um_1 = messageDigger;
369
- this.vm_1 = tagRegex;
365
+ tagRegex = tagRegex === VOID ? Defaults_getInstance().zm_1 : tagRegex;
366
+ this.vm_1 = label;
367
+ this.wm_1 = gitWrapper;
368
+ this.xm_1 = messageDigger;
369
+ this.ym_1 = tagRegex;
370
370
  }
371
- protoOf(DiggerCore).xm = function () {
371
+ protoOf(DiggerCore).an = function () {
372
372
  // Inline function 'kotlin.with' call
373
- var $this$with = this.tm_1;
373
+ var $this$with = this.wm_1;
374
374
  var _destruct__k2r9zo = currentRelevantTags(this, $this$with.hl(), take(tagRefs(this), 2));
375
375
  var currentTag = _destruct__k2r9zo.fa();
376
376
  var previousTag = _destruct__k2r9zo.ga();
377
- var tmp = contribution(this.um_1, currentContributionCommits($this$with, previousTag));
378
- var tmp_0 = currentTag == null ? null : currentTag.ml_1;
379
- return tmp.cm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.sm_1, tmp_0, currentTag == null ? null : currentTag.ol_1);
377
+ var tmp = contribution(this.xm_1, currentContributionCommits($this$with, previousTag));
378
+ var tmp_0 = currentTag == null ? null : currentTag.pl_1;
379
+ return tmp.fm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.vm_1, tmp_0, currentTag == null ? null : currentTag.rl_1);
380
380
  };
381
- protoOf(DiggerCore).ym = function () {
381
+ protoOf(DiggerCore).bn = function () {
382
382
  // Inline function 'kotlin.collections.map' call
383
- var this_0 = allContributionCommits(this.tm_1, tagRefs(this), this.tm_1.jl());
383
+ var this_0 = allContributionCommits(this.wm_1, tagRefs(this), this.wm_1.jl());
384
384
  // Inline function 'kotlin.collections.mapTo' call
385
385
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
386
386
  var _iterator__ex2g4s = this_0.r();
387
387
  while (_iterator__ex2g4s.s()) {
388
388
  var item = _iterator__ex2g4s.t();
389
- var tmp$ret$2 = to(item.da_1, contribution(this.um_1, toList(item.ea_1)));
389
+ var tmp$ret$2 = to(item.da_1, contribution(this.xm_1, toList(item.ea_1)));
390
390
  destination.v(tmp$ret$2);
391
391
  }
392
392
  // Inline function 'kotlin.collections.map' call
@@ -397,26 +397,26 @@
397
397
  var item_0 = _iterator__ex2g4s_0.t();
398
398
  var tag = item_0.fa();
399
399
  var contribution_0 = item_0.ga();
400
- var tmp = tag == null ? null : tag.ml_1;
401
- var tmp$ret$5 = contribution_0.cm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.sm_1, tmp, tag == null ? null : tag.ol_1);
400
+ var tmp = tag == null ? null : tag.pl_1;
401
+ var tmp$ret$5 = contribution_0.fm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.vm_1, tmp, tag == null ? null : tag.rl_1);
402
402
  destination_0.v(tmp$ret$5);
403
403
  }
404
404
  return destination_0;
405
405
  };
406
406
  function MessageDigResult(storyId, ease, coauthors, semver) {
407
- this.om_1 = storyId;
408
- this.pm_1 = ease;
409
- this.qm_1 = coauthors;
410
- this.rm_1 = semver;
407
+ this.rm_1 = storyId;
408
+ this.sm_1 = ease;
409
+ this.tm_1 = coauthors;
410
+ this.um_1 = semver;
411
411
  }
412
412
  protoOf(MessageDigResult).toString = function () {
413
- return 'MessageDigResult(storyId=' + this.om_1 + ', ease=' + this.pm_1 + ', coauthors=' + toString(this.qm_1) + ', semver=' + toString_0(this.rm_1) + ')';
413
+ return 'MessageDigResult(storyId=' + this.rm_1 + ', ease=' + this.sm_1 + ', coauthors=' + toString(this.tm_1) + ', semver=' + toString_0(this.um_1) + ')';
414
414
  };
415
415
  protoOf(MessageDigResult).hashCode = function () {
416
- var result = this.om_1 == null ? 0 : getStringHashCode(this.om_1);
417
- result = imul(result, 31) + (this.pm_1 == null ? 0 : this.pm_1) | 0;
418
- result = imul(result, 31) + hashCode(this.qm_1) | 0;
419
- result = imul(result, 31) + (this.rm_1 == null ? 0 : this.rm_1.hashCode()) | 0;
416
+ var result = this.rm_1 == null ? 0 : getStringHashCode(this.rm_1);
417
+ result = imul(result, 31) + (this.sm_1 == null ? 0 : this.sm_1) | 0;
418
+ result = imul(result, 31) + hashCode(this.tm_1) | 0;
419
+ result = imul(result, 31) + (this.um_1 == null ? 0 : this.um_1.hashCode()) | 0;
420
420
  return result;
421
421
  };
422
422
  protoOf(MessageDigResult).equals = function (other) {
@@ -424,24 +424,24 @@
424
424
  return true;
425
425
  if (!(other instanceof MessageDigResult))
426
426
  return false;
427
- if (!(this.om_1 == other.om_1))
427
+ if (!(this.rm_1 == other.rm_1))
428
428
  return false;
429
- if (!(this.pm_1 == other.pm_1))
429
+ if (!(this.sm_1 == other.sm_1))
430
430
  return false;
431
- if (!equals(this.qm_1, other.qm_1))
431
+ if (!equals(this.tm_1, other.tm_1))
432
432
  return false;
433
- if (!equals(this.rm_1, other.rm_1))
433
+ if (!equals(this.um_1, other.um_1))
434
434
  return false;
435
435
  return true;
436
436
  };
437
437
  function Defaults_0() {
438
438
  Defaults_instance_0 = this;
439
- this.zm_1 = Regex_init_$Create$_0('\\[major\\]', RegexOption_IGNORE_CASE_getInstance());
440
- this.an_1 = Regex_init_$Create$_0('\\[minor\\]', RegexOption_IGNORE_CASE_getInstance());
441
- this.bn_1 = Regex_init_$Create$_0('\\[patch\\]', RegexOption_IGNORE_CASE_getInstance());
442
- this.cn_1 = Regex_init_$Create$_0('\\[none\\]', RegexOption_IGNORE_CASE_getInstance());
443
- this.dn_1 = Regex_init_$Create$('\\[(?<storyId>.*?)\\]');
444
- this.en_1 = Regex_init_$Create$('-(?<ease>[1-5])-');
439
+ this.cn_1 = Regex_init_$Create$_0('\\[major\\]', RegexOption_IGNORE_CASE_getInstance());
440
+ this.dn_1 = Regex_init_$Create$_0('\\[minor\\]', RegexOption_IGNORE_CASE_getInstance());
441
+ this.en_1 = Regex_init_$Create$_0('\\[patch\\]', RegexOption_IGNORE_CASE_getInstance());
442
+ this.fn_1 = Regex_init_$Create$_0('\\[none\\]', RegexOption_IGNORE_CASE_getInstance());
443
+ this.gn_1 = Regex_init_$Create$('\\[(?<storyId>.*?)\\]');
444
+ this.hn_1 = Regex_init_$Create$('-(?<ease>[1-5])-');
445
445
  }
446
446
  var Defaults_instance_0;
447
447
  function Defaults_getInstance_0() {
@@ -450,22 +450,22 @@
450
450
  return Defaults_instance_0;
451
451
  }
452
452
  function MessageDigger(majorRegex, minorRegex, patchRegex, noneRegex, storyIdRegex, easeRegex) {
453
- majorRegex = majorRegex === VOID ? Defaults_getInstance_0().zm_1 : majorRegex;
454
- minorRegex = minorRegex === VOID ? Defaults_getInstance_0().an_1 : minorRegex;
455
- patchRegex = patchRegex === VOID ? Defaults_getInstance_0().bn_1 : patchRegex;
456
- noneRegex = noneRegex === VOID ? Defaults_getInstance_0().cn_1 : noneRegex;
457
- storyIdRegex = storyIdRegex === VOID ? Defaults_getInstance_0().dn_1 : storyIdRegex;
458
- easeRegex = easeRegex === VOID ? Defaults_getInstance_0().en_1 : easeRegex;
453
+ majorRegex = majorRegex === VOID ? Defaults_getInstance_0().cn_1 : majorRegex;
454
+ minorRegex = minorRegex === VOID ? Defaults_getInstance_0().dn_1 : minorRegex;
455
+ patchRegex = patchRegex === VOID ? Defaults_getInstance_0().en_1 : patchRegex;
456
+ noneRegex = noneRegex === VOID ? Defaults_getInstance_0().fn_1 : noneRegex;
457
+ storyIdRegex = storyIdRegex === VOID ? Defaults_getInstance_0().gn_1 : storyIdRegex;
458
+ easeRegex = easeRegex === VOID ? Defaults_getInstance_0().hn_1 : easeRegex;
459
459
  if (!contains(storyIdRegex.ac_1, '?<storyId>')) {
460
460
  throw RuntimeException_init_$Create$('StoryIdRegex must include a storyId group. The regex was: ' + storyIdRegex.ac_1);
461
461
  }
462
462
  if (!contains(easeRegex.ac_1, '?<ease>')) {
463
463
  throw RuntimeException_init_$Create$('EaseRegex must include an ease group. The regex was: ' + easeRegex.ac_1);
464
464
  }
465
- this.hm_1 = mapOf([to('major', majorRegex), to('minor', minorRegex), to('patch', patchRegex), to('none', noneRegex)]);
465
+ this.km_1 = mapOf([to('major', majorRegex), to('minor', minorRegex), to('patch', patchRegex), to('none', noneRegex)]);
466
466
  var tmp = this;
467
467
  // Inline function 'kotlin.collections.map' call
468
- var this_0 = this.hm_1;
468
+ var this_0 = this.km_1;
469
469
  // Inline function 'kotlin.collections.mapTo' call
470
470
  var destination = ArrayList_init_$Create$_0(this_0.d1());
471
471
  // Inline function 'kotlin.collections.iterator' call
@@ -479,14 +479,14 @@
479
479
  var tmp$ret$3 = '(?<' + group + '>' + cleaned(regex) + ')?';
480
480
  destination.v(tmp$ret$3);
481
481
  }
482
- tmp.im_1 = joinToString(destination, '');
483
- this.jm_1 = '(' + cleaned(storyIdRegex) + ')?';
484
- this.km_1 = '(' + cleaned(easeRegex) + ')?';
485
- this.lm_1 = '(Co-authored-by: .* <(?<coAuthors>.*)>)?';
486
- this.mm_1 = new Regex(this.im_1 + this.jm_1 + this.km_1 + this.lm_1, setOf([RegexOption_IGNORE_CASE_getInstance(), RegexOption_MULTILINE_getInstance()]));
487
- }
488
- protoOf(MessageDigger).nm = function (input) {
489
- return messageDigResult(this.mm_1.jc(input));
482
+ tmp.lm_1 = joinToString(destination, '');
483
+ this.mm_1 = '(' + cleaned(storyIdRegex) + ')?';
484
+ this.nm_1 = '(' + cleaned(easeRegex) + ')?';
485
+ this.om_1 = '(Co-authored-by: .* <(?<coAuthors>.*)>)?';
486
+ this.pm_1 = new Regex(this.lm_1 + this.mm_1 + this.nm_1 + this.om_1, setOf([RegexOption_IGNORE_CASE_getInstance(), RegexOption_MULTILINE_getInstance()]));
487
+ }
488
+ protoOf(MessageDigger).qm = function (input) {
489
+ return messageDigResult(this.pm_1.jc(input));
490
490
  };
491
491
  function cleaned(_this__u8e3s4) {
492
492
  var first = firstOrNull_0(_this__u8e3s4.ac_1);