aurweb/aurweb
Frédéric Mangano-Tarumi 8a13500535 Create aurweb.spawn for spawing the test server
This program makes it easier for developers to spawn the PHP server
since it fetches automatically what it needs from the configuration
file, rather than having the user explicitly pass arguments to the php
executable.

When the setup gets more complicated as we introduce Python,
aurweb.spawn will keep providing the same interface, while under the
hood it is planned to support running multiple sub-processes.

Its Python interface provides an way for the test suite to spawn the
test server when it needs to perform HTTP requests to the test server.

The current implementation is somewhat weak as it doesn’t detect when a
child process dies, but this is not supposed to happen often, and it is
only meant for aurweb developers.

In the long term, aurweb.spawn will eventually become obsolete, and
replaced by Docker or Flask’s tools.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
2021-02-20 11:24:30 -05:00
..
git Store timestamp and user ID when closing requests 2019-11-23 12:30:46 -05:00
scripts Fix requests not being sent to the Cc recipients 2020-10-13 20:26:51 -04:00
__init__.py Use setuptools to install Python modules 2016-09-29 22:07:06 +02:00
config.py config: allow reading both the defaults file and the modified config 2018-04-22 09:26:10 +02:00
db.py Migrate the database schema to SQLAlchemy 2020-02-27 16:44:36 +01:00
exceptions.py git-serve: check update hook permissions 2019-11-23 11:18:16 -05:00
initdb.py Disable Alembic support on test databases 2020-02-27 16:44:36 +01:00
l10n.py Make the locale directory configurable 2018-08-06 06:03:52 +02:00
schema.py Map BIGINT to INTEGER for SQLite 2020-03-22 16:50:10 -04:00
spawn.py Create aurweb.spawn for spawing the test server 2021-02-20 11:24:30 -05:00