Andrii Ostapenko 8b5345b458 Adds support of multiple gerrit_ids
Previously only one gerrit_id for user_profile was supported and took
part in record_processing. In case of using multiple Gerrits or multiple
gerrit_ids in one Gerrit, while merging profiles all except one
gerrit_ids were rejected.

This commit adds new user gerrit_ids user_profile key containing all
required mapping between multiple Gerrits and gerrit_ids. Each gerrit_id
acts the same way as old gerrit_id during review record processing, that
potentially increases success rate of record identification and
decreses amount of unnecessary launchpad user queries by storing user
with all gerrit_ids as a primary key instead of one.

Also changes to UI added to represent multiple Gerrit accounts.

Change-Id: Id20c7ed46cd409946b9a5247a94331860895f859
2019-06-20 15:20:41 +00:00
2019-03-09 18:11:24 +04:00
2019-05-27 08:06:58 +00:00
2018-07-06 17:22:46 +07:00
2019-04-19 19:51:10 +00:00
2018-07-06 17:22:46 +07:00
2019-05-27 14:38:53 +00:00
2017-03-24 13:15:33 -07:00
2013-06-22 15:42:32 +04:00
2013-06-22 15:42:32 +04:00
2018-11-06 01:31:46 -08:00

Stackalytics

Application Features

Stackalytics is a service that automatically analyzes OpenStack development activities and displays statistics on contribution. The features are: * Extraction of author information from git log, store it in the database; * Calculate metrics on number of lines changed (LOC) and commits; * Mapping authors to companies and launchpad ids; * Filter statistics by time, modules, companies, authors; * Extract blueprint and bug ids from commit messages; * Auto-update of database.

Quickstart

To run Stackalytics, you first need to create two kind of configuration files. The one is default_data.json which shows which sources(git repo, ml, etc.) need to be analyzed. Another is stackalytics.conf which shows basic configuration like HTTP listening host and port, etc. Stackalytics repository contains the default files of these configuration under etc/ directory. It would be useful to copy and change them as you like.

  1. You need to install Stackalytics. This is done with pip after you check out Stackalytics repository:

    $ git clone https://git.openstack.org/openstack/stackalytics
    $ cd stackalytics
    $ sudo pip install -r requirements.txt
    $ sudo python setup.py install
  2. Install and run memcached DB:

    $ sudo apt-get install memcached
    $ memcached -u memcache -d
  3. Analyze data which are specifed on default_data.json and store the data into memcached DB:

    $ stackalytics-processor
  4. Start HTTP server of Stackalytics:

    $ stackalytics-dashboard
  5. Users can access Stackalytics site on http://127.0.0.1:8080 as the default.

Project Info

Description
OpenStack analytics dashboard
Readme 40 MiB
Languages
Python 61.6%
HTML 18.9%
JavaScript 12%
CSS 7.5%