summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-12-29 11:56:47 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-12-29 13:22:05 +0100
commit176014a5d7bc17dc9528a01df1280b09a3505a8d (patch)
tree2b7ffa2405f04ecb8074847ae4d59d1f6b4df5bc /conf
parentada3a8eab37090c9583d5ef34342fdf06ac40b74 (diff)
downloadaur-176014a5d7bc17dc9528a01df1280b09a3505a8d.tar.gz
aur-176014a5d7bc17dc9528a01df1280b09a3505a8d.tar.xz
Add links to public and private clone URLs
Show a public clone URL (using Git over HTTP) by default and only show the private clone URL to the package maintainer. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'conf')
-rw-r--r--conf/cgitrc.proto2
-rw-r--r--conf/config.proto3
2 files changed, 3 insertions, 2 deletions
diff --git a/conf/cgitrc.proto b/conf/cgitrc.proto
index fdc280b5..e2b68922 100644
--- a/conf/cgitrc.proto
+++ b/conf/cgitrc.proto
@@ -24,6 +24,6 @@ footer=/srv/http/aur/web/template/cgit/footer.html
max-repodesc-length=50
max-blob-size=2048
max-stats=year
-enable-http-clone=0
+enable-http-clone=1
scan-path=/srv/http/aur/repos/
diff --git a/conf/config.proto b/conf/config.proto
index 788f38d7..ea6c063e 100644
--- a/conf/config.proto
+++ b/conf/config.proto
@@ -19,7 +19,8 @@ max_filesize_uncompressed = 8388608
disable_http_login = 1
aur_location = https://aur.archlinux.org
cgit_uri = https://aur.archlinux.org/cgit/
-git_clone_uri = ssh+git://aur@aur.archlinux.org:2222/%s.git/
+git_clone_uri_anon = https://aur.archlinux.org/cgit/%s.git/
+git_clone_uri_priv = ssh+git://aur@aur.archlinux.org:2222/%s.git/
max_rpc_results = 5000
aur_request_ml = aur-requests@archlinux.org
request_idle_time = 1209600