mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Replace web/lib/config.inc.php with an INI-style configuration file. This allows us to get rid of several globals and makes it easier to use the same configuration file in external scripts. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
23 lines
770 B
Text
23 lines
770 B
Text
1. Add support for architecture-specific dependencies to the database:
|
|
|
|
----
|
|
ALTER TABLE PackageDepends ADD COLUMN DepArch VARCHAR(255) NULL DEFAULT NULL;
|
|
ALTER TABLE PackageRelations ADD COLUMN RelArch VARCHAR(255) NULL DEFAULT NULL;
|
|
ALTER TABLE PackageSources ADD COLUMN SourceArch VARCHAR(255) NULL DEFAULT NULL;
|
|
----
|
|
|
|
2. Add a time stamp column to the package votes table:
|
|
|
|
----
|
|
ALTER TABLE PackageVotes ADD COLUMN VoteTS BIGINT NULL DEFAULT NULL;
|
|
----
|
|
|
|
3. Add a "wayland" category:
|
|
|
|
----
|
|
INSERT INTO PackageCategories (Category) VALUES ('wayland');
|
|
----
|
|
|
|
4. The configuration file format has been changed. Make sure you convert
|
|
web/lib/config.inc.php to the new format (see conf/config.proto for an example
|
|
configuration) and put the resulting file in conf/config.
|