Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
heming6666 opened this issue Aug 26, 2020 · 1 comment
Open

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

heming6666 opened this issue Aug 26, 2020 · 1 comment
Labels
kind/bug Category issues or prs related to bug.

Comments

@heming6666
Copy link

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

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

@menbotics menbotics bot added the kind/bug Category issues or prs related to bug. label Aug 26, 2020
@heming6666
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Category issues or prs related to bug.
Projects
None yet
Development

No branches or pull requests

1 participant