aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2019-08-13 16:03:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2019-08-13 16:24:41 +0300
commite3bbdf541c0d8953910d3a2319c4834163093b56 (patch)
treed1e1ca132e2e24e87f1f9c61bc17de4c996c8cc8
parentadd Dockerfile (diff)
downloadcgitize-e3bbdf541c0d8953910d3a2319c4834163093b56.tar.gz
cgitize-e3bbdf541c0d8953910d3a2319c4834163093b56.zip
write to /var/tmp/cgit-repos/output by default
Diffstat (limited to '')
-rw-r--r--examples/cgit-repos.conf2
-rw-r--r--pull/main.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/cgit-repos.conf b/examples/cgit-repos.conf
index 9729fd3..94f73cd 100644
--- a/examples/cgit-repos.conf
+++ b/examples/cgit-repos.conf
@@ -5,7 +5,7 @@
# /etc/cgit-repos/my_repos.py by default.
my_repos = /path/to/my_repos.py
-# "$( pwd )/output/" by default.
+# /var/tmp/cgit-repos/output by default.
output = /path/to/output/
# URL to clone from the output directory.
diff --git a/pull/main.py b/pull/main.py
index a4eeeab..e5543bc 100644
--- a/pull/main.py
+++ b/pull/main.py
@@ -9,7 +9,7 @@ from pull.cgit import CGit, Output
from pull.repo import BitbucketRepo, GithubRepo, Repo
-DEFAULT_OUTPUT_DIR = 'output'
+DEFAULT_OUTPUT_DIR = '/var/tmp/cgit-repos/output'
DEFAULT_CONFIG_PATH = '/etc/cgit-repos/cgit-repos.conf'
DEFAULT_MY_REPOS_PATH = '/etc/cgit-repos/my_repos.py'