Skip to content

Commit

Permalink
Add some info on SVN topics
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Apr 24, 2022
1 parent 07691b3 commit ff34b3b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions content/pages/pypubsub.md
Expand Up @@ -21,6 +21,7 @@ To subscribe to multiple topic batches in an OR'ed way, you may use a comma to s

Some examples:

* To subscribe to all svn commits; `http://pubsub.apache.org:2069/svn/commit`
* To subscribe to all git commits; `http://pubsub.apache.org:2069/git/commit`
* To subscribe to all git events (push+commit) for whimsy.git; `http://pubsub.apache.org:2069/git/whimsy`
* To subscribe to all `netbeans.apache.org` emails: `http://pubsub.apache.org:2069/email/netbeans.apache.org`
Expand All @@ -29,6 +30,16 @@ Some examples:
* To subscribe to all JIRA events for the HADOOP JIRA instance: `http://pubsub.apache.org:2069/jira/HADOOP`
* To subscribe to *both* JIRA and email streams for tomcat in one go: `http://pubsub.apache.org:2069/jira/TOMCAT,email/tomcat.apache.org`

Public SVN repo topics consist of 'svn', the first one or two path segments after the /repo/ in the URL, and 'commit'.
For example, changes to the repository `https://dist.apache.org/repos/dist/release/` have the topics `svn/dist/release/commit`.
A commit that involves changes to both `dist/release` and `dist/dev` has the topics `svn/dist/commit`.
Note that `svn/dist/release/commit` will not match, because the topics in the response do not include `release`.

Private SVN repos topics are constructed in the same way, but have an additional 'private' topic.
For example `https://pubsub.apache.org:2070/private/svn/private/committers/commit` returns commits for
`https://svn.apache.org/repos/private/committers/board/`


## Event payload examples

Pings are simple objects like this:
Expand Down

0 comments on commit ff34b3b

Please sign in to comment.