[Fusionforge-commits] FusionForge branch 6.0 updated. v6.0.3-51-g848df00

Sylvain Beucler beuc-inria at libremir.placard.fr.eu.org
Fri Dec 11 11:26:01 CET 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.0 has been updated
       via  848df00f6c0a944f83a6cbce444d1021ca64ced4 (commit)
       via  66a6f086dfffbe65d2efbfd32e504ef1645266ec (commit)
      from  de1bfa135c0a6d4298e5e3c5b9a6bf6276a86c9a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=848df00f6c0a944f83a6cbce444d1021ca64ced4

commit 848df00f6c0a944f83a6cbce444d1021ca64ced4
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Fri Dec 11 11:24:35 2015 +0100

    scmsvn: doc fixes

diff --git a/src/CHANGES b/src/CHANGES
index 847fbbf..352b88c 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -11,6 +11,7 @@ FusionForge 6.0.4:
 * News: pending site news e-mail reminder: properly filter out private projects (Inria)
 * Plugin SCM: fix another race condition when creating project with SCM selected (Inria)
 * Plugin SCM Git: improve user matching when computing stats, support git .mailmap (Inria)
+* Plugin SCM SVN: fix HTTP commit access for old SVN 1.7 clients (Inria)
 * Plugin scmhook: fix non-editable mailing list name in some configurations (Inria)
 * Plugin scmhook: fix migration scripts svntracker To ScmhookCommitTracker & svncommitemail To ScmHookCommitEmail (TrivialDev)
 * Plugin MediaWiki: fix permission error when upgrading suspended projects database (Inria & TrivialDev)
diff --git a/src/plugins/scmsvn/common/SVNPlugin.class.php b/src/plugins/scmsvn/common/SVNPlugin.class.php
index f90627d..ebd0820 100644
--- a/src/plugins/scmsvn/common/SVNPlugin.class.php
+++ b/src/plugins/scmsvn/common/SVNPlugin.class.php
@@ -293,10 +293,7 @@ some control over it to the project's administrator.");
 				return false;
 			}
 			system ("sed -i '/enable-rep-sharing = false/s/^. //' $repo/db/fsfs.conf") ;
-			// pre-create the dav directory because apache running as
-			// commiting user (with mod-itk) will not have the right
-			// to create this dir. This is needed only for some
-			// specific svn clients (eg. svn 1.6.17 on ubuntu 12.04)
+			// dav/ directory is required by old svn clients (eg. svn 1.6.17 on ubuntu 12.04)
 			if (!is_dir ("$repo/dav")) {
 				mkdir("$repo/dav");
 			}

https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=66a6f086dfffbe65d2efbfd32e504ef1645266ec

commit 66a6f086dfffbe65d2efbfd32e504ef1645266ec
Author: Matthieu Imbert <matthieu.imbert at inria.fr>
Date:   Fri Dec 11 10:37:15 2015 +0100

    pre-create the dav dir in svn repos. Because apache running as commiting user (with mod-itk) will not have the right to create this dir. This is needed only for some specific svn clients (eg. svn 1.6.17 on ubuntu 12.04).

diff --git a/src/plugins/scmsvn/common/SVNPlugin.class.php b/src/plugins/scmsvn/common/SVNPlugin.class.php
index bc39716..f90627d 100644
--- a/src/plugins/scmsvn/common/SVNPlugin.class.php
+++ b/src/plugins/scmsvn/common/SVNPlugin.class.php
@@ -293,6 +293,13 @@ some control over it to the project's administrator.");
 				return false;
 			}
 			system ("sed -i '/enable-rep-sharing = false/s/^. //' $repo/db/fsfs.conf") ;
+			// pre-create the dav directory because apache running as
+			// commiting user (with mod-itk) will not have the right
+			// to create this dir. This is needed only for some
+			// specific svn clients (eg. svn 1.6.17 on ubuntu 12.04)
+			if (!is_dir ("$repo/dav")) {
+				mkdir("$repo/dav");
+			}
 			system ("svn mkdir -m'Init' file:///$repo/trunk file:///$repo/tags file:///$repo/branches >/dev/null") ;
 			system ("find $repo -type d -print0 | xargs -r -0 chmod g+s") ;
 			// Allow read/write users to modify the SVN repository

-----------------------------------------------------------------------

Summary of changes:
 src/CHANGES                                   | 1 +
 src/plugins/scmsvn/common/SVNPlugin.class.php | 4 ++++
 2 files changed, 5 insertions(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list