Beep Boop
The long-awaited Python port of aurweb has been released (v6.0.0). There have been some patches since the initial release, bumping us up to v6.0.2 currently, and there will be more.
See https://gitlab.archlinux.org/archlinux/aurweb/-/tags for changelogs on each release version. These have been simplified to show what has changed from a user's perspective and not code-specific changes.
There are a few new ansible variables that must be defined:
- aurweb_secret
- A secret key dedicated to the aurweb instance used for SSO sessions
- aurweb_asgi_bind
- Address to bind gunicorn to ('127.0.0.1:8000')
- aurweb_workers
- Number of workers to use for gunicorn (5)
- aurweb_postmaster
- Email used for server error notifications
New configuration options
[options] max_search_results
[options] salt_rounds
[options] redis_address
[options] traceback
[ratelimit] cache
[notifications] postmaster
[fastapi] session_secret
[devel] commit_url
[devel] commit_hash
Configuration changes
-
[options] cache
- Added support for
redis
- Removed support for
memcached
- Removed support for
apc
- Added support for
I highly suggest testing this on a deployment using the same playbook configuration on aur-dev.archlinux.org before deploying to aur.archlinux.org and checking to see that everything works as expected:
- aurweb website
- git repository
- cgit
- smartgit
- maintenance timers
The following branches are now equivalent: master, live, pu. We'll be using the pu branch as a bugfix staging tree and attempting to keep master and live as close as possible; live should still be used for aur.archlinux.org deployments.
We'll be releasing patches and bumping a few minor releases soon, stay tuned for new features and fixes.
Immediate Plans (new features)
- SSO support
- Reduction of number of requests a single user can file against a package
- Multi-section
/{packages,pkgbase}/{name}
side-panels - Archive differentials
- Maybe library/toolkit to make this easier for end-users
- Archive mimetypes
- Support mime types based on the extension requested (.txt, .gz)
- Archive signatures
- We should provide a .sig file for each archive we maintain, containing a hash of the current archive
- Along with this, we should be producing archives elsewhere, then
mv
ing them into the archive location; currently, archives can be corrupted on download due to time taken to produce the archive
- Archives
- Only update when needed
-
dir="rtl"
HTML markup based on the selected language (for languages which supportrtl
) - Improve RPC's
type=search
performance
Best, Kevin