Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
notifycat-doctor
command
Command notifycat-doctor runs end-to-end preflight diagnostics for a notifycat installation.
|
Command notifycat-doctor runs end-to-end preflight diagnostics for a notifycat installation. |
|
notifycat-mapping
command
Command notifycat-mapping is the CLI for the declarative mappings.yaml workflow: `list` prints the file, `validate` runs the cache-aware validation pipeline.
|
Command notifycat-mapping is the CLI for the declarative mappings.yaml workflow: `list` prints the file, `validate` runs the cache-aware validation pipeline. |
|
notifycat-migrate
command
Command notifycat-migrate applies the embedded database migrations.
|
Command notifycat-migrate applies the embedded database migrations. |
|
notifycat-server
command
Command notifycat-server starts the HTTP server that receives GitHub webhooks and posts to Slack.
|
Command notifycat-server starts the HTTP server that receives GitHub webhooks and posts to Slack. |
|
internal
|
|
|
app
Package app is the composition root for notifycat.
|
Package app is the composition root for notifycat. |
|
cleanup
Package cleanup runs the scheduled, in-process pruning of stale rows from the slack_messages table.
|
Package cleanup runs the scheduled, in-process pruning of stale rows from the slack_messages table. |
|
config
Package config loads runtime configuration from environment variables (and optionally from a .env file in development).
|
Package config loads runtime configuration from environment variables (and optionally from a .env file in development). |
|
doctor
Package doctor runs end-to-end preflight diagnostics for a notifycat installation.
|
Package doctor runs end-to-end preflight diagnostics for a notifycat installation. |
|
github
Package github is a minimal GitHub API client covering only the endpoints notifycat needs for validation.
|
Package github is a minimal GitHub API client covering only the endpoints notifycat needs for validation. |
|
githubhook
Package githubhook authenticates and parses inbound GitHub webhook requests.
|
Package githubhook authenticates and parses inbound GitHub webhook requests. |
|
mappings
Package mappings owns the declarative repository → Slack-channel configuration: parsing mappings.yaml, the in-memory Provider used at runtime, and the mappings.lock cache that records which entries have been validated.
|
Package mappings owns the declarative repository → Slack-channel configuration: parsing mappings.yaml, the in-memory Provider used at runtime, and the mappings.lock cache that records which entries have been validated. |
|
pullrequest
Package pullrequest holds the domain model for GitHub pull-request events and the handlers that update Slack in response.
|
Package pullrequest holds the domain model for GitHub pull-request events and the handlers that update Slack in response. |
|
slack
Package slack talks to the Slack Web API for the PR notifier: posting, updating, and deleting messages, adding emoji reactions, and composing the text of the notification.
|
Package slack talks to the Slack Web API for the PR notifier: posting, updating, and deleting messages, adding emoji reactions, and composing the text of the notification. |
|
store
Package store owns the database schema, GORM models, repositories, and the goose-driven migration runner.
|
Package store owns the database schema, GORM models, repositories, and the goose-driven migration runner. |
|
validate
Package validate verifies that a repository → Slack-channel mapping is usable end-to-end before GitHub fires a real PR event: the mapping row exists, the channel ID is well-formed, the Slack bot has the right scopes and is a member of the channel, and (when GitHub credentials are available) the webhook is subscribed to the events notifycat needs.
|
Package validate verifies that a repository → Slack-channel mapping is usable end-to-end before GitHub fires a real PR event: the mapping row exists, the channel ID is well-formed, the Slack bot has the right scopes and is a member of the channel, and (when GitHub credentials are available) the webhook is subscribed to the events notifycat needs. |
Click to show internal directories.
Click to hide internal directories.