/gitlab-list

Gitlab list tool

Primary LanguageRuby

Gitlab list tool

This script queries a GitLab instance, gets all projects as well as the last commit for each project. The results will be stored in a CSV file with the project id, project name, as well as the date of the last commit as well as the name of the last committer.

Requirements

Usage

Working for the .env.sample file included, create a new .env file and fill out all variables. Install all dependencies via bundle install. Run the script via ./start.rb. Note that the output will overwrite gitlab.csv if it is already present.

Further development

This script can be modified for different queries. Refer to the narkoz/gitlab documentation to see which features are available in the library we use.