Release 1.4
1 file changed
tree: 8e6f716b8e2e2175e5f4fde6a5b7bd9c7973efed
  1. gradle/
  2. script/
  3. src/
  4. .gitignore
  5. .travis.yml
  6. BUCK
  7. build.gradle
  8. gradle.properties
  9. gradlew
  10. gradlew.bat
  11. LICENSE
  12. README.md
  13. settings.gradle
README.md

gerrit-rabbitmq-plugin: Gerrit event publish plugin via RabbitMQ

Build Status

Synopsis

This is Gerrit plugin.

This can publish gerrit events to message queue provided by RabbitMQ. Published events are the same as Gerrit stream evnets.

This plugin works on Gerrit 2.8 or later.

About Buck

Buck is a build system now gerrit adopt. If you want to use Buck, you need to setup it referring Building with Buck in gerrit documentation.

Environments

  • linux
    • java-1.7
      • gradle
      • buck

Build

  • Use gradle

To build plugin with maven.

./gradlew build
  • Use buck

To build plugin with buck

git clone https://gerrit.googlesource.com/gerrit -b v2.8.3
ln -s $(pwd) gerrit/plugins/rabbitmq
cd gerrit
buck build plugins/rabbitmq:rabbitmq

Using another version API

  • For gradle

Now avaliable for Gerrit 2.8.5 only. If you want to use it on another version of Gerrit, please try the below.

./gradlew build -PapiVersion=2.8
  • For buck

After clone gerrit, you can checkout specified version.

git checkout -b 2.8 refs/tags/v2.8

NOTE: If you want to build on master, please switch dev branch in this repository.

Reference

Minimum Configuration

  [amqp]
    uri = amqp://localhost
  [exchange]
    name = exchange-for-gerrit-queue
  [message]
    routingKey = com.foobar.www.gerrit
  [gerrit]
    name = foobar-gerrit
    hostname = www.foobar.com

History

  • 1.4

    • Add gradle support
    • Remove maven support
  • 1.3

    • Build with Buck
    • Bumped api version to 2.8.3
  • 1.2

    • Fix repository location for gerrit-api
    • Update README
  • 1.1

    • Fix channel handling
    • Add property: monitor.failureCount
    • Update README and documents
  • 1.0

    • First release

License

The Apache Software License, Version 2.0

Copyright

Copyright (c) 2013 rinrinne a.k.a. rin_ne