Skip to content
Snippets Groups Projects
  • Mario Oenning's avatar
    a623aad1
    fix: run aurweb ssh commands and git scripts in virtualenv · a623aad1
    Mario Oenning authored
    
    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.
    
    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.
    
    Signed-off-by: default avatarmoson-mo <mo-son@mailbox.org>
    a623aad1
    History
    fix: run aurweb ssh commands and git scripts in virtualenv
    Mario Oenning authored
    
    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.
    
    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.
    
    Signed-off-by: default avatarmoson-mo <mo-son@mailbox.org>
Code owners