Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Santiago Dueñas <[email protected]>
  • Loading branch information
sduenas committed Jun 7, 2022
1 parent fe1e05d commit 77bfdfb
Show file tree
Hide file tree
Showing 7 changed files with 309 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: Python ${{ matrix.python-version }} for ES ${{ matrix.elasticsearch-version }}
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8]

steps:
- name: Download distribution artifact
Expand Down
11 changes: 11 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Santiago Dueñas <[email protected]>
Alvaro del Castillo <[email protected]>
Valerio Cosentino <[email protected]>
Quan Zhou <[email protected]>
Alberto Pérez García-Plaza <[email protected]>
Jesus M. Gonzalez-Barahona <[email protected]>
Luis Cañas-Díaz <[email protected]>
Miguel Ángel Fernández <[email protected]>
Jose Javier Merchante <[email protected]>
Angel Jara <[email protected]>
Daniel Izquierdo <[email protected]>
148 changes: 148 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
# Releases

## 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
2 changes: 1 addition & 1 deletion grimoirelab/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440
__version__ = "0.2.69"
__version__ = "0.3.0"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "grimoirelab"
version = "0.2.69"
version = "0.3.0"
description = "Tool set for software development analytics"
authors = [
"GrimoireLab Developers"
Expand Down
146 changes: 146 additions & 0 deletions releases/0.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
## 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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
grimoirelab==0.2.70
grimoirelab==0.3.0
grimoirelab-toolkit==0.3.0
perceval==0.18.0
perceval-mozilla==0.3.0
Expand Down

0 comments on commit 77bfdfb

Please sign in to comment.