-
Notifications
You must be signed in to change notification settings - Fork 121
/
NEWS
846 lines (614 loc) · 31 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
# Releases
## grimoire-elk 1.3.1 - (2024-11-13)
* Update Poetry's package dependencies
## grimoire-elk 1.3.0 - (2024-10-15)
**New features:**
* Keywords data on enriched items\
Keywords field is included now on the enriched items of bugzilla and
bugzillarest indices.
* New reponse times on bugzilla items\
The Bugzilla enriched items include two new fields to track response
times on these type of repositories. The field
`time_to_first_attention` is the the time expressed in days between
the ticket creation and the first comment from a contributor different
from the author creating the bug. The field `last_comment_date` is the
date of the last comment posted in the bug.
**Bug fixes:**
* All references processed for the reference analysis study\
The `enrich_reference_analysis` study analyzes the cross-references
between "issues" and "pull request". When we use an aggregations
query, it returns only the first 10 items (ElasticSearch/OpenSearch by
default). By using 'composite aggregations', we can paginate the
result and thus, obtain all the references.
## grimoire-elk 1.2.0 - (2024-09-23)
**New features:**
* Status in SUMO enriched index\
Add the missing status in the SUMO backend. The status could be
`solved`, `archived`, `locked` or `open`.
**Bug fixes:**
* Avoid UNDEFINED values in author fields\
Avoid `-- UNDEFINED --` values for all SortingHat fields when Mordred
loses connection to the SortingHat server during the enrichment or
autorefresh execution. It will keep the values of the `name`, `email`,
`id` and `uuid` fields.
* Handle OpenSearch page info on pagination\
In OpenSearch and ElasticSearch < 7.x the page info on pagination is
different. This will handle both of them.
**Dependencies updateds:**
* Python minimum version updated\
Python 3.8 will reach its end of life in October 2024. Python 3.9 is
the minimum version required by the project.
## grimoire-elk 1.1.5 - (2024-08-30)
**Bug fixes:**
* Git branches study improved\
Previously, while the branches study was running, the `branches` field
remained empty or partially filled until the study was completed,
leading to incorrect data being displayed on the dashboard. With this
change, the branches field is updated only after the study has
finished.
## grimoire-elk 1.1.4 - (2024-08-13)
**Bug fixes:**
* Roles attribute not available on some enrichers\
The 'roles' attribute wasn't available for all the enrichers. The
attribute has been added to the main class 'Enrich' so subclasses will
have it available even when they don't use it.
## grimoire-elk 1.1.3 - (2024-08-09)
**Bug fixes:**
* GitHub URL ending with slash failed (#1159)\
GrimoireLab failed to run with GitHub URLs ending in a slash
* Identity refresh bug for some items (#1161)\
Update the filter construction to correctly match UUIDs in OpenSearch,
addressing a bug in Mordred that prevented role identities from being
refreshed.
## grimoire-elk 1.1.2 - (2024-08-02)
**Bug fixes:**
* Git branches study fixed\
Git branches study was assigning branches to wrong commits.
## grimoire-elk 1.1.1 - (2024-06-21)
**Bug fixes:**
* Kitsune mapping updated\
Kitsune raw mapping was incorrectly defined with `dynamic: false` in
the data attribute.
## grimoire-elk 1.1.0 - (2024-05-09)
**New features:**
* Kitsune fields updated\
Include new fields in Kitsune backend enriched index. Include
`product` and `url` fields in answers, and
`is_kitsune_question_solved`, `time_to_first_reply` and `url` in
questions.
## grimoire-elk 1.0.0 - (2024-04-13)
**New features:**
* First major release\
GrimoireLab reached a stable status. This is our first major release.
**Bug fixes:**
* MBOX origin URL anonymized\
Remove credentials from MBOX origin URL and tag fields.
## grimoire-elk 0.111.1 - (2024-03-27)
**Bug fixes:**
* Kitsune inmerse terms error\
Update raw mapping of Kitsune indexes to handle immense terms found in
`data.answers_data.content`, and `data.content`.
## grimoire-elk 0.111.0 - (2024-03-12)
**New features:**
* Kitsune demography study\
Include demography study in Kitsune (SUMO). And update the index to
include standard fields such as a unique identifier (`id`) and some
missing fields like `origin` or `uuid`.
## grimoire-elk 0.110.0 - (2024-03-01)
**New features:**
* Kitsune raw mapping updated\
Update the mapping for Kitsune backend to fix an error inserting
Perceval items in the raw index when the field 'data.metadata.value'
is too big.
## grimoire-elk 0.109.8 - (2024-02-19)
* Update Poetry's package dependencies
## grimoire-elk 0.109.7 - (2024-02-08)
**Bug fixes:**
* Bug on some backends enrichment\
Mediawiki, Meetup are Jira were failing to retrieve the enrollment for
an identity.
## grimoire-elk 0.109.6 - (2024-02-01)
* Update Poetry's package dependencies
## grimoire-elk 0.109.5 - (2024-01-30)
* Update Poetry's package dependencies
## grimoire-elk 0.109.4 - (2023-12-19)
* Update Poetry's package dependencies
## grimoire-elk 0.109.3 - (2023-11-28)
* Update Poetry's package dependencies
## grimoire-elk 0.109.2 - (2023-11-17)
* Update Poetry's package dependencies
## grimoire-elk 0.109.1 - (2023-11-03)
* Update Poetry's package dependencies
## grimoire-elk 0.109.0 - (2023-10-20)
**New features:**
* Anonymize repository URLs in graal backend\
The raw data generated by the graal backend had non-anonymized URLs on
the meta fields 'origin' and 'tag'. This was necessary to generate
enriched data for non-public repositories.
* Bug description in Bugzilla\
Include the description of the bugs in Bugzilla. The new fields are
'description' and 'description_analyzed'. The second allows to query
any of the words of the description.
* SortingHat backend name per data source\
Allow to define the name of the backend for the identities stored in
SortingHat. From now on github2 is renamed as github in SortingHat
identities.
**Bug fixes:**
* Individual `id` incorrectly assigned\
Correct a bug that results in enriched items using the individual ID
as the identity ID, and vice versa.
* Error in OpenSearch response stops demography study\
Fix an issue that stops demography study when OpenSearch occasionally
provides a response without some expected fields.
* Undefined identities in GitHub comments\
Fix a bug that causes certain identities from commentaries to not be
imported into SortingHat, resulting in them appearing as UNDEFINED in
OpenSearch.
**Dependencies updateds:**
* Add Python 3.9 and 3.10 and drop 3.7 support\
Python 3.7 reached the end of life phase on June 27 2023 and is no
longer supported.
* Bump urllib3 version\
Bump urllib3 from ^1.26 to ^2.0.7
* Remove Python pymsql dependency\
Remove the dependency with PyMySQL because it is not used anymore.
## grimoire-elk 0.108.1 - (2023-08-06)
* Update Poetry's package dependencies
## grimoire-elk 0.108.0 - (2023-07-23)
**Bug fixes:**
* Enrich items with multiple enrollments\
The `date` field must be a string since improved performance by
decreasing calls to the `str_to_datetime` method.
**Performance improvements:**
* Load identities performance\
Improve the load identities process performance by reducing the number
of queries to SortingHat.
## grimoire-elk 0.107.0 - (2023-07-11)
**Performance improvements:**
* Enrichment processing time reduced by 50%\
The general performance was improved reducing the number of calls to
the identities manager (i.g. `SortingHat`). There were some deprecated
calls that weren't needed any longer and also, we increased the cache
of individuals in ELKs. We were also able to reduce the processing
time of the Git backend by converting commit dates only once.
## grimoire-elk 0.106.0 - (2023-06-28)
**Performance improvements:**
* Refreshing identities performance\
Decrease the time required to execute the autorefresh process by
reducing the number of queries to SortingHat.
## grimoire-elk 0.105.0 - (2023-05-17)
**Breaking changes:**
* SortingHat configuration\
When SortingHat's multi-tenancy is enabled, the tenant is included in
all clients during execution.
## grimoire-elk 0.104.6 - (2023-04-28)
* Update Poetry's package dependencies
## grimoire-elk 0.104.5 - (2023-04-27)
* Update Poetry's package dependencies
## grimoire-elk 0.104.4 - (2023-04-26)
* Update Poetry's package dependencies
## grimoire-elk 0.104.3 - (2023-04-21)
**Bug fixes:**
* Fix typo in SortingHat fields\
Some fields were not updated from the old version of SortingHat. Now
the API returns 'isBot' and 'genderAcc' instead of 'is_bot' and
'gender_acc'.
**Breaking changes:**
* Define date format for Git documents\
Git by default uses a custom date format that is not recognized by
Elastic/OpenSearch. Specify the format for the AuthorDate and
CommitDate fields in Git documents to support the formats usually
returned by `git log`. This allows us to do proper filtering on these
fields such as "all documents with CommitDate before 2020".
* Update support for ES/OS versions > 7.X/1.X\
Currently the support for ES/OS versions > 7.X/1.X is broken due to a
faulty version check. Add a static method to the Elasticsearch object
that correctly checks whether the version is 'legacy' (defined as ES
6.X or OS 0.X) and adds this check to various places in the codebase.
Additionally, fixes an instance where `interval` is used instead of
`fixed_interval`. `interval` was deprecated in ES7.
## grimoire-elk 0.104.2 - (2023-02-03)
* Update Poetry's package dependencies
## grimoire-elk 0.104.1 - (2023-02-01)
* Update Poetry's package dependencies
## grimoire-elk 0.104.0 - (2023-02-01)
**Bug fixes:**
* SortingHatClientError exception fixed\
Exception raised with SortingHatClientError has been fixed in
add_identity method.
* SortingHat mandatory parameters\
Include SortingHat 0.8.x mandatory parameters. Now `sh_port`,
`sh_path`, `sh_ssl` are required.
**Breaking changes:**
* Support of SortingHat 0.8\
GrimoireLab starts using a new version of SortingHat. SortingHat is
now a web service that provides an API to manage identities and
organizations. GrimoireELK now connects to the new SortingHat database
using GraphQL. The previous version of SortingHat is now deprecated.
## grimoire-elk 0.103.3 - (2022-11-07)
**Bug fixes:**
* Demographic study on Weblate fixed\
Weblate demographic study is now updated to allow passing the study
alias name by parameter.
## grimoire-elk 0.103.2 - (2022-10-31)
**New features:**
* Development and reviewing contributors fields for Git items\
New information about the participants during the development and the
reviewing processes are available in `Git` items. The Git backend
extracts these data from `Approved-by`, `Co-authored-by`, and
`Merged-by` trailers that some commit messages might include. For each
one of these trailers, new fields will be available with the suffixes:
`_bots`, `_domains`, `_names`, `_org_names`, and `_uuids`. Also for
each one of these suffixes, there will be extra fields with the prefix
`non_authored_`. This is an example of the fields available for the
the trailer `Merged-by`: - merged_by_multi_bots -
merged_by_multi_domains - merged_by_multi_names -
merged_by_multi_org_names - merged_by_multi_uuids -
non_authored_merged_by_multi_bots -
non_authored_merged_by_multi_domains -
non_authored_merged_by_multi_names -
non_authored_merged_by_multi_org_names
* Option 'to-date' on the backend sections\
The option `to-date` on the `setup.cfg` allows fetching data until a
specific date. By default, this value is `2100-01-01`.
**Bug fixes:**
* Onion study on Github pull requests fixed\
Github pull requests onion study is now updated to allow passing the
study alias name by parameter.
* Onion study on Gitlab fixed\
Gitlab onion study is now updated to allow passing the study alias
name by parameter.
**Dependencies updateds:**
* New Pandas version\
Update Pandas to the newest version compatible with Python 3.7+.
## grimoire-elk 0.103.0 - (2022-09-26)
**New features:**
* git-branches study skip uncloned repo\
The git-branches study skips the repository when it is not cloned and
continues with the next one.
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.10 - (2022-09-26)
**New features:**
* git-branches study skip uncloned repo\
The git-branches study skips the repository when it is not cloned and
continues with the next one.
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.9 - (2022-09-26)
**New features:**
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
* git-branches study skip uncloned repo\
The git-branches study skips the repository when it is not cloned and
continues with the next one.
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.8 - (2022-09-26)
**New features:**
* git-branches study skip uncloned repo\
The git-branches study skips the repository when it is not cloned and
continues with the next one.
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.7 - (2022-09-23)
**New features:**
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
* git-branches study skip uncloned repo\
The git-branches study skips the repository when it is not cloned and
continues with the next one.
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.6 - (2022-09-23)
**New features:**
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
* git-branches study skip uncloned repo\
The git-branches study skips the repository when it is not cloned and
continues with the next one.
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.5 - (2022-09-23)
**New features:**
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
* git-branches study skip uncloned repo\
The git-branches study skips the repository when it is not cloned and
continues with the next one.
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.4 - (2022-09-07)
**New features:**
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
* git-branches study skip uncloned repo\
The git-branches study skips the repository when it is not cloned and
continues with the next one.
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.3 - (2022-08-23)
**New features:**
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.2 - (2022-07-22)
**New features:**
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## grimoire-elk 0.103.0-rc.1 - (2022-07-21)
**New features:**
* Entry points to support enriching plugin mechanism\
This plugin mechanism allows ELK to use third-party enriching
backends. Developers only need to include the next snippet in their
package configuration and ELK will import them as any other core
backend. ``` entry_points={"grimoire_elk": "mybackend =
package.subpackage:get_connectors"}, ``` **NOTE**: In the previous
example, `get_connectors` is a function that returns the backend
classes needed to enrich a datasource. Take the next snipped as an
example: ``` def get_connectors(): return {"backend": [MyBackend,
MyBackendOcean, MyBackendEnrich, MyBackendCommand]} ```
* Configurable study aliases\
Before this fix, the name of the study aliases was hard coded. From
now on, these values can be configured by passing them as parameters.
**Bug fixes:**
* [raw/slack] Handle fields in "data.file"\
Avoid the 'Failed to insert data to ES' error when a document contains
at least one immense term in 'data.file' (whose UTF8 encoding is
longer than the max length 32766).
## GrimoireELK 0.102.0 - (2022-06-24)
**Bug fixes:**
* Poetry build version updated\
The current version of the `poetry` builder was old and caused some
problems when installing packages in developer mode. With this new
version, it's possible to install ELK in developer or editable mode
without using `setuptools` files (i.e. `setup.cfg` and `setup.py`).
**Others:**
* GrimoireLab dependencies update\
Dependencies have been updated to use the latest versions of
GrimoireLab packages:
- grimoirelab-toolkit >= 0.3
- perceval >= 0.19
- perceval-mozilla >= 0.3
- perceval-opnfv >=0.2
- perceval-puppet >= 0.2
- perceval-weblate >= 0.2
- graal >= 0.3
- cereslib >= 0.3
## GrimoireELK 0.101.1 - (2022-06-03)
**Bug fixes:**
* Pair programming regular expression improvement\
The regular expression to detect pair programming authors in git
datasource has been improved adding more connectors. The following
list shows the current connectors: - `[aA][nN][dD]` - `&` - `+`
* Fix fetching authors with min and max dates\
The old query only returns 10000 items due to ElasticSearch and
OpenSearch now use `composite` aggregation to paginate all buckets.
## GrimoireELK 0.101.0 - (2022-06-03)
**New features:**
* Anonymize parameters\
A new API function `anonymize_params(params)` allows to anonymize a
list of parameters that developers might consider secrets. It will
only take effect for those parameters which their names are defined on
`SECRET_PARAMETERS` constant.
* Dependencies file for development\
Include a new requirements.txt file to install the development version
from the repositories.
* Support to add identities to SortingHat from Enrich class\
New methods `add_identities` and `add_identity` are available on
`Enrich` class to add new identities to a `SortingHat` database.
Libraries using `elk` won't need to use `sortinghat` library to store
new identities while enriching items.
* Collect and enrich confluence by spaces\
Users can collect and enrich Confluence data from specific spaces
only, adding the option `--spaces=[SPACE1, SPACE2, ...]` to their
`projects.json`. The following example shows how to collect and to
enrich data from only the `DEV` and `SUPP` spaces only. ``` {
"project": { "confluence": [ "http://example.com
--spaces=[DEV, SUPP]" ] } } ```
* Add demographic study to mattermost\
Add the demographic study to the mattermost data source.
**Bug fixes:**
* Skip sources with wrong arguments\
Sources won't interrupt collection or enrichment processes when any of
their arguments are invalid. Instead, they will be skipped.
* Git fix 'is_git_commit_multi_author'\
This fixes the `is_git_commit_multi_author` field when the commit has
more than one author and `pair-programming` is enabled. This is
important for calculating `pair_programming_*` values.
* SortingHat as a required package\
SortingHat is required for running grimoireelk but it was set as an
extra dependency. From now on sortinghat is always installed with
grimoireelk.
* Confluence credentials not stored in raw indexes\
Credentials for Confluence datasource were stored in raw indices as
part of the URL. For now on, credentials that are part of URLs are
removed before any data is stored.
**Feature removals:**
* Drop Python 3.6 support\
Python 3.6 reached the end of life at the end of 2021. This means it
won't receive new updates or patches to fix security issues.
Therefore, this package will only work with Python >= 3.7 from now on.
* FINOS Meeting backend removed\
FINOS Meeting backend is not supported anymore. The Perceval backend
was archived in Bitergia repository so it shouldn't be part of the
core anymore because it's software not maintained.
## GrimoireELK 0.75.0 - (2020-06-20)
**New features:**
* Add support for RocketChat (#876)\
Added support for collecting and enriching the messages of RocketChat
instances. The schema of the enriched data has been included. Tests
have been added too. This work is a community contribution, which has
been possible thanks to Obaro Ikoh and Animesh Kumar.
## GrimoireELK 0.72.0 - (2020-04-24)
**New features:**
* code complexity per language (#782)\
Add language differentiation to code complexity analysis (Cocom)
* Add support for Gitter (#820)\
Added support for creating raw and enriched indexes of message from
Gitter. The visualizations and tests for extracted data have also been
added.
* Add support for Pagure (#821)\
Added support for creating raw and enriched indexes of Pagure. Issued
from a Pagure repository are enriched. Additionally, the comments of
these issues (if present) are also enriched. The schema for this
backend has also been added. Tests have been included accordingly.
* Store and process GitHub events\
ELK is enhanced to process and store events collected from the GitHub
API. The events currently supported are - LabeledEvent -
UnlabeledEvent - AddedToProjectEvent - MovedColumnsInProjectEvent -
RemovedFromProjectEvent - CrossReferencedEvent - ClosedEvent
**Bug fixes:**
* Fix missing geolocation in Meetup event (#826)\
This fix allows to process Meetup events for which geolocation
information isn't provided. For these events, the corresponding
attribute in the enriched index (`venue_geolocation`) is set to None.