summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-05-23 19:21:23 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-06 11:25:39 +0200
commitcf2b82239dbfe4909dd391f4a7bae4e82dabb598 (patch)
treedfb2c349c9ad0d6f6638bd363de2f50f27ea8794 /support
parente1a802d900eb1a5d2777818e2d26e7a5323d6af9 (diff)
downloadaur-cf2b82239dbfe4909dd391f4a7bae4e82dabb598.tar.gz
aur-cf2b82239dbfe4909dd391f4a7bae4e82dabb598.tar.xz
gendummydata.py: Remove unused variables
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/schema/gendummydata.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/support/schema/gendummydata.py b/support/schema/gendummydata.py
index 957a4851..b7e31107 100755
--- a/support/schema/gendummydata.py
+++ b/support/schema/gendummydata.py
@@ -29,18 +29,11 @@ MAX_USERS = 300 # how many users to 'register'
MAX_DEVS = .1 # what percentage of MAX_USERS are Developers
MAX_TUS = .2 # what percentage of MAX_USERS are Trusted Users
MAX_PKGS = 900 # how many packages to load
-PKG_FILES = (8, 30) # min/max number of files in a package
PKG_DEPS = (1, 5) # min/max depends a package has
PKG_SRC = (1, 3) # min/max sources a package has
PKG_CMNTS = (1, 5) # min/max number of comments a package has
CATEGORIES_COUNT = 17 # the number of categories from aur-schema
VOTING = (0, .30) # percentage range for package voting
-RANDOM_PATHS = ( # random path locations for package files
- "/usr/bin", "/usr/lib", "/etc", "/etc/rc.d", "/usr/share", "/lib",
- "/var/spool", "/var/log", "/usr/sbin", "/opt", "/usr/X11R6/bin",
- "/usr/X11R6/lib", "/usr/libexec", "/usr/man/man1", "/usr/man/man3",
- "/usr/man/man5", "/usr/X11R6/man/man1", "/etc/profile.d"
-)
RANDOM_TLDS = ("edu", "com", "org", "net", "tw", "ru", "pl", "de", "es")
RANDOM_URL = ("http://www.", "ftp://ftp.", "http://", "ftp://")
RANDOM_LOCS = ("pub", "release", "files", "downloads", "src")