summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorParabola <parabolavnx@lions.dreamhost.com>2011-02-07 18:25:37 -0800
committerParabola <parabolavnx@lions.dreamhost.com>2011-02-07 18:25:37 -0800
commit317c0b412642b5268e8408f9d87e19261370cd32 (patch)
tree7c929439a942d2538852a2da233f65d02673db9b /config.py
parent8c4813edd80c08e03c70ada2cb46a3597e493aaf (diff)
fixed errors
Diffstat (limited to 'config.py')
-rw-r--r--config.py41
1 files changed, 41 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..9889c3f
--- /dev/null
+++ b/config.py
@@ -0,0 +1,41 @@
+
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+from user import home
+import commands
+
+time__ = commands.getoutput("date +%Y%m%d-%H:%M")
+
+# Mirror Parameters
+mirror = "mirrors.eu.kernel.org"
+mirrorpath = "::mirrors/archlinux"
+
+# Directories and files
+
+## Optionals
+path = home + "/parabolagnulinux.org"
+docs = path + "/docs"
+logdir = path + "/log"
+
+## Must be defined
+logname= logdir + "/" + time__ + "-repo-maintainer.log"
+repodir= path + "/repo"
+tmp = home + "/tmp"
+archdb = tmp + "/db"
+free_path= path + "/free/"
+
+# Repo, arch, and other folders to use for repo
+repo_list = ("core", "extra", "community", "testing", "community-testing", "multilib")
+dir_list = ("pool","sources")
+arch_list = ("i686", "x86_64")
+other = ("any",)
+
+# Output
+output = True
+verbose = False
+
+# Files
+blacklist = docs + "/blacklist.txt"
+whitelist = docs + "/whitelist.txt"
+pending = docs + "/pending"
+rsyncBlacklist = docs + "/rsyncBlacklist"