Skip to content
Snippets Groups Projects
Verified Commit 0c6fcfc5 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

aurweb: make dat ssh faster (~5,7sec -> ~3sec)

parent f45c7dfd
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !612. Comments created here will be created in the context of that merge request.
[virtualenvs]
in-project = true
......@@ -144,6 +144,12 @@
priv="{{ aurweb_db }}.*:ALL"
no_log: true
- name: create directory for poetry configuration
file: path={{ aur_user.home }}/.config/pypoetry state=directory owner={{ aur_user.name }} group={{ aur_user.name }} mode=0755
- name: install poetry configuration
copy: src=config.toml dest={{ aur_user.home }}/.config/pypoetry/ owner={{ aur_user.name }} group={{ aur_user.name }} mode=0644
- name: initialize the database
command: poetry run python -m aurweb.initdb
args:
......
#!/bin/bash
cd "{{ aurweb_dir }}"
  • Developer

    We do not seem to start from the aurweb_dir anymore contrary to aurweb-git-serve.sh, is this on purpose or by accident? I imagine both should look alike? :cat2:

  • Author Developer

    Whoops, I will test later if it can be removed from both scripts.

  • Developer

    potentially we can also just leave both in, I don't know the application if it tries to read config or whatever from within the current working dir?

  • Please register or sign in to reply
exec poetry run aurweb-git-auth "$@"
exec "{{ aurweb_dir }}/.venv/bin/aurweb-git-auth" "$@"
#!/bin/bash
cd "{{ aurweb_dir }}"
exec poetry run aurweb-git-serve "$@"
exec "{{ aurweb_dir }}/.venv/bin/aurweb-git-serve" "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment