Skip to main content

Crate tga

Crate tga 

Source
Expand description

§tga — trusty-git-analytics

Developer productivity analytics from git history. This crate exposes a three-stage pipeline (collect → classify → report) as a library, plus the tga binary that drives it.

§Modules

  • core — shared types, config, database, error definitions
  • collect — Stage 1: git extraction and external-system fetches
  • classify — Stage 2: four-tier commit classification cascade
  • report — Stage 3: CSV / JSON / Markdown report generation
  • commands — the subcommand handlers main.rs dispatches into
  • audit — the one-shot AUDIT sweep that drives those handlers end to end
  • profile — longitudinal per-contributor quality profiling (#5463)

Modules§

audit
AUDIT mode — the one-shot, full-dataset sweep behind tga audit (DOC-67).
classify
Stage 2 of the pipeline: classify each collected commit using a four-tier cascade.
collect
Stage 1 of the pipeline: extract commit data from local git repositories and correlate it with external systems (GitHub pull requests, JIRA tickets, developer identity records). All output is persisted via crate::core::db::Database.
commands
Subcommand implementations for the tga binary.
core
Shared types, configuration, database schema, and error definitions.
profile
Longitudinal contributor profiling.
report
Stage 3 of the pipeline: read classified commits from a SQLite database and generate CSV, JSON, and Markdown reports.