aurweb/scripts/aurblup/config.h.proto
Lukas Fleischer a64cd12feb Add support for MySQL transactions to aurblup.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-02-11 14:43:23 +01:00

16 lines
526 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"
/* unset this to use "LOCK TABLE" instead of transactions */
#define MYSQL_USE_TRANSACTIONS 1
/* 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" };