• Stars
    star
    432
  • Rank 100,634 (Top 2 %)
  • Language Roff
  • License
    GNU General Publi...
  • Created about 7 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

GrimoireLab: platform for software development analytics and insights

GrimoireLab

grimoirelab-showcase

GrimoireLab is a CHAOSS toolset for software development analytics. It includes a coordinated set of tools to retrieve data from systems used to support software development (repositories), store it in databases, enrich it by computing relevant metrics, and make it easy to run analytics and visualizations on it.

You can learn more about GrimoireLab in the GrimoireLab tutorial, or visit the GrimoireLab website.

Metrics available in GrimoireLab are, in part, developed in the CHAOSS project. For more information regarding CHAOSS metrics, see the latest release at: https://chaoss.community/metrics/

Getting started

To ease the newcomer experience we are providing a default setup to analyze git activity for this repository. For this set up, there are several options to run GrimoireLab:

Using docker-compose

Requirements:

root@test-68b8628f:~# git --version
git version 2.17.1
root@test-68b8628f:~# docker --version
Docker version 19.03.1, build 74b1e89
root@test-68b8628f:~# docker-compose --version
docker-compose version 1.22.0, build f46880fe

Steps:

  1. Clone this project:
foo@bar:~$ git clone https://github.com/chaoss/grimoirelab
  1. Go to docker-compose folder and run the following command:
foo@bar:~$ cd grimoirelab/docker-compose
foo@bar:~/grimoirelab/docker-compose$ docker-compose up -d

Your dashboard will be ready after a while at http://localhost:8000. The waiting time depends on the amount of data to fetch from a repo, for small repositories you can expect your data to be visible in the dashboard after 10-15 minutes.

More details in the docker-compose folder.

Using docker run

Requirements:

root@test-68b8628f:~# git --version
git version 2.17.1
root@test-68b8628f:~# docker --version
Docker version 19.03.1, build 74b1e89
  • Hardware: 2 CPU cores, 8GB memory RAM and set
  • ElasticSearch and Kibana up and running.
  • SortingHat up and running

Steps:

  1. Clone this project:
$ git clone https://github.com/chaoss/grimoirelab
  1. Go to the project folder and run the following command:
foo@bar:~$ cd grimoirelab
foo@bar:~/grimoirelab $ docker run --net=host \ 
    -v $(pwd)/default-grimoirelab-settings/projects.json:/home/grimoire/conf/projects.json \
    -v $(pwd)/default-grimoirelab-settings/setup-docker.cfg:/home/grimoire/conf/setup.cfg \
    -t grimoirelab/grimoirelab

Your dashboard will be ready after a while at http://localhost:8000. The waiting time depends on the amount of data to fetch from a repo, for small repositories you can expect your data to be visible in the dashboard after 10-15 minutes.

More details in the docker folder.

GrimoireLab components

Currently, GrimoireLab toolkit is organized in the following repositories:

There are also some components built by the GrimoreLab community, which can be useful for you. Other related repositories are:

Contents of this repository

This repository is for content relevant to GrimoireLab as a whole. For example:

  • Issues for new features or bug reports that affect more than one GrimoireLab module. In this case, let's open an issue here, and when implementing the fix or the feature, let´s comment about the specific tickets in the specific modules that are used. For example, when supporting a new datasource, we will need patches (at least) in Perceval, GrimoireELK and panels. In this case, we would open a feature request (or the user story) for the whole case, an issue (and later a pull request) in Perceval for the data retriever, same for GrimoireELK for the enriching code, and same for panels for the Kibiter panels.

  • Release notes for most GrimoireLab components (directory releases).

  • Docker container for showcasing GrimoireLab (directory docker). Includes a Dockerfile and configuration files for the GrimoireLab containers that can be used to demo the technology, and can be the basis for real deployments. See more information in the docker README.md file.

  • If you feel more comfortable with docker-compose, the docker-compose folder includes instructions and configuration files to deploy GrimoireLab using docker-compose command.

  • Source code of the GrimoireLab components is available in src. Each directory is a Git submodule, so its contents will not be available after cloning the repository. To fetch all the data, and get the latest version, you can run the following command:

$ git submodule update --init --remote
  • How releases of GrimoireLab are built and tested: Building

Citation

If you use GrimoireLab in your research papers, please refer to GrimoireLab: A toolset for software development analytics:

APA style:

Dueñas S, Cosentino V, Gonzalez-Barahona JM, del Castillo San Felix A, Izquierdo-Cortazar D, Cañas-Díaz L, Pérez García-Plaza A. 2021. GrimoireLab: A toolset for software development analytics. PeerJ Computer Science 7:e601 https://doi.org/10.7717/peerj-cs.601

BibTeX / BibLaTeX:

