mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
housekeep: remove PHP implementation
removal of the PHP codebase Signed-off-by: moson-mo <mo-son@mailbox.org>
This commit is contained in:
parent
97d0eac303
commit
8ca63075e9
128 changed files with 27 additions and 16046 deletions
|
@ -38,11 +38,9 @@ enable-maintenance = 1
|
|||
maintenance-exceptions = 127.0.0.1
|
||||
render-comment-cmd = /usr/bin/aurweb-rendercomment
|
||||
localedir = /srv/http/aurweb/web/locale/
|
||||
; memcache, apc, or redis
|
||||
; memcache/apc are supported in PHP, redis is supported in Python.
|
||||
; cache: redis is supported in Python.
|
||||
cache = none
|
||||
cache_pkginfo_ttl = 86400
|
||||
memcache_servers = 127.0.0.1:11211
|
||||
salt_rounds = 12
|
||||
redis_address = redis://localhost
|
||||
; Toggles traceback display in templates/errors/500.html.
|
||||
|
@ -125,12 +123,12 @@ sync-dbs = core extra community multilib testing community-testing
|
|||
server = https://mirrors.kernel.org/archlinux/%s/os/x86_64
|
||||
|
||||
[mkpkglists]
|
||||
archivedir = /srv/http/aurweb/web/html
|
||||
packagesfile = /srv/http/aurweb/web/html/packages.gz
|
||||
packagesmetafile = /srv/http/aurweb/web/html/packages-meta-v1.json.gz
|
||||
packagesmetaextfile = /srv/http/aurweb/web/html/packages-meta-ext-v1.json.gz
|
||||
pkgbasefile = /srv/http/aurweb/web/html/pkgbase.gz
|
||||
userfile = /srv/http/aurweb/web/html/users.gz
|
||||
archivedir = /srv/http/aurweb/archives
|
||||
packagesfile = /srv/http/aurweb/archives/packages.gz
|
||||
packagesmetafile = /srv/http/aurweb/archives/packages-meta-v1.json.gz
|
||||
packagesmetaextfile = /srv/http/aurweb/archives/packages-meta-ext-v1.json.gz
|
||||
pkgbasefile = /srv/http/aurweb/archives/pkgbase.gz
|
||||
userfile = /srv/http/aurweb/archives/users.gz
|
||||
|
||||
[git-archive]
|
||||
author = git_archive.py
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
; development-specific options too.
|
||||
|
||||
[database]
|
||||
; PHP options: mysql, sqlite.
|
||||
; FastAPI options: mysql.
|
||||
backend = mysql
|
||||
|
||||
|
@ -31,9 +30,6 @@ localedir = YOUR_AUR_ROOT/web/locale
|
|||
salt_rounds = 4
|
||||
; See config.defaults comment about cache.
|
||||
cache = none
|
||||
; In docker, the memcached host is available. On a user's system,
|
||||
; this should be set to localhost (most likely).
|
||||
memcache_servers = memcached:11211
|
||||
; If cache = 'redis' this address is used to connect to Redis.
|
||||
redis_address = redis://127.0.0.1
|
||||
aur_request_ml = aur-requests@localhost
|
||||
|
@ -51,13 +47,6 @@ openid_configuration = http://127.0.0.1:8083/auth/realms/aurweb/.well-known/open
|
|||
client_id = aurweb
|
||||
client_secret =
|
||||
|
||||
[php]
|
||||
; Address PHP should bind when spawned in development mode by aurweb.spawn.
|
||||
bind_address = 127.0.0.1:8081
|
||||
|
||||
; Directory containing aurweb's PHP code, required by aurweb.spawn.
|
||||
htmldir = YOUR_AUR_ROOT/web/html
|
||||
|
||||
[fastapi]
|
||||
; Address uvicorn should bind when spawned in development mode by aurweb.spawn.
|
||||
bind_address = 127.0.0.1:8082
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue