aurweb/scripts/aurblup
Dan McGee 0cb493ef2a aurblup: blacklist processing query changes
* 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>
2011-06-28 08:53:06 +02:00
..
.gitignore Add AUR package blacklist updater (aurblup). 2011-02-11 14:43:22 +01:00
aurblup.c aurblup: blacklist processing query changes 2011-06-28 08:53:06 +02:00
config.h.proto aurblup: blacklist processing query changes 2011-06-28 08:53:06 +02:00
config.mk Add AUR package blacklist updater (aurblup). 2011-02-11 14:43:22 +01:00
Makefile Add AUR package blacklist updater (aurblup). 2011-02-11 14:43:22 +01:00
README Update aurblup "README". 2011-02-11 14:43:24 +01:00

aurblup
=======

aurblup is a small and lightweight tool that updates the package blacklist of
an AUR MySQL database using one (or more) package databases. It does the
following things:

- Sync a bunch of local package databases with a remote server.

- Get a list of packages in those databases.

- Update the MySQL blacklist table to match those packages, including those
  packages' provides and replaces.

Requirements
------------

You need the libalpm and libmysqlclient header files to build aurblup.

Installation
------------

Edit the "config.h" (copy from "config.h.proto" if doesn't exist) and
"config.mk" configuration files to match your setup and enter the following
command to build and install aurblup:

	make install