- Add CountIssues/CountIssuesByGroup to Storage interface and implement in
DoltStore, EmbeddedDoltStore, and InstrumentedStorage (telemetry pass-through)
- New issueops.CountIssuesInTx / CountIssuesByGroupInTx: SELECT COUNT(*) with
the same filter and wisps-merge semantics as SearchIssuesInTx
- Group-by-label uses subquery (avoids Dolt joinIter panic); other group-bys
use GROUP BY on the main column; assignee/priority keys normalized to match
existing display format ("(unassigned)", "P0"/"P1")
- cmd/bd/count.go: routes through CountIssues (no groupBy) or CountIssuesByGroup
(--by-* flags); total for JSON/human output computed from group sums
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| otlp.go | ||
| storage.go | ||
| telemetry.go | ||