Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.4 KB
Raw Blame
"""Distributed ownership: owners.yaml matcher, schema, resolver, and CLI."""

from .census import TeamTestCensus, census, first_team_owner, runner_for_path, unowned_test_directories
from .codeowners import CodeownersProjection, owner_handle, package_dirs_from, project, spellings
from .github import GitHubLookupError, GitHubOrg
from .matcher import compile_pattern, normalize_path, path_matches_pattern
from .resolver import (
    Addition,
    BatchOwnershipSource,
    DiskSource,
    GitRefSource,
    OwnershipSource,
    OwnersResolver,
    PathKind,
    Purpose,
    RepoRootNotFound,
    Resolution,
    TeamChannel,
    TreeSource,
    team_channel,
    teams_registry,
)
from .schema import Producer, RepoSettings, TeamEntry

__all__ = [
    "Addition",
    "BatchOwnershipSource",
    "CodeownersProjection",
    "DiskSource",
    "GitHubLookupError",
    "GitRefSource",
    "GitHubOrg",
    "OwnersResolver",
    "PathKind",
    "OwnershipSource",
    "Producer",
    "Purpose",
    "RepoRootNotFound",
    "RepoSettings",
    "Resolution",
    "TeamChannel",
    "TeamEntry",
    "TeamTestCensus",
    "TreeSource",
    "census",
    "compile_pattern",
    "first_team_owner",
    "normalize_path",
    "owner_handle",
    "package_dirs_from",
    "path_matches_pattern",
    "project",
    "runner_for_path",
    "spellings",
    "team_channel",
    "teams_registry",
    "unowned_test_directories",
]