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

RE: Commit

From: Sander Striker <striker_at_apache.org>
Date: 2001-09-04 19:56:36 CEST

> Brian Behlendorf <brian@collab.net> writes:
>
> > a) could we include more info in the Subject line about what
> was changed?
>
> Mike and I just changed commit mails to have subject lines of:
>
> "Commit -- Revision N"
>
> So now they can be uniquely discussed and threaded by your mailer.
>
> > E.g.
> >
> > Subject: commit: trunk/subversion/clients/cmdline diff.c diff-cmd.c
> > trace-update.c propget-cmd.c propset-cmd.c
>
> Maybe you disagree with us here; we don't think seeing a list of 10+
> files in a subject line is useful. It's just a lot of clutter. The
> only reason CVS commit mails do this (or so we *thought*) is to give
> mostly-unique names to mails, and to allow them to be threaded. But
> we just accomplished that by putting the global revision number into
> the subject line.

Having 'modified directories' on the subject line could be convenient
for human filtering...
 
> > b) could we set the "from" header to come from user@devhost? Either
> > something like joe@svn.collab.net, or since this is the same UID as on
> > tigris.org, joe@tigris.org...
>
> Hmmm. Right now, httpd is running as user "svn", and thus this is the
> user that is exectuing the post-commit mail script. Maybe there are
> options the script could pass to /usr/bin/mail that change the "from"
> header? Anyone?

I've been looking into a self contained commit mailer (ie. that connects
to port 25 etc). Maybe doing one using apr would be a good idea. I'll
look into that later.

For now, doesn't sendmail have the option of specifying the From: ?
[there was something about passing the entire mail plus headers to
 sendmail... Ofcourse then you would have to run sendmail or something
 with a similar feature. 'mail' won't do.]

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:39 2006

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.