Search Criteria
Package Details: mautrix-telegram 0.2607.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/mautrix-telegram.git (read-only, click to copy) |
|---|---|
| Package Base: | mautrix-telegram |
| Description: | Matrix-Telegram hybrid puppeting/relaybot bridge |
| Upstream URL: | https://github.com/mautrix/telegram |
| Licenses: | AGPL-3.0-or-later |
| Submitter: | BrainDamage |
| Maintainer: | BluePeril |
| Last Packager: | BluePeril |
| Votes: | 9 |
| Popularity: | 0.000017 |
| First Submitted: | 2020-11-09 15:48 (UTC) |
| Last Updated: | 2026-07-16 14:10 (UTC) |
Dependencies (4)
- gcc-libs (gcc-libs-gitAUR, gcc-libs-fast-optimizedAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- libolm (libolm-gitAUR)
- go (go-gitAUR, gcc-go-gitAUR, goup-rsAUR, go-binAUR, gcc-go-snapshotAUR, gcc-go) (make)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6
BubuIIC commented on 2020-06-12 09:44 (UTC) (edited on 2020-06-12 09:46 (UTC) by BubuIIC)
I have a few suggestions for improving the package. Some of those might be hard to do as an upgrade path, not sure currently.
Instead of moving the example config to /etc/mautrix-telegram/example-config.yaml I'd link it instead from the package dir. The bridge needs the example config at runtime and it will automatically find it there. (The package currently uses the user generated config also as "example config" in the service file which only works as long as you do manual config migrations on every update.)
I added the alembic upgrade head call to the systemd service file as an ExecStartPre command:
ExecStartPre=/usr/bin/alembic -c /etc/mautrix-telegram/alembic.ini -x config=/etc/mautrix-telegram/config.yaml upgrade head(When the working dir is also changed as below, the alembic.ini needs to be edited to point to the absolute path/etc/mautrix-telegram/alembic/dir.)I also enabled systemd's DynamicUser feature with this:
sakaru commented on 2020-02-05 13:31 (UTC)
I see that you have a post_remove function to rm -rf /etc/mautrix-telegram/. I think it's better to instead declare /etc/mautrix-telegram/config.yaml (and perhaps /etc/mautrix-telegram/registration.yaml) as specify them as backup files (which will rename them with a .pacsave suffix). See how nginx specified backup files as an example.
« First ‹ Previous 1 2 3 4 5 6