X-lab2017 / grimoirelab-sigils

Panels from GrimoireLab dashboards
https://chaoss.github.io/grimoirelab-sigils/
GNU General Public License v3.0
0 stars 2 forks source link

[bug] Git-Areas-of-Code panel hava no data #17

Open heming6666 opened 4 years ago

heming6666 commented 4 years ago

The Git-Areas-of-Code panel hava no data, see:

http://159.138.132.150:5601/app/kibana#/dashboard/Git-Areas-of-Code

heming6666 commented 4 years ago

Problem

@WillemJiang This is because we didn't config enrich_areas_of_code in setup-secured.cfg, like:

[git]
raw_index = git_demo_raw
enriched_index = git_demo_enriched
latest-items = true
studies = [enrich_demography:git, enrich_areas_of_code:git, enrich_onion:git]

[enrich_demography:git]

[enrich_areas_of_code:git]
in_index = git_demo_raw
out_index = git-aoc_demo_enriched 

Solution

New version of Grimoirelab-Gitee hava include it defaultly. Try following cmd to update:

$ git clone https://github.com/X-lab2017/grimoirelab.git --depth=1
$ cd grimoirelab/utils
$ ./build_grimoirelab -l debug --logfile /tmp/log --build --install --check \
  --relfile ../releases/gitee/0.1.0 --reposdir /tmp/repos  --reposfile repos-for-gitee.json \
  --venv /tmp/venv --install_venv /tmp/ivenv
$ source /tmp/ivenv/bin/activate

Then update the settings, especially setup-secured-gitee.cfg and projects-gitee.json, and run:

$ cd ../default-grimoirelab-settings/
$ sirmordred -c setup-secured-gitee-source-code.cfg