summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-July/003688.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-sysadm/2011-July/003688.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-master.tar
archives-master.tar.gz
archives-master.tar.bz2
archives-master.tar.xz
archives-master.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-July/003688.html')
-rw-r--r--zarb-ml/mageia-sysadm/2011-July/003688.html106
1 files changed, 106 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-July/003688.html b/zarb-ml/mageia-sysadm/2011-July/003688.html
new file mode 100644
index 000000000..8169aaaf2
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2011-July/003688.html
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [1810] Add workaround to not send mail from schedbot user
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B1810%5D%20Add%20workaround%20to%20not%20send%20mail%20from%0A%09schedbot%20user&In-Reply-To=%3C20110705145503.GL21938%40mars-attacks.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="003689.html">
+ <LINK REL="Next" HREF="003695.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [1810] Add workaround to not send mail from schedbot user</H1>
+ <B>nicolas vigier</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B1810%5D%20Add%20workaround%20to%20not%20send%20mail%20from%0A%09schedbot%20user&In-Reply-To=%3C20110705145503.GL21938%40mars-attacks.org%3E"
+ TITLE="[Mageia-sysadm] [1810] Add workaround to not send mail from schedbot user">boklm at mars-attacks.org
+ </A><BR>
+ <I>Tue Jul 5 16:55:03 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="003689.html">[Mageia-sysadm] Submit log to clean
+</A></li>
+ <LI>Next message: <A HREF="003695.html">[Mageia-sysadm] Apprentice account creation
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#3688">[ date ]</a>
+ <a href="thread.html#3688">[ thread ]</a>
+ <a href="subject.html#3688">[ subject ]</a>
+ <a href="author.html#3688">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Tue, 05 Jul 2011, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-sysadm">root at mageia.org</A> wrote:
+
+&gt;<i> Revision: 1810
+</I>&gt;<i> Author: dmorgan
+</I>&gt;<i> Date: 2011-07-05 16:42:43 +0200 (Tue, 05 Jul 2011)
+</I>&gt;<i> Log Message:
+</I>&gt;<i> -----------
+</I>&gt;<i> Add workaround to not send mail from schedbot user
+</I>&gt;<i> We will be able to remove it as soon as we will use an other send mail hook
+</I>
+Yes it would be better to do that in the sendmail hook directly (like for
+cia.vc hook).
+
+We are currently using SVN::Notify::Config &quot;YAML-based configuration
+wrapper on SVN::Notify&quot;. I think we should replace this with a shell
+script using the svnnotify command, or perl script using SVN::Notify.
+This would also allow us to add the author in the from.
+
+&gt;<i>
+</I>&gt;<i> Modified Paths:
+</I>&gt;<i> --------------
+</I>&gt;<i> puppet/modules/subversion/templates/hook_commit.sh
+</I>&gt;<i>
+</I>&gt;<i> Modified: puppet/modules/subversion/templates/hook_commit.sh
+</I>&gt;<i> ===================================================================
+</I>&gt;<i> --- puppet/modules/subversion/templates/hook_commit.sh 2011-07-05 00:02:55 UTC (rev 1809)
+</I>&gt;<i> +++ puppet/modules/subversion/templates/hook_commit.sh 2011-07-05 14:42:43 UTC (rev 1810)
+</I>&gt;<i> @@ -1,5 +1,20 @@
+</I>&gt;<i> #!/bin/sh
+</I>&gt;<i> -for script in $0.d/*; do
+</I>&gt;<i> +
+</I>&gt;<i> +REP=&quot;$1&quot;
+</I>&gt;<i> +TXN=&quot;$2&quot;
+</I>&gt;<i> +
+</I>&gt;<i> +author=$(svnlook author -t &quot;$TXN&quot; &quot;$REP&quot;)
+</I>&gt;<i> +
+</I>&gt;<i> +# This is here only the time we use hook_sendmail.pl
+</I>&gt;<i> +# We will be able to remove it when updating to a better send mail hook
+</I>&gt;<i> +
+</I>&gt;<i> +if [ &quot;$author&quot; = 'schedbot' ]; then
+</I>&gt;<i> + LIST= `ls $0.d/* | grep -v hook_sendmail.pl `
+</I>
+the name of the script is send_mail, not hook_sendmail.pl.
+
+</PRE>
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="003689.html">[Mageia-sysadm] Submit log to clean
+</A></li>
+ <LI>Next message: <A HREF="003695.html">[Mageia-sysadm] Apprentice account creation
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#3688">[ date ]</a>
+ <a href="thread.html#3688">[ thread ]</a>
+ <a href="subject.html#3688">[ subject ]</a>
+ <a href="author.html#3688">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>