chaoss / grimoirelab-elk

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

[enriched/github] Add demography study #981

Closed zhquan closed 3 years ago

zhquan commented 3 years ago

This code allows executing demography study.

Test added accordingly.

Signed-off-by: Quan Zhou quan@bitergia.com

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 863807671


Files with Coverage Reduction New Missed Lines %
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/github.py 64 75.79%
<!-- Total: 64 -->
Totals Coverage Status
Change from base Build 835557357: 0.005%
Covered Lines: 8622
Relevant Lines: 10477

💛 - Coveralls
ajaragz commented 3 years ago

Changes seem fine. To test them, I've created a demography study for Github

[github]
...
studies = [enrich_demography:github]

...

[enrich_demography:github]

These required settings should probably be also added to the Github section in the Mordred docs https://github.com/chaoss/grimoirelab-sirmordred#github-

After running mordred, the documents in the Github issue index now have the demography_max_date and demography_max_date fields-

LGTM