lookout

command module
v0.0.0-...-c20e716 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

README

lookout

Go Report Card License Gitlab pipeline status

Watches for Phabricator emails regarding certain tags and forwards them to a Discord webhook.

usage

All config is in environment variables. Make sure to bind mount the directory which new mail will appear in to /mail on the container.

Key Description Type
LOOKOUT_WEBHOOK Discord webhook url string
LOOKOUT_STAMPS Phabricator stamps (X-Phabricator-Stamps, e.g. tag(#ultarviolet) or subscriber(@Sportzpikachu)) to watch for. Lookout will send a webhook if a phabricator email matches any of LOOKOUT_STAMPS. Comma seperated. []string?

planned features

  • reply to message based on Thread-Topic header
    • persistent storage (sqlite?) linking Thread-Topics to latest Discord message id

things i learned in this project

  • go packages
  • gitlab ci/cd
    • setting up a personal runner
    • docker in docker
    • building docker in gitlab ci

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL