You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2012/05/07 02:32:57 UTC
svn commit: r1334846 - /subversion/site/publish/docs/release-notes/1.8.html
Author: danielsh
Date: Mon May 7 00:32:57 2012
New Revision: 1334846
URL: http://svn.apache.org/viewvc?rev=1334846&view=rev
Log:
* docs/release-notes/1.8.html
(#svnpubsub): New section.
Modified:
subversion/site/publish/docs/release-notes/1.8.html
Modified: subversion/site/publish/docs/release-notes/1.8.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/docs/release-notes/1.8.html?rev=1334846&r1=1334845&r2=1334846&view=diff
==============================================================================
--- subversion/site/publish/docs/release-notes/1.8.html (original)
+++ subversion/site/publish/docs/release-notes/1.8.html Mon May 7 00:32:57 2012
@@ -491,6 +491,40 @@ itself.</p>
</div> <!-- hooks -->
+<div class="h3" id="svnpubsub">
+<h3>New <tt>svnpubsub</tt> framework for pushing post-commit notifications
+ (<em>server</em>)
+ <a class="sectionlink" href="#svnpubsub"
+ title="Link to this section">¶</a>
+</h3>
+
+<p><tt>svnpubsub</tt> is a daemon that pushes post-commit notifications to
+clients in streaming JSON or XML over HTTP. The notifications are typically
+pushed to the daemon by a <tt>post-commit</tt> hook.</p>
+
+<p>A typical notification looks like this:</p>
+
+<pre>
+% curl -i http://svn.foo.org:2069/commits/xml
+<?xml version='1.0' encoding='UTF-8'?>
+<commit repository="90ea9780-b833-de11-8433-001ec94261de" revision="816214"><author>buildbot</author><date>2012-05-07 00:26:54 +0000 (Mon, 07 May 2012)</date><log>Staging update by buildbot for httpd</log><dirs_changed><path>websites/staging/httpd/trunk/content/</path><path>websites/staging/httpd/trunk/content/dev/</path></dirs_changed></commit>
+<stillalive>1336350418.837202</stillalive>
+...
+</pre>
+
+<pre>
+% curl -i http://svn.foo.org:2069/commits/xml
+{"commits": [
+{"commit": {"dirs_changed": ["httpd/site/trunk/content/dev/"], "log": "spacing", "repository": "13f79535-47bb-0310-9956-ffa450edef68", "author": "joes", "date": "2012-05-07 00:30:25 +0000 (Mon, 07 May 2012)", "revision": 1334845}},
+...
+</pre>
+
+<p>svnpubsub was written by <a href="http://people.apache.org/~pquerna/"
+rel="nofollow">Paul Querna</a> for the <a href="http://www.apache.org/dev/"
+>ASF Infrastructure Team</a>.</p>
+
+</div> <!-- svnpubsub -->
+
</div> <!-- enhancements -->
<div class="h2" id="svn-1.6-deprecation">