fix: run aurweb ssh commands and git scripts in virtualenv
Compare changes
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
Adjust bash wrapper scripts to activate our python virtualenv:
Script execution is triggered from ssh / git. These wrapper scripts then call python scripts created by poetry.
We should make sure that this happens within our venv. (aurweb issue #450)
Previously this was done by using poetry run...
. However, using poetry is costly and adds some delay.
Instead of using poetry, we can just activate our venv and then execute our scripts.
Fixes: b15ac838