From 2cbfa2c0115303c70c28db7025ce0464f3a4f902 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa <jelle@archlinux.org> Date: Thu, 13 May 2021 23:13:47 +0200 Subject: [PATCH] Update aurweb role for aur-dev Set the aurweb_location configuration so aur-dev emails have the correct links in the registration url. Add new dependencies to the aurweb role for the aurweb-notify script to be able to run on the pu branch. --- roles/aurweb/tasks/main.yml | 2 ++ roles/aurweb/templates/config.j2 | 1 + 2 files changed, 3 insertions(+) diff --git a/roles/aurweb/tasks/main.yml b/roles/aurweb/tasks/main.yml index 47ce32dee..0b94e0458 100644 --- a/roles/aurweb/tasks/main.yml +++ b/roles/aurweb/tasks/main.yml @@ -14,6 +14,8 @@ - python-mysql-connector - python-pygit2 - python-srcinfo + - python-fastapi + - python-jinja - sudo - uwsgi-plugin-cgi diff --git a/roles/aurweb/templates/config.j2 b/roles/aurweb/templates/config.j2 index 434f41c7c..4c91ada24 100644 --- a/roles/aurweb/templates/config.j2 +++ b/roles/aurweb/templates/config.j2 @@ -13,6 +13,7 @@ enable-maintenance = 0 localedir = {{ aurweb_dir }}/web/locale/ cache = {{ aurweb_cache }} cache_pkginfo_ttl = {{ aurweb_cache_pkginfo_ttl }} +aur_location = https://{{ aurweb_domain }} git_clone_uri_anon = https://{{ aurweb_domain }}/%s.git git_clone_uri_priv = ssh://{{ aurweb_user }}@{{ aurweb_domain }}/%s.git memcache_servers = {{ aurweb_memcached_socket }}:0 -- GitLab