Hey all,
I've been making some changes in the ASF's "svnpubsub" infra project
over the past couple days. The basic concept is a hub that accepts
notifications from post-commit hooks, and then sends out notifications
to N subscribers (maintaining open connections to the hub). The
subscribers can then do $whatever when the commit occurs. Daniel made
a good observation: distributed commit hooks.
The pubsub stuff has become pretty critical to the operation of the
ASF, and I was thinking that others may find it just as useful. The
"svnwcsub.py" client will watch for commit notifications and keep
working copies in sync with the repository. There are other
possibilities, but this wc-syncing seems very useful. The ASF uses it
to manage/sync its web sites. There is another client script for
sending out tweets on each commit. I'm in the process for simplifying
this work, and making it more robust.
The ASF-internal project is located at:
https://svn.apache.org/repos/infra/infrastructure/trunk/projects/svnpubsub/
I'm thinking of moving this into ^/trunk/tools/server-side/. This
would mean broader use, and possibly some new involvement besides
myself and Joe(*). Moving it out of Infra gives it a better chance of
more open growth/management.
Any thoughts or concerns?
Cheers,
-g
(*) we'd also want to grant Joe partial commit to that directory. he's
been the point man for its ASF deployment and has been making it Work.
Received on 2012-02-25 05:43:34 CET