Commit graph

4 commits

Author SHA1 Message Date
Lukas Fleischer
31cda618ca Make "gendummydata.py" Python 3 compliant.
* Transform into valid Python 3.x code using 2to3.

* Change shebang from "/usr/bin/python2" to "/usr/bin/python3".

* Invoke with "python3" instead of "python2" in "reloadtestdb.sh".

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-04-13 12:14:37 +02:00
Dan McGee
abd41bbb51 Allow DB connection values to come from the environment
Stop hardcoding everything everywhere for those of us that don't use the
localhost/aur/aur/AUR setup. Also allow for the dummy data to be created
in the reload script if it does not exist. Finally, remove two
assumptions that the AUR database already exists.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-03-04 10:29:14 +01:00
Lukas Fleischer
f89ba3fb6d Remove database recreation code from "support/schema/reloadtestdb.sh".
Database is being dropped and recreated in the schema, so there's no
need to do this in "reloadtestdb.sh" as well.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2011-02-28 09:45:29 +01:00
eric
cbe2050420 started on the package submit script 2004-07-12 22:12:42 +00:00