Kevin F. Haggerty b4f0e2854a Add more logging when multiple fetches are reqd for a day's changes
* This makes it evident that things aren't just hanging

Change-Id: If0e106b43a4616f64f783392c510318d6c02866c
2021-11-06 14:21:02 -06:00
2021-07-31 06:40:11 -06:00
2020-05-02 08:46:23 -06:00
2021-07-31 06:40:11 -06:00
2017-05-01 23:44:37 +03:00
2021-07-31 06:40:11 -06:00
2019-06-13 21:13:08 -06:00

LineageOS contributors cloud generator

To build the jar, run the following:

cd source/
mvn package
cp target/contributors-cloud-generator-1.0.jar ../lib/

If you make changes in source/, this will need to be re-built

If you have a local mirror of all the LineageOS code repositories, then you can reduce the processing time and additional storage space required to build the cloud by telling the tool where your repository exists; otherwise, it will download hundreds of GB of data. Reference your local mirror by doing the following:

export MIRROR_ROOT=/path/to/mirror

If you have a Lineage Gerrit account and wish to authenticate with your credentials, set them via environment variable as such, where xxxxx and yyyyyy are the actual plain-text username and password values:

export GERRIT_USERNAME=xxxxx
export GERRIT_PASSWORD=yyyyy

Not everyone can see every change on Gerrit. Some changes are private for various reasons, some old changes are on branches that are hidden for performance reasons. If you cannot see all the changes then a cloud of 2024x2024 will not be filled; the base image will grow as required, but it will not shrink. You can decrease the initial size by creating a text file containing a single value. For example, a 900x900 initial size cloud can be created by doing the following:

echo "900" > db/last_cloud_size.txt

To generate the code, open a linux console and type:

./generate_wordcloud.sh

This will parse the commit logs in all the LineageOS repos, downloading as required, mix the data and generate a cloud.zip in the output folder. This will take look long time the first time.

The file resources/well-known-accounts.txt allows merging multiple Gerrit accounts into a single cloud entry. The format of this file should match the name of the account and the list of known emails for the account

Name on Gerrit|nick|email1|email2|...

This project is based in a modified version of the kumo library.

Copyright © 2017-2019 The LineageOS Project

Description
contributors-cloud-generator
Readme 93 MiB
Languages
Java 97.5%
Shell 2.5%