Files
teabot/packaging/nfpm.yaml
T
unkinben 1b4448afb4
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
Add teabot daemon implementation
teabot watches Gitea repos and dispatches one-shot Claude Code sessions in
Docker containers to work issues and review PRs, acting as configurable bot
personalities.

Claude-Session: https://claude.ai/code/session_015ur3i7D2azsMAWTSVABApv
2026-07-26 23:36:21 +10:00

59 lines
1.4 KiB
YAML

---
# nfpm config for building the teabot RPM.
# Rendered through envsubst (see scripts/build-rpm.sh) then fed to `nfpm pkg`.
name: ${PACKAGE_NAME}
version: ${PACKAGE_VERSION}
release: ${PACKAGE_RELEASE}
arch: ${PACKAGE_ARCH}
platform: ${PACKAGE_PLATFORM}
section: default
priority: extra
description: "${PACKAGE_DESCRIPTION}"
maintainer: ${PACKAGE_MAINTAINER}
homepage: ${PACKAGE_HOMEPAGE}
license: ${PACKAGE_LICENSE}
disable_globbing: false
replaces:
- teabot
provides:
- teabot
contents:
# The daemon binary.
- src: dist/teabot
dst: /usr/bin/teabot
file_info:
mode: 0755
owner: root
group: root
# systemd user unit (enable with: systemctl --user enable --now teabot).
- src: systemd/teabot.service
dst: /usr/lib/systemd/user/teabot.service
file_info:
mode: 0644
# Example config, installed as documentation.
- src: config.example.yaml
dst: /usr/share/doc/teabot/config.example.yaml
file_info:
mode: 0644
# Shell completions (generated by scripts/build-rpm.sh before packaging).
- src: dist/completions/teabot.bash
dst: /usr/share/bash-completion/completions/teabot
file_info:
mode: 0644
- src: dist/completions/_teabot
dst: /usr/share/zsh/site-functions/_teabot
file_info:
mode: 0644
- src: dist/completions/teabot.fish
dst: /usr/share/fish/vendor_completions.d/teabot.fish
file_info:
mode: 0644