- Sep 15, 2024
-
-
Leonidas Spyropoulos authored
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
-
- Sep 12, 2024
-
-
Using .count() isn't great as it runs a count query on a subquery which selects all fields in the Users table. This rewrites it into a simple SELECT count(ID) from USers query.
-
- Aug 20, 2024
-
-
Fabio Castelli authored
fix: reduce the number of subqueries against Packages by preloading the existing dependencies names from AUR
-
-
fix: reduce the number of subqueries against User by loading eagerly the Users from PackageComaintainer
-
- Aug 19, 2024
-
-
Levente Polyak authored
Mariadb has scheduled to remove the deprecated mysql drop-in interface. Let's adapt which also removes a lot of warnings while spinning up the service.
-
Levente Polyak authored
This is a very useful stack for local development as well, by allowing to easily access a local grafana instance and look at the accessed endpoints, query usage and durations etc. As a nice side effect this also makes sure we have an easy way to actually test any changes to the opentelemetry integration in an actual environment instead of just listening to a raw socket.
-
Levente Polyak authored
We want the dependent services to wait until the initialization service of mariadb finishes, but also properly accept if it already exited before a leaf service gets picked up and put into created state. By using the service_completed_successfully signal, we can ensure precisely this, without being racy and leading to none booted services. While at it, remove the compose version identifiers as docker-compose deprecated them and always warned about when running docker-compose.
-
- Aug 17, 2024
-
-
Leonidas Spyropoulos authored
-
This adds tracing to fastapi, redis, and sqlalchemy. It uses the recommended OLTP exporter to send the tracing data.
-
Leonidas Spyropoulos authored
-
- Aug 16, 2024
-
-
Jelle van der Waa authored
The pkgbase/util.py `make_context` helper does a lot of unrelated expensive queries which are not required for any of the templates. Only the 404 template shows git_clone_uri_* and pkgbase.
-
Leonidas Spyropoulos authored
-
- Aug 09, 2024
-
-
Jelle van der Waa authored
The previous approach fetched the matching row, by using `exists()` SQLAlchemy changes the query to a `SELECT 1`.
-
Jelle van der Waa authored
Don't query for notify, requests and vote information when the user is not logged in as this information is not shown.
-
Jelle van der Waa authored
A non-logged in user cannot vote/enable notifications or submit a request so hide these links.
-
Leonidas Spyropoulos authored
-
- Aug 05, 2024
-
-
renovate authored
-
- Aug 04, 2024
- Aug 03, 2024
-
-
Signed-off-by: Diego Viola <diego.viola@gmail.com>
-
Leonidas Spyropoulos authored
-
Leonidas Spyropoulos authored
Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
-
Levente Polyak authored
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
-
Levente Polyak authored
The RSS feed should be perfectly fine even when caching them for 5 minutes. This should massively reduce the response times on the endpoint. Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
-
- Jun 24, 2024
-
-
Mario Oenning authored
Show "(deleted)" on requests page for user accounts that were removed. Fixes #505 Signed-off-by: moson <moson@archlinux.org>
-
- Jun 10, 2024
-
-
Leonidas Spyropoulos authored
-
Leonidas Spyropoulos authored
fixes: #503 Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
-
Leonidas Spyropoulos authored
The change broke the initial emails to the ML. Not sure why but reverting this now and might look at later This reverts commit 78342236. fixes: #502
-
- May 18, 2024
-
-
Leonidas Spyropoulos authored
-
- Apr 28, 2024
-
-
Mario Oenning authored
Signed-off-by: moson <moson@archlinux.org>
-
- Apr 25, 2024
-
-
Mario Oenning authored
tests show warnings for deprecated utc functions with python 3.12 Signed-off-by: moson <moson@archlinux.org>
-
Mario Oenning authored
Signed-off-by: moson <moson@archlinux.org>
-
Mario Oenning authored
Prep for python 3.12 Reformat files with latest pre-commit tools Signed-off-by: moson <moson@archlinux.org>
-
- Apr 08, 2024
-
-
Mario Oenning authored
Signed-off-by: moson <moson@archlinux.org>
-
Mario Oenning authored
TestClient changes were reverted with 0.37.2: https://github.com/encode/starlette/pull/2525 https://github.com/encode/starlette/releases/tag/0.37.2 Signed-off-by: moson <moson@archlinux.org>
-
Mario Oenning authored
- Updating pycparser (2.21 -> 2.22) - Updating sniffio (1.3.0 -> 1.3.1) - Updating typing-extensions (4.8.0 -> 4.11.0) - Updating anyio (3.7.1 -> 4.3.0) - Updating certifi (2023.11.17 -> 2024.2.2) - Updating greenlet (3.0.1 -> 3.0.3) - Updating markupsafe (2.1.3 -> 2.1.5) - Updating packaging (23.2 -> 24.0) - Updating pluggy (1.3.0 -> 1.4.0) - Updating pydantic-core (2.14.5 -> 2.16.3) - Updating coverage (7.4.0 -> 7.4.4) - Updating cryptography (41.0.5 -> 42.0.5) - Updating dnspython (2.4.2 -> 2.6.1) - Updating execnet (2.0.2 -> 2.1.0) - Updating httpcore (1.0.2 -> 1.0.5) - Updating lxml (5.1.0 -> 5.2.1) - Updating mako (1.3.0 -> 1.3.2) - Updating parse (1.20.0 -> 1.20.1) - Updating prometheus-client (0.19.0 -> 0.20.0) - Updating pydantic (2.5.2 -> 2.6.4) - Updating pytest (7.4.4 -> 8.1.1) - Updating python-dateutil (2.8.2 -> 2.9.0.post0) - Updating redis (5.0.1 -> 5.0.3) - Updating urllib3 (2.1.0 -> 2.2.1) - Updating asgiref (3.7.2 -> 3.8.1) - Updating email-validator (2.1.0.post1 -> 2.1.1) - Updating fakeredis (2.20.1 -> 2.21.3) - Updating fastapi (0.109.0 -> 0.110.1) - Updating filelock (3.13.1 -> 3.13.3) - Updating markdown (3.5.2 -> 3.6) - Updating mysqlclient (2.2.1 -> 2.2.4) - Updating orjson (3.9.12 -> 3.10.0) - Updating prometheus-fastapi-instrumentator (6.1.0 -> 7.0.0) - Updating protobuf (4.25.2 -> 5.26.1) - Updating pygit2 (1.13.3 -> 1.14.1) - Updating pytest-asyncio (0.23.3 -> 0.23.6) - Updating pytest-cov (4.1.0 -> 5.0.0) - Updating tomlkit (0.12.3 -> 0.12.4) - Updating uvicorn (0.27.0 -> 0.27.1) - Updating werkzeug (3.0.1 -> 3.0.2) - Updating starlette (0.35.0 -> 0.37.2) - Updating httpx (0.26.0 -> 0.27.0) - Updating python-multipart (0.0.6 -> 0.0.9) - Updating uvicorn (0.27.1 -> 0.29.0) - Updating sqlalchemy (1.4.50 -> 1.4.52) Signed-off-by: moson <moson@archlinux.org>
-
- Feb 25, 2024
-
-
Mario Oenning authored
Limit the amount of characters that can be entered for a comment. Signed-off-by: moson <moson@archlinux.org>
-