[Fusionforge-commits] FusionForge branch master updated. v6.0.5-2077-gaf27c1d

Franck Villaume nerville at libremir.placard.fr.eu.org
Wed Aug 9 11:22:29 CEST 2017


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  af27c1d3d305683d8ed42867ee751682b08eab8b (commit)
      from  0125d4cd49a890b139f06f196a1d2dbec1991eec (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=af27c1d3d305683d8ed42867ee751682b08eab8b

commit af27c1d3d305683d8ed42867ee751682b08eab8b
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Wed Aug 9 09:22:23 2017 +0000

    cronjob generate scm snapshot: missing dir check & creation

diff --git a/src/cronjobs/scm/generate_scm_snapshots.php b/src/cronjobs/scm/generate_scm_snapshots.php
index afba951..bc88fc6 100755
--- a/src/cronjobs/scm/generate_scm_snapshots.php
+++ b/src/cronjobs/scm/generate_scm_snapshots.php
@@ -47,6 +47,10 @@ if (!is_dir(forge_get_config('scm_tarballs_path'))) {
 	mkdir(forge_get_config('scm_tarballs_path'), 0700, true);
 }
 
+if (!is_dir(forge_get_config('scm_snapshots_path'))) {
+	mkdir(forge_get_config('scm_snapshots_path'), 0700, true);
+}
+
 while ($data = db_fetch_array ($res)) {
 	$hook_params = array ('group_id' => $data['group_id']) ;
 	plugin_hook ('scm_generate_snapshots', $hook_params) ;

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

Summary of changes:
 src/cronjobs/scm/generate_scm_snapshots.php | 4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list