summaryrefslogtreecommitdiff
path: root/rhimport/core.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-06-30 21:07:39 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-06-30 21:07:39 (GMT)
commit656c8bd78bb60b4f1c49df9eaac206f56bcb6663 (patch)
tree1d0804d454d1fe27c3553cd1a105c8efa7b50931 /rhimport/core.go
parent157df5e31f51501ffe45e41f69db5bd515794c1d (diff)
fixed source file policy for local importer
Diffstat (limited to 'rhimport/core.go')
-rw-r--r--rhimport/core.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/rhimport/core.go b/rhimport/core.go
index 413e39c..29f03ba 100644
--- a/rhimport/core.go
+++ b/rhimport/core.go
@@ -39,6 +39,11 @@ const (
CUT_MAX = 999
// not sure if rdxport.cgi can handle filesizes > MAX(INT32)
FILESIZE_MAX = (2 * 1024 * 1024 * 1024) - 1
+
+ // TODO: make this configurable
+ ARCHIV_HOST = "archiv.helsinki.at"
+ ARCHIV_USER = "rhimport"
+ ARCHIV_BASE_PATH = "/srv/archiv"
)
var (