Skip to content

Latest commit

 

History

3 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Fetch Repos Info

Goal

This script gathers information from the github repos you have access to in your organization.

Installation

Using virtual environment

python3 -m venv fetch-repos
source fetch-repos/bin/activate
pip3 install -r requirements.txt

Global install

pip3 install --user -r requirements.txt

Configuration

The API token needs the following requirements:

  • personal access token classic
  • permissions:

image info

Getting started

python3 extract_repo_info.py \
    -o codeclimate \
    -t $TOKEN \
    -f ./path.csv 
Option Value Description
-o string your organization slug
-t string the token you want to use to execute the requests. The script requests the organization's team. An elevated user token is required
-f file path file to export the data to in a CSV format
‑‑append‑only N/A flag to resume work from where you left off

The script will generate a CSV, one line per repository, with data about commits, contribution activity and contributors.

关于

Fetch Stats over accessible 仓库

Resources

Stars

0 stars

关注者

6 watching

复刻s

发布

Used by

贡献者

Languages