@Article{duenas2021:grimoirelab,
  author = 	 {Dueñas, Santiago and Cosentino, Valerio and Gonzalez-Barahona, Jesus M. and del Castillo San Felix, Alvaro and Izquierdo-Cortazar,  Daniel and Cañas-Díaz, Luis and Pérez García-Plaza, Alberto},
  title = 	 {GrimoireLab: A toolset for software development analytics},
  journaltitle = {PeerJ Computer Science},
  date = 	 {2021-07-09},
  volume = 	 7,
  number = 	 {e601},
  doi = 	 {10.7717/peerj-cs.601},
  url = 	 {https://doi.org/10.7717/peerj-cs.601}}

Contributing

Contributions are welcome, please check the Contributing Guidelines.

More Repositories

1

augur

Python library and web service for Open Source Software Health and Sustainability metrics & data collection. You can find our documentation and new contributor information easily here: https://oss-augur.readthedocs.io/en/main/ and learn more about Augur at our website https://augurlabs.io
Python
549
star
2

grimoirelab-perceval

Send Sir Perceval on a quest to retrieve and gather data from software repositories.
Python
281
star
3

metrics

Implementation-agnostic metrics for assessing open source community health. Maintained by the CHAOSS Metrics Committee.
182
star
4

community

This is the main CHAOSS community repository. Feel free to open an issue to discuss a topic of community interest! This repository also holds governance, mentorship, and other community-related documentation
JavaScript
94
star
5

wg-dei

CHAOSS Working Group focused on Diversity, Equity, and Inclusion metrics
84
star
6

prospector

Prospector permits automated collection of a wide range of metrics of open source projects useful in evaluating the project.
Python
67
star
7

grimoirelab-elk

Python
58
star
8

grimoirelab-sortinghat

A tool to manage identities
Python
51
star
9

wg-evolution

Working Group focused on Evolution metrics (for software development projects)
39
star
10

wg-value

CHAOSS Value Working Group
39
star
11

grimoirelab-sirmordred

Orchestrate the execution of GrimoireLab tools to produce a dashboard
Python
35
star
12

website

(Some of the) Content of http://chaoss.community website.
HTML
34
star
13

grimoirelab-sigils

Panels from GrimoireLab dashboards
Python
33
star
14

wg-metrics-development

CHAOSS Common Metrics Working Group
33
star
15

grimoirelab-tutorial

Tutorial for installing, using, developing GrimoireLab
Python
28
star
16

wg-risk

Risk Working Group Repository
26
star
17

grimoirelab-kingarthur

King Arthur commands his loyal knight Perceval on the quest to retrieve data from software repositories.
Python
20
star
18

grimoirelab-graal

A Generic Repository AnALyzer
Python
19
star
19

AFOS-AfricanOpenSource

AFOS (AfricanOpenSource) is a platform for showcasing Open Source projects build by Africans to increase visibility, and expose the projects to more contributors. This was a GitHub-funded project
JavaScript
17
star
20

grimoirelab-manuscripts

Bitergia reports engine
Jupyter Notebook
16
star
21

community-handbook

This is the home of documentation included in the Community Handbook.
15
star
22

chaoss-slack-bot

This holds the code to the CHAOSS slack bot for newcomers to the project
JavaScript
15
star
23

augur-community-reports

A set of Jupyter Lab Notebooks and Other Implementations of Community Reports in Standard Form
Jupyter Notebook
15
star
24

wg-app-ecosystem

Working group for community metrics in the context of the open source app ecosystem
13
star
25

wg-metrics-models

Working Group for Metrics Model
Jupyter Notebook
12
star
26

grimoirelab-kidash

Kidash: A GrimoireLab tool & library to manage Kibana/Kibiter visualizations and dashboards
Python
11
star
27

grimoirelab-cereslib

This project aims at unifying, eventizing and enriching information from the Perceval tool
Python
10
star
28

translations

9
star
29

chaoss-africa

CHAOSS Africa is the local chapter of the CHAOSS Project
9
star
30

wg-science

Focused on the development of metrics, metrics models, and software for improving scientific open source community health and sustainability.
8
star
31

grimoirelab-hatstall

HTML
8
star
32

grimoirelab-toolkit

Toolkit of common functions used across GrimoireLab projects.
Python
6
star
33

augur-license

Augur's Open Source License coverage tool. Provides license identification by file, identification of non-OSI compliant licenses, and percentage of a project with license declarations. Also provides a downloadable SBOM with license information by file. Integrated with Augur, and leveraging Fossology scanners and DosocsV2.
Python
6
star
34

MARS

Metrics Automated Release System
Python
4
star
35

grimoirelab-perceval-weblate

GrimoireLab: Bundle of Perceval backends for Weblate
Python
3
star
36

wg-ospo

3
star
37

education

This holds info on the CHAOSS Onboarding Courses
3
star
38

community-reports

A place to discuss how we package and deliver sets of metrics for open source health reports to users.
3
star
39

grimoirelab-bestiary

Python
3
star
40

grimoirelab-perceval-mozilla

GrimoireLab: Bundle of Perceval backends for Mozilla ecosystem
Python
3
star
41

Accessibility

This holds information on accessibility testing for all websites from the CHAOSS Community.
3
star
42

grimoirelab-elk-gitee

Python
2
star
43

augur-auggie

Auggie implementation utilizing Amazon Lex to classify messages. You can checkout our GitHub Page at https://chaoss.github.io/augur-auggie/
JavaScript
2
star
44

org-affiliation-data

List of domains and organizations for affiliation purposes
2
star
45

grimoirelab-perceval-gitee

GrimoireLab: Bundle of Perceval backends for Gitee
Python
2
star
46

grimoirelab-perceval-opnfv

GrimoireLab: Bundle of Perceval backends for OPNFV ecosystem
Python
2
star
47

wg-un-sdg

UN-SDG working group aims to empower open source communities with metrics to align their contributions with the UN's Sustainable Development Goals (SDGs) and enhance the role of open source in achieving global sustainability.
2
star
48

grimoirelab-perceval-puppet

GrimoireLab: Bundle of Perceval backends for Puppet, Inc. ecosystem.
Python
1
star
49

grimoirelab-github-actions

GrimoireLab CI GitHub actions
1
star
50

wg-data-science

CHAOSS Data Science Working Group: collaborate and improve open source project health using data science-based approaches
1
star
51

chaoss.github.io

GitHub web presence for the CHAOSS Project. Jekyll-based site with a blog, innovation experiments, documentation, and more.
HTML
1
star
52

AFOS-API

Backend service for the African Open Source(AFOS) project
JavaScript
1
star