This release is a pre-release and may not be stable for production use.
GrimoireLab
This is the development branch of GrimoireLab 2.x. This software is unstable and lacks of most of the features available in GrimoireLab 1.0. It's also subject to change frequently. Use it under your own risk.
GrimoireLab is an open source data platform for analytics and insights about software development processes. The platform is extensible and modular, designed to add new datasources, metrics, and analytics easily.
GrimoireLab is part of the CHAOSS Project, a Linux Foundation project focused on creating metrics, and software to better understand open source community health.
You can learn more about GrimoireLab in the GrimoireLab tutorial, or visiting the GrimoireLab website.
Installation
Prerequisites
- Linux/MacOS (Windows not supported yet)
- Python >= 3.11
- MySQL >= 8.0/ MariaDB >= 11.4
- Redis / Valkey database
- OpenSearch >= 2.0
To simplify the setup of the development environment, you can use the provided docker-compose-development.yml file. This file deploys the required services for running GrimoireLab in development mode.
Due to this is a development branch, you will have to install poetry first, in order to get other dependencies and packages. You can install it following its documentation.
To build the frontend you will also need to install yarn and node. You can check how to install them following the nvm and yarn documentation.
- node >= 18.0
- yarn >= 4.0
Steps
-
Clone the repository:
git clone -b 2.x https://github.com/chaoss/grimoirelab.git cd grimoirelab
-
Install dependencies, core, and UI:
poetry shell poetry update poetry install
Usage
These are some easy steps to run GrimoireLab - based on a standard configuration. Read the configuration section below for understanding how to configure the platform for your needs.
-
Setup GrimoireLab
grimoirelab admin setup
-
Run GrimoireLab server
grimoirelab run server --dev
-
Run GrimoireLab workers to fetch and eventize data
grimoirelab run eventizers
-
Run GrimoireLab workers to store data
grimoirelab run archivists
Configuration
There are several configuration parameters that you can set before running the platform. Most important ones are related to where your databases servers are running and the users to connect to them. We recommend to use environment variables to define new values.
export GRIMOIRELAB_SETTING=<NEW_VALUE>
Some environment variables you might need to change are:
- GrimoireLab common settings:
GRIMOIRELAB_DEBUG: to activate the debug mode (trueorfalsevalues)
- Redis/Valkey configuration
GRIMOIRELAB_REDIS_HOST: ip address of the serverGRIMOIRELAB_REDIS_PORT: port of the serverGRIMOIRELAB_REDIS_PASSWORD: password for the serverGRIMOIRELAB_REDIS_DB: database number used by GrimoireLab (0to8values)
- MySQL/MariaDB configuration
GRIMOIRELAB_DB_HOST: address of the serverGRIMOIRELAB_DB_PORT: port of the serverGRIMOIRELAB_DB_USER: user with admin permissions on the serverGRIMOIRELAB_DB_PASSWORD: user password to access the serverGRIMOIRELAB_DB_DATABASE: name of the database used by GrimoireLab
- OpenSearch configuration:
GRIMOIRELAB_ARCHIVIST_STORAGE_URL: URL address of the OpenSearch server (include user and password)GRIMOIRELAB_ARCHIVIST_STORAGE_INDEX: name of the index where events will be stored
By default, GrimoireLab uses the configuration defined on the package grimoirelab.core.config.settings. Please refer to this file for default values.
You can use your own file passing it to commands either with the option --config
or with the environment variable GRIMOIRELAB_CONFIG.
Contributing
The general norms for contributions are described in the CONTRIBUTING and CONTRIBUTING WITH CODE documents.
We use a roadmap to outline the direction of GrimoireLab. In the ROADMAP document, we describe the vision and goals of the project and what actions we'll take to achieve them.
You can also check the governance rules for our project and community.
License
This project is licensed under GNU General Public License (GPL), version 3 or later - see the LICENSE file for details.
Metadata
Release files for grimoirelab 2.0.0a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| grimoirelab-2.0.0a2.tar.gz | 15.5 kB | Without provenance | Details for grimoirelab-2.0.0a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| grimoirelab-2.0.0a2-py3-none-any.whl | Python 3 | none | any | Details for grimoirelab-2.0.0a2-py3-none-any.whl |
Total release size: 32.3 kB
Release files / grimoirelab-2.0.0a2.tar.gz
| Download URL | grimoirelab-2.0.0a2.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f9bffdc1a55cb87f163522ce106d2617d553eb5429909b44f026d96112d3c4b
|
|
BLAKE2b-256 checksum How to use checksums |
625a2e130137707b70bb8f2b09eb6a4afb9e3f4e528326f6e4dfcac93f55a0b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.4 Linux/7.0.0-1019-azure
|
Release files / grimoirelab-2.0.0a2-py3-none-any.whl
| Download URL | grimoirelab-2.0.0a2-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfd6db94906cfd61cc5417aecb95b4e483a2880eb65f37922892af2dc06750c8
|
|
BLAKE2b-256 checksum How to use checksums |
61a9a67c42b6afe5a51c1150c441ed15d15b1384e6b87cd5b25c2b8c42f78e82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.5.1 CPython/3.14.4 Linux/7.0.0-1019-azure
|
Security for grimoirelab 2.0.0a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.