[Fusionforge-commits] FusionForge branch 6.0 updated. e911e87be30a39f751a82d6a62efe3267d9b2fda

Sylvain Beucler beuc-inria at fusionforge.org
Thu Apr 23 17:55:37 CEST 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  e911e87be30a39f751a82d6a62efe3267d9b2fda (commit)
       via  ea8f310b634a196fdc9521069571c973564abe1a (commit)
      from  957841904bd3afcaf463a6fec01541898557a245 (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 e911e87be30a39f751a82d6a62efe3267d9b2fda
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Thu Apr 23 17:37:07 2015 +0200

    tracker: don't ignore extra data

diff --git a/src/common/tracker/actions/detail.php b/src/common/tracker/actions/detail.php
index ee6efc9..3ea6d5a 100644
--- a/src/common/tracker/actions/detail.php
+++ b/src/common/tracker/actions/detail.php
@@ -143,7 +143,7 @@ jQuery(document).ready(function() {
 <?php
 $count=db_numrows($ah->getMessages());
 $nb = $count? ' ('.$count.')' : '';
-$pm = new PluginManager();
+$pm = plugin_manager_get_object();
 $pluginsListeners = $pm->GetHookListeners('artifact_extra_detail');
 $pluginfound = false;
 foreach ($pluginsListeners as $pluginsListener) {
diff --git a/src/common/tracker/actions/mod-limited.php b/src/common/tracker/actions/mod-limited.php
index 6522fc5..184b7df 100644
--- a/src/common/tracker/actions/mod-limited.php
+++ b/src/common/tracker/actions/mod-limited.php
@@ -175,7 +175,7 @@ if (session_loggedin()) {
 <?php
 $count=db_numrows($ah->getMessages());
 $nb = $count? ' ('.$count.')' : '';
-$pm = new PluginManager();
+$pm = plugin_manager_get_object();
 $pluginsListeners = $pm->GetHookListeners('artifact_extra_detail');
 $pluginfound = false;
 foreach ($pluginsListeners as $pluginsListener) {
diff --git a/src/common/tracker/actions/mod.php b/src/common/tracker/actions/mod.php
index bbd20bb..1800592 100644
--- a/src/common/tracker/actions/mod.php
+++ b/src/common/tracker/actions/mod.php
@@ -210,7 +210,7 @@ echo html_build_select_box ($res,'new_artifact_type_id',$ath->getID(),false);
 <?php
 $count=db_numrows($ah->getMessages());
 $nb = $count? ' ('.$count.')' : '';
-$pm = new PluginManager();
+$pm = plugin_manager_get_object();
 $pluginsListeners = $pm->GetHookListeners('artifact_extra_detail');
 $pluginfound = false;
 foreach ($pluginsListeners as $pluginsListener) {

commit ea8f310b634a196fdc9521069571c973564abe1a
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Thu Apr 23 17:34:47 2015 +0200

    scmhook: committracker: properly display error messages

diff --git a/src/plugins/scmhook/www/committracker/newcommit.php b/src/plugins/scmhook/www/committracker/newcommit.php
index dc0ef91..7542aa7 100644
--- a/src/plugins/scmhook/www/committracker/newcommit.php
+++ b/src/plugins/scmhook/www/committracker/newcommit.php
@@ -231,7 +231,7 @@ if (isset($Configs) && is_array($Configs)) {
 	foreach ($Configs as $Config) {
 		$Result = parseConfig($Config);
 		if ($Result['check'] == false) {
-			exit_error('Check_error', $Result['error']);
+			exit_error('Check_error:' . $Result['error']);
 		}
 
 		if (!is_null($Config['ArtifactNumbers'])) {
diff --git a/src/plugins/scmhook/www/committracker/newcommitgit.php b/src/plugins/scmhook/www/committracker/newcommitgit.php
index a056e11..88125d8 100644
--- a/src/plugins/scmhook/www/committracker/newcommitgit.php
+++ b/src/plugins/scmhook/www/committracker/newcommitgit.php
@@ -246,7 +246,7 @@ if (isset($Configs) && is_array($Configs)) {
 	foreach ($Configs as $Config) {
 		$Result = parseConfig($Config);
 		if ($Result['check'] == false) {
-			exit_error('Check_error', $Result['error']);
+			exit_error('Check_error:' . $Result['error']);
 		}
 
 		if (!is_null($Config['ArtifactNumbers'])) {

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

Summary of changes:
 src/common/tracker/actions/detail.php                  |    2 +-
 src/common/tracker/actions/mod-limited.php             |    2 +-
 src/common/tracker/actions/mod.php                     |    2 +-
 src/plugins/scmhook/www/committracker/newcommit.php    |    2 +-
 src/plugins/scmhook/www/committracker/newcommitgit.php |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list