Update PKGBUILD registered to AUR when packages upstream updated.
This may be useful for PKGBUILD maintainers who maintain frequently-updating software.
- Arch User Repository (AUR) account
- SSH keypair
- Public key must be added to your AUR account
- Slack App token
- Create AUR account at https://aur.archlinux.org/
- Generate SSH keypair and add public key to AUR
- Add your PKGBUILD to AUR
- Add Slack App to your workspace
- Invite your app to your workspace / channel
- Generate Slack App token in https://api.slack.com
- Set up
docker-compose.yaml
(Seedocker-compose.yaml.tmpl
in detail) make
- That's all
This expects to be used as Docker container and through docker-compose
, but you can use python/entrypoint.py
directly.
$ python/entrypoint.py -h
Update your PKGBUILD hosted in Arch User Repository (AUR) by your AUR account
Usage:
entrypoint.py
Notes:
Below environment variables must be set when calling this script:
- MAINTAINER: AUR user name
- SLACK_TOKEN: API token for Slack app
- SLACK_CHANNEL: Name of Slack channel where you want to post update result