Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
notifycat-config
command
Command notifycat-config is the CLI for the declarative config.yaml workflow: `list` prints the file, `validate` runs the cache-aware validation pipeline.
|
Command notifycat-config is the CLI for the declarative config.yaml workflow: `list` prints the file, `validate` runs the cache-aware validation pipeline. |
|
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-migrate
command
Command notifycat-migrate applies the embedded database migrations.
|
Command notifycat-migrate applies the embedded database migrations. |
|
notifycat-reconcile
command
Command notifycat-reconcile is a one-time maintenance tool that marks slack_messages rows closed when their PR is no longer open on GitHub.
|
Command notifycat-reconcile is a one-time maintenance tool that marks slack_messages rows closed when their PR is no longer open on GitHub. |
|
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. |
|
notifycat-smoke
command
Command notifycat-smoke runs an end-to-end delivery test against the running notifycat stack.
|
Command notifycat-smoke runs an end-to-end delivery test against the running notifycat stack. |
|
internal
|
|
|
aireview
Package aireview identifies webhook events from a "bot reviewer" (any account whose sender.type is "Bot") and exposes two orthogonal policies over that identity.
|
Package aireview identifies webhook events from a "bot reviewer" (any account whose sender.type is "Bot") and exposes two orthogonal policies over that identity. |
|
app
Package app is the composition root for notifycat.
|
Package app is the composition root for notifycat. |
|
botpr
Package botpr classifies pull requests opened by dependency-update bots (Dependabot, Renovate) so the notifier can render a compact Slack message instead of the standard "please review" format, and tell routine version bumps apart from security-advisory updates.
|
Package botpr classifies pull requests opened by dependency-update bots (Dependabot, Renovate) so the notifier can render a compact Slack message instead of the standard "please review" format, and tell routine version bumps apart from security-advisory updates. |
|
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 a single config.yaml file.
|
Package config loads runtime configuration from a single config.yaml file. |
|
digest
Package digest posts the scheduled stuck-PR reminder: a per-channel summary of open PRs that nobody has touched since before today.
|
Package digest posts the scheduled stuck-PR reminder: a per-channel summary of open PRs that nobody has touched since before today. |
|
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. |
|
reconcile
Package reconcile backfills the closed_at column on slack_messages rows whose PR is no longer open on GitHub.
|
Package reconcile backfills the closed_at column on slack_messages rows whose PR is no longer open on GitHub. |
|
slack
Package slack talks to the Slack Web API for the PR notifier: posting, updating, and deleting messages, adding emoji reactions, and composing the blocks 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 blocks of the notification. |
|
smoke
Package smoke drives an end-to-end delivery test against a running notifycat stack.
|
Package smoke drives an end-to-end delivery test against a running notifycat stack. |
|
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.