[Fusionforge-commits] FusionForge branch master updated. 3d49221a3f09fb6a44b9ae91c80528aff8528639

Sylvain Beucler beuc-inria at fusionforge.org
Wed Mar 12 14:36:41 CET 2014


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  3d49221a3f09fb6a44b9ae91c80528aff8528639 (commit)
       via  d610e0a0658be30ab0afd42cf90732c155bb7ddc (commit)
      from  a8e63c0962235719c2e589e85c763e74b3e6c490 (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 -----------------------------------------------------------------
commit 3d49221a3f09fb6a44b9ae91c80528aff8528639
Merge: d610e0a a8e63c0
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Wed Mar 12 14:36:25 2014 +0100

    Merge branch 'master' of git+ssh://scm.fusionforge.org//scmrepos/git/fusionforge/fusionforge


commit d610e0a0658be30ab0afd42cf90732c155bb7ddc
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Wed Mar 12 14:36:23 2014 +0100

    scmhook: cronjob packaging

diff --git a/src/plugins/scmhook/cronjobs/updateScmRepo.php b/src/plugins/scmhook/cronjobs/updateScmRepo.php
index 524c785..4163e47 100644
--- a/src/plugins/scmhook/cronjobs/updateScmRepo.php
+++ b/src/plugins/scmhook/cronjobs/updateScmRepo.php
@@ -1,3 +1,4 @@
+#!/usr/bin/php
 <?php
 /**
  * Copyright 2011, Franck Villaume - Capgemini
diff --git a/src/plugins/scmhook/packaging/cron.d/plugin-scmhook b/src/plugins/scmhook/packaging/cron.d/plugin-scmhook
new file mode 100644
index 0000000..0792b16
--- /dev/null
+++ b/src/plugins/scmhook/packaging/cron.d/plugin-scmhook
@@ -0,0 +1,2 @@
+# Apply hooks every hour
+0 * * * * root forge_run_plugin_job scmhook updateScmRepo.php
diff --git a/src/plugins/scmhook/packaging/install/plugin-scmhook b/src/plugins/scmhook/packaging/install/plugin-scmhook
index fa0778f..cc7283f 100644
--- a/src/plugins/scmhook/packaging/install/plugin-scmhook
+++ b/src/plugins/scmhook/packaging/install/plugin-scmhook
@@ -4,4 +4,4 @@ plugins/scmhook/db/*		@PLUGIN_PATH@/scmhook/db/
 plugins/scmhook/bin/*		@PLUGIN_PATH@/scmhook/bin/
 plugins/scmhook/library/*	@PLUGIN_PATH@/scmhook/library/
 plugins/scmhook/etc/*.ini	etc/@PACKAGE@/config.ini.d/
-plugins/scmhook/cronjobs/*	usr/share/gforge/cronjobs
+plugins/scmhook/cronjobs/*	@PLUGIN_PATH@/scmhook/cronjobs/

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

Summary of changes:
 src/plugins/scmhook/cronjobs/updateScmRepo.php       |    1 +
 src/plugins/scmhook/packaging/cron.d/plugin-scmhook  |    2 ++
 src/plugins/scmhook/packaging/install/plugin-scmhook |    2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)
 create mode 100644 src/plugins/scmhook/packaging/cron.d/plugin-scmhook


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list