forked from chaoss/grimoirelab
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathNEWS
188 lines (151 loc) · 6.66 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
# Releases
## GrimoireLab 0.4.0 - (2022-06-29)
**New components:**
* grimoirelab-toolkit 0.3.1
* perceval 0.19.1
* perceval-mozilla 0.3.1
* perceval-puppet 0.2.1
* perceval-opnfv 0.2.1
* perceval-weblate 0.2.1
* kingarthur 0.3.1
* graal 0.3.1
* elk 0.102.0
* sirmordred 0.3.1
### Perceval
**New features:**
* [confluence] Option `max_contents` to limit the number of requested contents\
This parameter sets the maximum number of contents requested per
query. By default, this number is 200, but this can be changed by
adding the `--max-contents` argument. This will help to bypass those
instances where the maximum limit is lower than Perceval's default
value.
**Bug fixes:**
* [confluence] KeyError exception when arguments not passed to 'fetch_items'\
Required arguments that weren't passed to 'fetch_items' made the code
fail with a KeyError exception.
* [bugzillarest] Failback when checking custom instances\
Some Bugzilla instances return a HTTP 400 error when checking if their
are custom instances or not. On those cases, the backend will capture
the error and consider the version of that Bugzilla instance as
custom.
* [slack] Slack identifier extraction fixed\
Extract the identifier without user information when the user was
deleted.
## GrimoireLab 0.3.0 - (2022-06-07)
**Feature removals:**
* Drop Python 3.6 support\
Python 3.6 has reached the end of life in Dec 2021. This means it
won't receive any further patches to fix the secutiry issues. So,
dropping the support of 3.6 and it now supports Python>=3.7 version
only.
**New components:**
* grimoirelab-toolkit 0.3.0
* perceval 0.18.0
* perceval-mozilla 0.3.0
* perceval-opnfv 0.2.0
* perceval-puppet 0.2.0
* perceval-weblate 0.2.0
* graal 0.3.0
* kingarthur 0.2.0
* sortinghat 0.7.20
* cereslib 0.3.0
* grimoire-elk 0.101.1
* sigils 0.1.0
* sirmordred 0.3.0
* kidash 0.5.0
The following list describes the changes by component:
### Perceval
**New features:**
* [bugzillarest] API Key authentication\
A new authentication is available in the `bugzillarest` backend using
an API Key. This can be provided using the parameter `--api-key` on
the command line. Note that this parameter will invalidate `--backend-
user` `--backend-password`, and `--api-token` parameters. For
developers, this parameter is also available during the initialization
of the class `BugzillaRESTClient` under the name `api_key`.
* Confluence supports fetch by spaces\
This allows fetching confluence by specific spaces. By default it will
fetch the entire instance, but adding the `--spaces` argument will
fetch only these spaces.
### Graal
**Bug fixes:**
* Fix error in update worktree\
Graal wasn't working with the latest version of Git 2.35.1 because it
protects braches checked out in all worktrees. This change renames the
branch created when creating a worktree to fix the issue.
### Sorting Hat
**Bug fixes:**
* [gitdm] Skip invalid format lines\
Gitdm parser won't fail reading files with an invalid format. Instead,
it will ignore invalid content.
### GrimoireELK
**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.
* 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.
### Sir Mordred
**New features:**
* Add extract spaces\
Extract spaces from the URL. By default it will extract labels but
adding `tag_type="spaces"` it will extract spaces.
**Bug fixes:**
* Studies aliases relocated\
Relocate studies aliases so they are not created automatically by
Mordred.
* Add pair-programming in '_get_enrich_backend' method\
Add the `pair-programming` to the `_get_enrich_backend` method if it
exists in the setup.cfg file.
**Feature removals:**
* 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.
**Others:**
* Add studies to the alias file\
Add onion, areas of code, and demographics studies to the file
aliases.json. This is needed to keep this file updated with the
aliases we use in the dashboards by adding them to the appropiate data
sources. The included aliases: - all_onion - git_areas_of_code -
demographics