AURWeb

Staging

  • test data
  • deploying staging env

MySQL

Setup

Document LXD setup

Javascript

  • Replace typeahead

Python port

Templates

Translations

{% trans %}String{% endtrans %}

{{ "%sFoo Bar%s"
   | tr
   | format("arg1", "arg2")
   | safe
}}

Testing

Performance

  • RPC API

Benchmarking

  • oha
  • log mysql queries

Prometheus monitoring

Metrics:

  • avg response time
  • 95% percentile

Postgresql

Upgrades

Changes for upgrade to the Python port.

Traceback (most recent call last):
  File "/usr/lib/python3.9/configparser.py", line 789, in get
    value = d[option]
  File "/usr/lib/python3.9/collections/__init__.py", line 941, in __getitem__
    return self.__missing__(key)            # support subclasses that define __missing__
  File "/usr/lib/python3.9/collections/__init__.py", line 933, in __missing__
    raise KeyError(key)
KeyError: 'aurwebdir'
[jelle@aurweb.lxd][/srv/http/aurweb]%AUR_CONFIG=/etc/aurweb/config python -m aurweb.spawn
-------------------------------------------------------------------------------------------------------------------------------
Spawing PHP and FastAPI, then nginx as a reverse proxy.
Check out https://aur.archlinux.org
Hit ^C to terminate everything.
-------------------------------------------------------------------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/srv/http/aurweb/aurweb/spawn.py", line 171, in <module>
    start()
  File "/srv/http/aurweb/aurweb/spawn.py", line 109, in start
    php_address = aurweb.config.get("php", "bind_address")
  File "/srv/http/aurweb/aurweb/config.py", line 40, in get
    return _get_parser().get(section, option)
  File "/usr/lib/python3.9/configparser.py", line 781, in get
    d = self._unify_values(section, vars)
  File "/usr/lib/python3.9/configparser.py", line 1149, in _unify_values
    raise NoSectionError(section) from None
configparser.NoSectionError: No section: 'php'