grimoirelab-elk
grimoirelab-elk copied to clipboard
SCMS Implementation
Implementing Social Currency Metric System in Grimoirelabs for GSoC'20 This PR is in extension to the PR at chaoss/grimoirelab-elk#887
For testing purposes, use projects.json as:
{
"chaoss": {
"scmsgithub": [
"https://github.com/chaoss/grimoirelab-perceval",
"https://github.com/chaoss/grimoirelab-elk"
],
"scmspipermail": [
"https://lists.linuxfoundation.org/pipermail/grimoirelab-discussions/"
],
"scmssupybot": [
"irc://chat.freenode.net/chaoss-community /irclogs/freenode/#chaoss-community",
"irc://chat.freenode.net/grimoirelab /irclogs/freenode/#grimoirelab"
]
}
}
Setup.cfg :
[scmspipermail]
raw_index = scmspipermail_chaoss_raw
enriched_index = scmspipermail_chaoss_enriched
no-ssl-verify = true
studies = [enrich_extra_data:scms]
[scmsgithub]
raw_index = scms_github_issues_chaoss_raw
enriched_index = scms_github_issues_chaoss_enriched
api-token = xxxx
sleep-for-rate = true
no-archive = true
category = issue
sleep-time = 300
studies = [enrich_extra_data:scms]
[scmssupybot]
raw_index = data_irc_raw
enriched_index = supybot_enriched
studies = [enrich_extra_data:scms]
[enrich_extra_data:scms]
json_url = https://gist.githubusercontent.com/ria18405/630346bac7856658fd19ed63bce4d9c0/raw/61d3afc8aab75219f8ab67218ec377a641cd664b/try.json
SCMS Enrichers and related tests have been added.
Pull Request Test Coverage Report for Build 2393
- 0 of 0 changed or added relevant lines in 0 files are covered.
- 111 unchanged lines in 2 files lost coverage.
- Overall coverage increased (+0.1%) to 82.271%
Files with Coverage Reduction | New Missed Lines | % |
---|---|---|
/home/travis/build/chaoss/grimoirelab-elk/grimoire_elk/utils.py | 52 | 66.42% |
/home/travis/build/chaoss/grimoirelab-elk/grimoire_elk/enriched/enrich.py | 59 | 73.67% |
<!-- | Total: | 111 |
Totals | |
---|---|
Change from base Build 2384: | 0.1% |
Covered Lines: | 8724 |
Relevant Lines: | 10604 |
💛 - Coveralls
Closing this PR due to inactivity.