RBTools Documentation 0.8 alpha 0 (dev) documentation

RBTools Documentation

RBTools is a set of command line tools for working with Review Board andRBCommons. It’s there to help quickly get your code up for review, check onthe status of changes, and eventually land your code in the codebase,amongst other uses.

RBTools interfaces with your repository’s official command line tools, makingit easy to generate suitable diffs or to apply changes across any supportedtype of repository without having to learn different sets of tools.

Along with a variety of helpful commands, RBTools also provides a powerfulPython client API for Review Board, giving you the flexibility to develop yourown integrations.

What’s in RBTools

rbt Command

All the RBTools commands are invoked through the rbt tool. Thisruns on Windows, Linux, and MacOS X, and contains a number of usefulsub-commands through the following usage:

$ rbt <command> [options] [<args>]

You can get help on rbt or a sub-command in the following ways:

$ rbt help
$ rbt help <command>
$ rbt <command> --help

Some of the most commonly-used commands include:

  • post - Posts changes to Review Board
  • diff - Displays the diff that will be sent to Review Board
  • land - Lands a change in a local branch or on a review request
  • patch - Patches your tree with a change on a review request
  • setup-repo - Sets up RBTools to talk to your repository

There are many other commands you may find useful. See thefull list of commands.

Python API

RBTools provides a Python module makes it easy to communicate with any ReviewBoard server using its powerful REST API. You can write custom scripts or evennew RBTools command that can attach metadata to review requests, performreviews, analyze diffs, extract analytics data, or almost anything else.

There’s a lot you can do with the API. See the RBTools Python APIdocumentation for more information.

Installation

To install RBTools, simply visit the RBTools Downloads page and follow theinstructions for your operating system. If you are using MacOS X or Windows,just run the installer and you’ll be set.

If you’re using Microsoft’s Team Foundation Server, there’s some extrainstallation or configuration that may be necessary.

Configuration

Once you’ve installed RBTools, you’ll want to configure it towork with your repositories. This is the firststep to allow any of your developers to easily post changes using RBTools.

There’s also a number ofuser-configurable options as well, includingcustomizable defaults for parameters andcustom aliases for common operations or sets offlags. Auto-completions are also available and can be installed by using thecommand rbt setup-completion.

Indices, Glossary and Tables


转自:https://www.reviewboard.org/docs/rbtools/dev/


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


RBTools Documentation 0.8 alpha 0 (dev) documentation


转自:https://www.reviewboard.org/docs/rbtools/dev/rbt/configuration/


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


What's new in 0.7.10

The full list of changes is available in the release notes.

To keep up with the latest releases, sign up for the mailing list.

Older Releases

Older releases of RBTools can be downloaded from our archive.

Bleeding Edge (Git)

RBTools's source code is available on GitHub. You can clone it by typing the following on the command line:

git clone git://github.com/reviewboard/rbtools.git

For more information, including installation and contribution instructions, see the Code Base Documentation.


转自:https://www.reviewboard.org/downloads/rbtools/


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Team Foundation Server Configuration

Depending on what version of Visual Studio (or other development environment)you’re using, there are different requirements for TFS. The table belowsummarizes the three different methods and the different features which areavailable under each.

Note that if you’re running VS2017, the only option available is the built-intf.exe method.

 VS2017 tf.exerb-tfs adaptorTeam Explorer Everywhere
OS supportWindowsAllAll
Visual Studio versions20172010, 2013, 20152010, 2013, 2015
Posting pending changesYesYesYes
Posting committed changesNoYesNo
Posting shelvesetsNoYesNo

VS2017 tf.exe

Visual Studio 2017 includes a command-line tool, tf.exe, whichincludes enough support for RBTools to post pending changes to Review Board.Committed changes can be posted, but only through the web UI, and shelvesetsare not supported.

Due to changes in Microsoft’s data storage formats, if you’re using VS2017, theother options (the rb-tfs adaptor and Team Explorer Everywhere) will not work.

This method requires GNU diff but no other installation.

rb-tfs adaptor

When using Visual Studio 2010 through 2015, the Team Explorer Everywhere tools,or the TFS extensions for Eclipse, we provide a custom adaptor which supportsposting pending, committed, or shelved changes.

To install the rb-tfs adaptor, run:

$ rbt install tfs

Team Explorer Everywhere

If you have the Team Explorer Everywhere command-line tools installed,RBTools can use that for posting committed changes. In all cases where youmight use this, the rb-tfs adaptor adaptor is faster and supports more features.Team Explorer Everywhere works with Visual Studio 2010 through 2015.


转自:

https://www.reviewboard.org/docs/rbtools/dev/rbt/configuration/tfs/#rbtools-tfs


1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值