summaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-07 12:30:30 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-02-07 12:30:30 -0600
commita5872f3b259b97125089866169d06aa9a4d78e23 (patch)
tree0ca6a91aab7e71d122059450f81e799221798ea9 /config.py
parentb8619985289cde1591aa40c7df2c948fdbb8c30a (diff)
moved config out from pato2
Diffstat (limited to 'config.py')
-rw-r--r--config.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..e2fc350
--- /dev/null
+++ b/config.py
@@ -0,0 +1,32 @@
+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"
+
+# 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"