subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1486616 - /subversion/site/publish/docs/release-notes/1.8.html
Date Mon, 27 May 2013 13:32:17 GMT
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
-&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/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>
 



Mime
View raw message