ReviewBot

A tool for running automated static analysis on code posted to a Review Board instance.

Github stars Tracking Chart

==========
Review Bot

Review Bot is a tool for automating tasks on code uploaded to Review Board_,
and posting the results as a code review. Review Bot was built to automate the
execution of static analysis tools.

Review Bot is:

  • Extensible: Writing plugins is simple using a convenient API to retrieve
    code files and craft a review. If more power is needed, tools can access the
    full Review Board API.

  • Scalable: Review Bot is built using Celery_ and can scale out to service
    very large Review Board instances.

  • Integrated Configuration: Tools are configured through the Review Board
    admin panel, including settings uniquely defined for each task.

.. _Celery: https://www.celeryproject.org/
.. _Review Board: https://www.reviewboard.org/

Supported Code Checking Tools

Review Bot can perform automated code reviews using any of the following
tools:

  • BuildBot "try" <https://www.reviewboard.org/docs/reviewbot/latest/tools/buildbot/>_

    • Builds the patch in a configured BuildBot environment
  • checkstyle <https://www.reviewboard.org/docs/reviewbot/latest/tools/checkstyle/>_

    • A static analysis tool that provides a variety of checkers for Java code
  • Cppcheck <https://www.reviewboard.org/docs/reviewbot/latest/tools/cppcheck/>_

    • A static analysis tool for C/C++ code
  • CppLint <https://www.reviewboard.org/docs/reviewbot/latest/tools/cpplint/>_

    • Checks C++ code against Google's style guide
  • flake8 <https://www.reviewboard.org/docs/reviewbot/latest/tools/flake8/>_

    • A wrapper around several Python code quality tools
  • PMD <https://www.reviewboard.org/docs/reviewbot/latest/tools/pmd/>_

    • A static analysis tool that provides checkers for many languages
  • pycodestyle <https://www.reviewboard.org/docs/reviewbot/latest/tools/pycodestyle/>_

    • A code style checker for Python code
  • pydocstyle <https://www.reviewboard.org/docs/reviewbot/latest/tools/pydocstyle/>_

    • A static analysis tool for Python docstring conventions
  • pyflakes <https://www.reviewboard.org/docs/reviewbot/latest/tools/pyflakes/>_

    • A static analysis tool for Python code

See the links above for installation and usage instructions.

Installing Review Bot

Review Bot is made up of a message broker, at least one Review Bot worker,
the Review Bot extension
for Review Board, and various code checking tools.

See the downloads page_ and read the Review Bot documentation_ to learn
how to install and configure Review Bot and its components.

.. _downloads page: https://www.reviewboard.org/downloads/reviewbot/
.. _Review Bot documentation:
https://www.reviewboard.org/docs/reviewbot/latest/
.. _Review Bot extension: https://pypi.org/project/reviewbot-extension/
.. _Review Bot worker: https://pypi.org/project/reviewbot-worker/

Getting Support

We can help you get going with Review Bot, and diagnose any issues that may
come up. There are three levels of support: Public Community Support, Private
Basic Support, and Private Premium Support.

The public community support is available on our main discussion list_. We
generally respond to requests within a couple of days. This support works well
for general, non-urgent questions that don't need to expose confidential
information.

Private Support plans are available through support contracts. We offer
same-day support options, handled confidentially over e-mail or our support
tracker, and can assist with a wide range of requests.

See your support options_ for more information.

.. _discussion list: https://groups.google.com/group/reviewboard/
.. _support options: https://www.reviewboard.org/support/

Our Happy Users

There are thousands of companies and organizations using Review Board today.
We respect the privacy of our users, but some of them have asked to feature them
on the Happy Users page_.

If you're using Review Board, and you're a happy user,
let us know! <https://groups.google.com/group/reviewboard/>_

.. _Happy Users page: https://www.reviewboard.org/users/

Reporting Bugs

Hit a bug? Let us know by
filing a bug report <https://www.reviewboard.org/bugs/new/>_.

You can also look through the
existing bug reports <https://www.reviewboard.org/bugs/>_ to see if anyone
else has already filed the bug.

Contributing

Are you a developer? Do you want to help build new tools or features for
Review Bot? Great! Let's help you get started.

First off, read through our Contributor Guide_.

We accept patches to Review Bot, Review Board, RBTools, and other related
projects on reviews.reviewboard.org <https://reviews.reviewboard.org/>_.
(Please note that we do not accept pull requests.)

Got any questions about anything related to Review Board and development? Head
on over to our development discussion list_.

.. _Contributor Guide: https://www.reviewboard.org/docs/codebase/dev/
.. _development discussion list:
https://groups.google.com/group/reviewboard-dev/

Related Projects

  • Review Board_ -
    Our extensible, open source code review tool.
  • RBTools_ -
    The RBTools command line suite.
  • RB Gateway_ -
    Manages Git repositories, providing a full API enabling all of Review Board's
    feaures.

.. _RBTools: https://github.com/reviewboard/rbtools/
.. _ReviewBot: https://github.com/reviewboard/ReviewBot/
.. _RB Gateway: https://github.com/reviewboard/rb-gateway/

Main metrics

Overview
Name With Ownerreviewboard/ReviewBot
Primary LanguagePython
Program languagePython (Language Count: 6)
Platform
License:MIT License
所有者活动
Created At2012-02-04 22:20:19
Pushed At2025-02-11 18:40:42
Last Commit At2025-02-11 11:40:12
Release Count11
Last Release Namerelease-4.0 (Posted on )
First Release Namerelease-1.0 (Posted on )
用户参与
Stargazers Count143
Watchers Count16
Fork Count33
Commits Count464
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count1
Pull Requests Open Count1
Pull Requests Close Count4
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private