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

Re: URL's in commit mails?

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2003-11-17 20:44:17 CET

Julian Foad <julianfoad@btopenworld.com> writes:

> > If we're really going to go this route, then folks, it's time to break
> > out the MIME dual HTML/plaintext mail generation code.
>
> Yes, but that's probably too complex for a quick fix. I think all
> the original poster wanted was some quick way of getting from the
> commit mail to the repository, so I preferred my second idea of a
> link to a ViewCVS server for it ... but that probably doesn't exist
> in the required form, so ...

So, I'm willing to entertain (though, not code, at least not right
now) two new configuration options for mailer.py:

  repos_url = [Canonical URL of repository]
  viewcvs_url = [Canonical URL of ViewCVS view of repository]

For each of these, if it is present in a config block, the end of the
mail will have links to that URL. Though, for the ViewCVS one, the
link will actually be:

  http://server/path/to/viewcvs/repos?view=rev&rev=REV

This will display ViewCVS's new "revision view", from which folks can
see colored diffs and such, very much like the output from mailer.py
itself. See http://svn.collab.net/viewcvs-dev/svn/?view=rev for an
example.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 17 20:46:26 2003

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.