From 176014a5d7bc17dc9528a01df1280b09a3505a8d Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 29 Dec 2014 11:56:47 +0100 Subject: 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 --- conf/cgitrc.proto | 2 +- conf/config.proto | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'conf') diff --git a/conf/cgitrc.proto b/conf/cgitrc.proto index fdc280b..e2b6892 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 788f38d..ea6c063 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 -- cgit v1.2.3-54-g00ecf