Skip to content

Commit

Permalink
table of contents.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Sep 10, 2012
1 parent 506a4b3 commit fb77c06
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 29 deletions.
21 changes: 12 additions & 9 deletions doc/commands.rst
@@ -1,40 +1,43 @@
Commands
========

Console Scripts Console Scripts
=============== ---------------


``fedmsg`` provides a number of console scripts for ``fedmsg`` provides a number of console scripts for
use with random shell scripts. use with random shell scripts.


fedmsg-logger fedmsg-logger
------------- ~~~~~~~~~~~~~


.. autofunction:: fedmsg.commands.logger.logger .. autofunction:: fedmsg.commands.logger.logger


fedmsg-tail fedmsg-tail
----------- ~~~~~~~~~~~


.. autofunction:: fedmsg.commands.tail.tail .. autofunction:: fedmsg.commands.tail.tail


Service Daemons Service Daemons
=============== ---------------


fedmsg-hub fedmsg-hub
---------- ~~~~~~~~~~
.. autofunction:: fedmsg.commands.hub.hub .. autofunction:: fedmsg.commands.hub.hub


fedmsg-relay fedmsg-relay
------------ ~~~~~~~~~~~~
.. autofunction:: fedmsg.commands.relay.relay .. autofunction:: fedmsg.commands.relay.relay


fedmsg-irc fedmsg-irc
---------- ~~~~~~~~~~
.. autofunction:: fedmsg.commands.ircbot.ircbot .. autofunction:: fedmsg.commands.ircbot.ircbot


fedmsg-gateway fedmsg-gateway
-------------- ~~~~~~~~~~~~~~
.. autofunction:: fedmsg.commands.gateway.gateway .. autofunction:: fedmsg.commands.gateway.gateway


Writing your own fedmsg commands Writing your own fedmsg commands
================================ --------------------------------


The :mod:`fedmsg.commands` module provides a ``@command`` decorator to help simplify this. The :mod:`fedmsg.commands` module provides a ``@command`` decorator to help simplify this.


Expand Down
21 changes: 12 additions & 9 deletions doc/index.rst
Expand Up @@ -28,15 +28,18 @@ Build Status
Contents Contents
-------- --------


- :doc:`overview` .. toctree::
- :doc:`topology` :maxdepth: 2
- :doc:`status`
- :doc:`commands` overview
- :doc:`config` topology
- :doc:`encoding` status
- :doc:`publishing` commands
- :doc:`consuming` config
- :doc:`crypto` encoding
publishing
consuming
crypto


---- ----


Expand Down
22 changes: 11 additions & 11 deletions doc/overview.rst
Expand Up @@ -10,7 +10,7 @@ Get (or modify) the source for this document:
http://github.com/ralphbean/fedmsg http://github.com/ralphbean/fedmsg


tl;dr tl;dr
===== -----


We want to hook all the services in Fedora Infrastructure up to send messages to We want to hook all the services in Fedora Infrastructure up to send messages to
one another over a message bus instead of communicating with each other in one another over a message bus instead of communicating with each other in
Expand All @@ -21,7 +21,7 @@ easily. It's built on `0mq <http://zeromq.org>`_ and `moksha
<http://moksha.fedorahosted.org>`_. <http://moksha.fedorahosted.org>`_.


Planned Stages of development/deployment Planned Stages of development/deployment
---------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


1) Start writing ``fedmsg`` 1) Start writing ``fedmsg``
2) Send messages from existing services (koji, bodhi, pkgdb, fas, etc...). 2) Send messages from existing services (koji, bodhi, pkgdb, fas, etc...).
Expand All @@ -34,10 +34,10 @@ Planned Stages of development/deployment
start making existing services depend on it for their functioning. start making existing services depend on it for their functioning.


Introduction Introduction
============ ------------


Description of the problem Description of the problem
-------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~


Fedora Infrastructure is composed of a number of services (koji, fedpkg, pkgdb, Fedora Infrastructure is composed of a number of services (koji, fedpkg, pkgdb,
etc..) some of which are maintained outside the Fedora Project and some of which etc..) some of which are maintained outside the Fedora Project and some of which
Expand Down Expand Up @@ -75,7 +75,7 @@ more complicated: commits to one project require a spidering of code changes
to all the others. to all the others.


How messaging might address the problem How messaging might address the problem
--------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


jkeating's `talk on messaging in the Fedora Instructure jkeating's `talk on messaging in the Fedora Instructure
<http://jkeating.fedorapeople.org/lfnw-messaging-2009.pdf>`_ proposed the <http://jkeating.fedorapeople.org/lfnw-messaging-2009.pdf>`_ proposed the
Expand All @@ -101,7 +101,7 @@ A message bus architecture, once complete, would dramatically reduce the work
required to update and maintain services in the Fedora infrastructure. required to update and maintain services in the Fedora infrastructure.


Other benefits Other benefits
-------------- ~~~~~~~~~~~~~~


By adopting a messaging strategy for Fedora Infrastructure we could gain: By adopting a messaging strategy for Fedora Infrastructure we could gain:


Expand All @@ -119,10 +119,10 @@ By adopting a messaging strategy for Fedora Infrastructure we could gain:
- An identi.ca account, @fedora-firehose, that echoes every message on the bus. - An identi.ca account, @fedora-firehose, that echoes every message on the bus.


AMQP, and 0mq AMQP, and 0mq
============= -------------


AMQP or "Broker? Damn near killed 'er!" AMQP or "Broker? Damn near killed 'er!"
---------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


When discussions on the `Fedora Messaging SIG When discussions on the `Fedora Messaging SIG
<http://fedoraproject.org/wiki/Messaging_SIG>`_ began, AMQP was the choice by <http://fedoraproject.org/wiki/Messaging_SIG>`_ began, AMQP was the choice by
Expand Down Expand Up @@ -155,7 +155,7 @@ configurations, my qpid brokers' queues would bloat over time until \*pop\*,
the broker would fall over. the broker would fall over.


0mq or "Going for Broke(rless)" 0mq or "Going for Broke(rless)"
------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


0mq is developed by a team that had a hand in the original development of AMQP. 0mq is developed by a team that had a hand in the original development of AMQP.
It claims to be a number of things: an "intelligent transport layer", It claims to be a number of things: an "intelligent transport layer",
Expand Down Expand Up @@ -231,7 +231,7 @@ That configuration is kept in ``/etc/fedmsg.d/``, is read by the code in
:doc:`fedmsg.config`. The config value of interest is :term:`endpoints`. :doc:`fedmsg.config`. The config value of interest is :term:`endpoints`.


Namespace considerations Namespace considerations
======================== ------------------------


In the above examples, the topic names are derived from the service names. In the above examples, the topic names are derived from the service names.
For instance, pkgdb publishes messages to For instance, pkgdb publishes messages to
Expand Down Expand Up @@ -263,7 +263,7 @@ misery.
Consequently, our namespace follows a `service-oriented` pattern. Consequently, our namespace follows a `service-oriented` pattern.


The scheme The scheme
---------- ~~~~~~~~~~


Event topics will follow the rule:: Event topics will follow the rule::


Expand Down

0 comments on commit fb77c06

Please sign in to comment.