aurweb/upgrading/3.5.0.txt
Lukas Fleischer 76343fb915 Use an INI-style configuration file
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>
2014-10-24 10:03:54 +02:00

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.