Author: brane
Date: Mon May 27 13:32:17 2013
New Revision: 1486616
URL: http://svn.apache.org/r1486616
Log:
* site/publish/docs/release-notes/1.8.html:
Update svnpubsub section: XML output is no longer supported and the
notification format has changed significantly.
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=1486616&r1=1486615&r2=1486616&view=diff
==============================================================================
--- subversion/site/publish/docs/release-notes/1.8.html (original)
+++ subversion/site/publish/docs/release-notes/1.8.html Mon May 27 13:32:17 2013
@@ -2128,7 +2128,7 @@ commit. An example hook script that ren
</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
+clients in streaming JSON over HTTP. The notifications are typically
pushed to the daemon by a <tt>post-commit</tt> hook. The code lives in
the <a
href="https://svn.apache.org/repos/asf/subversion/trunk/tools/server-side/svnpubsub/"
>tools/server-side/svnpubsub</a> directory of the source tree.</p>
@@ -2136,29 +2136,17 @@ the <a href="https://svn.apache.org/repo
<p>A typical notification looks like this (newlines added for readability):</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/json
-{"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}},
+% curl -i http://svn.foo.org:2069/commits
+{"commit": {
+ "type": "svn",
+ "format": 1,
+ "id": 1334845,
+ "repository": "13f79535-47bb-0310-9956-ffa450edef68",
+ "changed": {"httpd/site/trunk/content/dev/": {"flags": " U "}},
+ "committer": "joes",
+ "log": "spacing",
+ "date": "2012-05-07 00:30:25 +0000 (Mon, 07 May 2012)"}}
+^@
...
</pre>