chaoss / grimoirelab-elk

GNU General Public License v3.0
59 stars 120 forks source link

Add methods to add identities from Enrich class #1052

Closed sduenas closed 2 years ago

sduenas commented 2 years ago

The methods 'add_identities' and 'add_identity' have been added to '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.

This helps to fix https://github.com/chaoss/grimoirelab/issues/489.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 2339467735


Files with Coverage Reduction New Missed Lines %
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/git.py 76 71.84%
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/enrich.py 79 72.89%
<!-- Total: 155 -->
Totals Coverage Status
Change from base Build 2313174338: 0.01%
Covered Lines: 8784
Relevant Lines: 10715

💛 - Coveralls