Expand description
Multi-connection ticket config and the provider registry (ADR 0010).
A tickets.toml holds an array of [[connection]] tables. This crate parses
it and is the registry that turns each connection into a
Box<dyn TicketSource> — it sits above the connector crates, which would
otherwise be a dependency cycle (they depend on gonzalo-ticket for the
trait). Secrets are referenced by env-var name, never stored in the file.
Structs§
- Config
- Top-level config: a list of connections.
- Connection
- One ticket connection.
Enums§
- Config
Error - Config / registry failures.
Functions§
- build_
source - The registry: map a connection’s
providerto a constructed source. - load
- Load and parse a
tickets.tomlfrom disk. - parse
- Parse config from a TOML string.
- parse_
category - Parse a normalized state-category name (
triage,backlog,open,in_progress,pending,done,canceled) into a [StateCategory]. ReturnsNonefor any other string. Shared by config parsing and the CLI. - write_
targets - Parse a connection’s
set_targets(category-name → column) into typed categories.
Type Aliases§
- Named
Source - A named, live ticket source built from a connection:
(connection name, source).