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">&para;</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
+&lt;?xml version='1.0' encoding='UTF-8'?&gt;
+&lt;commit repository="90ea9780-b833-de11-8433-001ec94261de" revision="816214"&gt;&lt;author&gt;buildbot&lt;/author&gt;&lt;date&gt;2012-05-07 00:26:54 +0000 (Mon, 07 May 2012)&lt;/date&gt;&lt;log&gt;Staging update by buildbot for httpd&lt;/log&gt;&lt;dirs_changed&gt;&lt;path&gt;websites/staging/httpd/trunk/content/&lt;/path&gt;&lt;path&gt;websites/staging/httpd/trunk/content/dev/&lt;/path&gt;&lt;/dirs_changed&gt;&lt;/commit&gt;
+&lt;stillalive&gt;1336350418.837202&lt;/stillalive&gt;
+...
+</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">