[Fusionforge-commits] FusionForge branch 6.1 updated. v6.1beta1-162-g92db784

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun Feb 18 00:09:48 CET 2018


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.1 has been updated
       via  92db78497afaafab5cb9f18a251b7655609f1211 (commit)
      from  e4c32745082fef63d137841b3b0629218107c206 (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=92db78497afaafab5cb9f18a251b7655609f1211

commit 92db78497afaafab5cb9f18a251b7655609f1211
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Feb 18 00:09:28 2018 +0100

    scmhook: commitEmail, set the mail destination

diff --git a/src/plugins/scmhook/db/20180217-create_scmhook_commitemail_git_hg.sql b/src/plugins/scmhook/db/20180217-create_scmhook_commitemail_git_hg.sql
new file mode 100644
index 0000000..d8924e5
--- /dev/null
+++ b/src/plugins/scmhook/db/20180217-create_scmhook_commitemail_git_hg.sql
@@ -0,0 +1,17 @@
+-- Store destination e-mail for commit notifications
+CREATE TABLE plugin_scmhook_scmgit_postreceiveemail (
+  group_id int REFERENCES groups ON DELETE CASCADE,
+  dest text NOT NULL,
+  repository_name text
+);
+
+-- Store destination e-mail for commit notifications
+CREATE TABLE plugin_scmhook_scmhg_commitemail (
+  group_id int REFERENCES groups ON DELETE CASCADE,
+  dest text NOT NULL,
+  repository_name text
+);
+
+-- This will only work with the first plugin found...
+ALTER TABLE plugin_scmhook ADD COLUMN scm_plugin text;
+UPDATE plugin_scmhook SET scm_plugin = (SELECT plugin_name FROM plugins, plugin_scmhook, group_plugin WHERE group_plugin.group_id = plugin_scmhook.id_group AND plugins.plugin_id = group_plugin.plugin_id LIMIT 1);

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

Summary of changes:
 .../db/20180217-create_scmhook_commitemail_git_hg.sql   | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/plugins/scmhook/db/20180217-create_scmhook_commitemail_git_hg.sql


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list