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, master has been updated
       via  25c20af208ca5fc3230833a945a2429eb054e5a6 (commit)
      from  5d44b02336e7ef6304c9f8235160c813c4adc002 (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=25c20af208ca5fc3230833a945a2429eb054e5a6

commit 25c20af208ca5fc3230833a945a2429eb054e5a6
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 632cc45..a71563d 100644
--- a/src/plugins/scmcvs/common/CVSPlugin.class.php
+++ b/src/plugins/scmcvs/common/CVSPlugin.class.php
@@ -242,6 +242,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)) {
@@ -264,7 +265,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