[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Make mailer.py send to NNTP and match logmsg on regex

From: Lars Gullik Bjønnes <lgb_at_tandberg.com>
Date: Thu, 16 Apr 2009 15:01:13 +0200

Jon Bendtsen <jbendtsen_at_laerdal.dk> writes:

[...]
>> Make sure that "mail_command" and "smtp_hostname" is not set in the
>> conf file.

| They are not set.
|
| frodo:/data/svn/bin/j/nntp# grep -v "#" test-mailer.conf
| [general]
|
| nntp_hostname = nntp.internal
|
| [defaults]
|
| to_group = test
|
| diff = /usr/bin/diff -u -L %(label_from)s -L %(label_to)s %(from)s %
| (to)s
|
| commit_subject_prefix = [svn]
|
| propchange_subject_prefix = [svn]
|
| lock_subject_prefix = [svn]
|
| unlock_subject_prefix = [svn]
|
| generate_diffs = add copy modify
|
| suppress_deletes = yes
|
|
| show_nonmatching_paths = yes
|
| [maps]

Looks ok.

| I run:
| ./nntp-mailer.py commit /data/svn 2343 /data/svn/bin/nntp/test-
| mailer.conf
| and i still get all data to stdout.

nntp-mailer.py is just mailer.py with my patch applied, right?

I cannot see why it is not working.
I'll break out a patch from my changes to only do the nntp stuff.
That will make it easier to talk about and for me to know exacly what
you are running.

-- 
	Lgb
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1747069
Received on 2009-04-16 15:06:00 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.