This plugin will permit us to consume several events monitored by the Anitya project, from several different sources of the fedora infrastructure. This plugin will have several methods that we are calling "backends". A backend will be used to download a source code, based on the event monitored by anitya. Today we have only a backend to GitHub, but in the next release we will implement others backends.
The integration with the fedmsg-hub is full functional. We are using a ZeroMQ library, to queue a incoming fedmsg message. The fedmsg-hub consumer queue the message, and the anitya plugin consumes it. This were necessary because the fedmsg-hub runs as a daemon, as kiskadee (different processes that need to talk to each other). The ZeroMQ enables us to use a simple and powerful pub/sub arquitecture, and it is also used as a backend fo fedmsg-hub.
This plugin will permit us to consume several events monitored by the Anitya project, from several different sources of the fedora infrastructure. This plugin will have several methods that we are calling "backends". A backend will be used to download a source code, based on the event monitored by anitya. Today we have only a backend to GitHub, but in the next release we will implement others backends.
The integration with the fedmsg-hub is full functional. We are using a ZeroMQ library, to queue a incoming fedmsg message. The fedmsg-hub consumer queue the message, and the anitya plugin consumes it. This were necessary because the fedmsg-hub runs as a daemon, as kiskadee (different processes that need to talk to each other). The ZeroMQ enables us to use a simple and powerful pub/sub arquitecture, and it is also used as a backend fo fedmsg-hub.