Skip to content

Add --group-by team aggregation for org-wide ownership distribution #2

Description

@raiderrobert

Problem

An engineering director wants to understand ownership distribution across the org: which teams own the most repos, which own few, and how many repos are unowned. The tool currently reports per-repo, never per-team.

Current workaround

ownrs org acme-corp --format json | jq <post-processing>

Possible approach

A --group-by team flag on ownrs org that aggregates results by team instead of listing per-repo:

$ ownrs org acme-corp --group-by team

Team               Aligned  Mismatched  Stale  Total
platform           35       2           1      38
frontend           22       0           3      25
backend            18       1           0      19
(unowned)          -        -           -      60

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions