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  5db00cd9aa4b449e809222c6c69d6944f6e4d9cd (commit)
      from  1cc8a0f09c779de3f6ea7164de011743d8d39c02 (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=5db00cd9aa4b449e809222c6c69d6944f6e4d9cd

commit 5db00cd9aa4b449e809222c6c69d6944f6e4d9cd
Author: Roland Mas <lola...@debian.org>
Date:   Fri Oct 14 12:44:27 2016 +0200

    Fetch config where appropriate

diff --git a/src/plugins/scmcvs/common/CVSPlugin.class.php 
b/src/plugins/scmcvs/common/CVSPlugin.class.php
index 3a66c8c..a717023 100644
--- a/src/plugins/scmcvs/common/CVSPlugin.class.php
+++ b/src/plugins/scmcvs/common/CVSPlugin.class.php
@@ -243,6 +243,7 @@ over it to the project's administrator.");
 
                $rw_unix_group = $project->getUnixName() . '_scmrw';
                $ro_unix_group = $project->getUnixName() . '_scmro';
+               $apache_user = forge_get_config('apache_user');
 
                if (!$repo_exists) {
                        if (!@mkdir($repo, 0700)) {
@@ -265,7 +266,6 @@ over it to the project's administrator.");
                                
util_create_file_with_contents("$repo/CVSROOT/config", 
"SystemAuth=no\nLockDir=$locks_dir\n");
                        }
                        system ("chmod -R g+rwXs,o+rX-w $repo") ;
-                       $apache_user = forge_get_config('apache_user');
                        if ($project->enableAnonSCM()) {
                                util_create_file_with_contents 
("$repo/CVSROOT/readers", "anonymous\n");
                                util_create_file_with_contents 
("$repo/CVSROOT/passwd", "anonymous::$apache_user\n");

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

Summary of changes:
 src/plugins/scmcvs/common/CVSPlugin.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
Fusionforge-commits@lists.fusionforge.org
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to