https://github.com/coreos/rhcosbot
RHCOS Bugzilla bot
https://github.com/coreos/rhcosbot
Last synced: 12 months ago
JSON representation
RHCOS Bugzilla bot
- Host: GitHub
- URL: https://github.com/coreos/rhcosbot
- Owner: coreos
- License: apache-2.0
- Created: 2021-07-16T20:20:06.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-29T10:19:52.000Z (about 1 year ago)
- Last Synced: 2025-04-29T11:26:57.243Z (about 1 year ago)
- Language: Python
- Homepage: https://quay.io/repository/coreos/rhcosbot
- Size: 62.5 KB
- Stars: 0
- Watchers: 12
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RHCOS bot
This is a Slack bot to help with managing RHCOS backports and bootimage bumps. It is stateless (except for some replay protection on Slack messages) and command-driven, pulling all of its data from Jira.
## Data model
See [this document](docs/data-model.md).
## Installing
A `setup.cfg` would be nice, but we don't have one right now.
```sh
cd ~
git clone https://github.com/coreos/rhcosbot
cd rhcosbot
virtualenv env
env/bin/pip install -r requirements.txt
env/bin/python rhcosbot.py
```
Alternatively, a [container image](https://quay.io/repository/coreos/rhcosbot) is available.
You'll also need to set up a Slack app in your workspace and get an API token for it, and to get a Jira API key.
## Slack scopes
- `channels:read` - view public channels in a workspace
- `app_mentions:read` - receive commands via mentions in channel
- `chat:write` - send threaded replies to channel
- `im:write` - send error reports to the bot administrator
- `reactions:write` - react to command messages to indicate status
- `groups:read` - view private channels the bot has been invited to
- `groups:write` - send threaded replies to private channels
## Config format
See [config.example](config.example). Put this in `~/.rhcosbot` by default.