From 8a627d11efe070479f71f7f958a10db5bf0127af Mon Sep 17 00:00:00 2001 From: Olivier Berger Date: Fri, 20 Jul 2012 12:46:13 +0000 Subject: [PATCH 1/1] Change defaults to use_dav no and use_ssh yes in debian for scmgit (closes #682222) --- src/debian/changelog | 4 +++- src/debian/patches/disable-dav | 13 +++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/debian/changelog b/src/debian/changelog index 9bd4ff498d..27c0c706d9 100644 --- a/src/debian/changelog +++ b/src/debian/changelog @@ -5,9 +5,11 @@ fusionforge (5.2~rc1-5+) UNRELEASED; urgency=low * Fix several missing files errors in gitweb for scmgit plugin (closes: #674536). * Fix permission problem with scmgit plugin (closes: #682223) + * Set defaults to use SSH and not DAV for scmgit plugin (closes: + #682222) * - -- Olivier Berger Fri, 20 Jul 2012 14:37:02 +0200 + -- Olivier Berger Fri, 20 Jul 2012 14:41:49 +0200 fusionforge (5.2~rc1-5) unstable; urgency=low diff --git a/src/debian/patches/disable-dav b/src/debian/patches/disable-dav index e6df4e9b93..814fcb3ea6 100644 --- a/src/debian/patches/disable-dav +++ b/src/debian/patches/disable-dav @@ -52,3 +52,16 @@ Index: src/etc/httpd.conf.d/plugin-scmsvn.inc +# # only authenticated users may access the repository +# Require valid-user +# +Index: src/plugins/scmgit/etc/scmgit.ini +=================================================================== +--- src.orig/plugins/scmgit/etc/scmgit.ini ++++ src/plugins/scmgit/etc/scmgit.ini +@@ -13,6 +13,6 @@ repos_path = "$core/chroot/scmrepos/git" + ; this value might be used to create an alias in your httpd conf for clone + scm_root = "git" + +-use_dav = yes +-use_ssh = no ++use_dav = no ++use_ssh = yes + use_ssl = "$core/use_ssl" -- 2.30.2