mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
* Do all list building and freeing outside of the transaction to keep it as short as possible. * Remove ability to blacklist without transactions as we now only support InnoDB/transactional engines with proper relations. * No need to turn autocommit off; BEGIN TRANSACTION operates regardless of this setting. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
13 lines
431 B
Protocol Buffer
13 lines
431 B
Protocol Buffer
/* AUR configuration file */
|
|
#define AUR_CONFIG "/srv/aur/web/lib/config.inc"
|
|
|
|
#define CONFIG_KEY_HOST "AUR_db_host"
|
|
#define CONFIG_KEY_USER "AUR_db_user"
|
|
#define CONFIG_KEY_PASSWD "AUR_db_pass"
|
|
#define CONFIG_KEY_DB "AUR_db_name"
|
|
|
|
/* libalpm options */
|
|
#define ALPM_DBPATH "/var/lib/aurblup/"
|
|
#define ALPM_MIRROR "ftp://mirrors.kernel.org/archlinux/%s/os/i686"
|
|
|
|
static const char *alpm_repos[] = { "core", "community", "extra" };
|