summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-06-11 13:31:40 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-06-11 13:36:27 +0200
commitd1fd6f4897b1e7891375c3b170e2cd8854836517 (patch)
tree96cc0a3f418f5b3ac2a853c273d280d4c2d23077 /conf
parentef142b23127c910f20b3321c051619f475580797 (diff)
downloadaur-d1fd6f4897b1e7891375c3b170e2cd8854836517.tar.gz
aur-d1fd6f4897b1e7891375c3b170e2cd8854836517.tar.xz
Make URIs to the individual cgit pages configurable
Make the locations of the PKGBUILD preview, the log and the snapshot tarball configurable. This increases flexibility and simplifies the code a bit. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/config.proto4
1 files changed, 3 insertions, 1 deletions
diff --git a/conf/config.proto b/conf/config.proto
index 94ef8e61..1d3e3291 100644
--- a/conf/config.proto
+++ b/conf/config.proto
@@ -18,7 +18,6 @@ persistent_cookie_timeout = 2592000
max_filesize_uncompressed = 8388608
disable_http_login = 1
aur_location = https://aur.archlinux.org
-cgit_uri = https://aur.archlinux.org/cgit/aur.git
git_clone_uri_anon = https://aur.archlinux.org/%s.git/
git_clone_uri_priv = ssh+git://aur@aur.archlinux.org/%s.git/
max_rpc_results = 5000
@@ -26,6 +25,9 @@ aur_request_ml = aur-requests@archlinux.org
request_idle_time = 1209600
auto_orphan_age = 15552000
auto_delete_age = 86400
+pkgbuild_uri = https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=%s
+log_uri = https://aur.archlinux.org/cgit/aur.git/log/?h=%s
+snapshot_uri = https://aur.archlinux.org/cgit/aur.git/snapshot/%s.tar.gz
[auth]
valid-keytypes = ssh-rsa ssh-dss ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-ed25519