RBTools 0.7.6 Release Notes
Release date: April 26, 2016
New Features
rbt api-get
rbt api-get can now be used outside of a checkout.
When passing --server, rbt api-get can be used anywhere, making it useful
for more types of integrations.
Team Foundation Server
Added support for specifying the path to the tf.exe command for TFS.
The tf.exe path can now be specified by using the --tf-cmd option on the
command line, or by setting TF_CMD in .reviewboardrc.
Patch by Brandon Martin.
Added support for using --exclude on TFS.
Patch by Brandon Martin.
Added support for branch (copy) operations on TFS.
Branched/copied files can now be posted against Review Board when using
Power Pack 1.4.1 or higher. These can also be combined with edit operations.
Based on work by Brandon Martin.
API
Added pagination helpers for all ListResources.
This introduces ListResource.all_pages(), which yields every page of the
resource, and ListResource.all_items(), which yields every item on the
page. These should help with processing pages of information from the API
in a consistent way.
Performance Improvements
Reduced the work needed to look up ClearCase and Subversion repositories.
For ClearCase and Subversion, it’s necessary to fetch a list of all
compatible repositories in order to compare certain information. We now
take advantage of server-side filtering to reduce the set of repositories
we have to scan through.
Patch by Joshua Olson.
Improved performance when locally scanning ClearCase repositories.
Bug Fixes
General
When running in a non-interactive console, RBTools commands will no longer
hang prompting for login credentials.
It’s up to the caller to ensure that RBTools has a valid session cookie or
credentials (such as an API token) provided on the command line or
in .reviewboardrc.
Patch by Vadim Zeitlin.
rbt post
Fixed posting commit IDs for non-Perforce clients.
Patch by Ben Asher.
The summary of a commit is no longer lost if passing a custom summary and
guessing the description from the commit message.
If the summary is passed on the command line but the description is guessed
from the commit message, the first line of the commit message would be lost.
This change improves that by concatenating the summary and description back
together if the summary line isn’t being used for the review request.
Based on work by Alexander Goncahrov.
rbt setup-repo
Improved the fuzzy matching of repositories, to help more accurately return
possibly matching results.
Patch by H W Tovetjärn.
Mercurial
Fixed broken parent commit IDs when using relative, negative, or short
revisions. (Bug #3915)
When referencing a relative revision (those starting with a ^), or
specifying a negative or short revision number, hgweb would fail to find
the matching commits. We now normalize those revisions.
Patch by André Klitzing.
Perforce
Fixed a crash when posting a changelist that included a deleted symbolic
link. (Bug #4037)
This was supposed to log that the file would be skipped, but there was an
error with the logging call.
Patch by Akis Kalligeros.
Fixed a Unicode mismatch when updating an existing review request from a
changeset using rbt post -u.
Fixed a bad update call that would lead to an empty but harmless “CRITICAL”
error message.
Team Foundation Server
Fixed rbt setup-repo with TFS repositories.
Fixed properly decoding the character set of XML files coming from TFS.
Contributors
Akis Kalligeros
Alexander Goncahrov
André Klitzing
Barret Rennie
Ben Asher
Brandon Martin
Christian Hammond
David Trowbridge
H W Tovetjärn
Joshua Olson
Vadim Zeitlin
RBTools 0.7.5 Release Notes
Release date: October 26, 2015
New Features
Users can now specify the search path for .reviewboardrc files.
The $RBTOOLS_CONFIG_PATH environment variable now controls the search path.
It’s a list of paths separated by the system’s native path separator
(':' on Linux/MacOS X, ';' on Windows).
These paths are searched prior to any default paths.
This is handy for forcing the .reviewboardrc file in your home directory
to be searched first.
Patch by Nils Philippsen.
Bug Fixes
General
Fixed displaying error output containing non-ASCII characters. (Bug #3907)
On Windows, home directory detection now prefers the %HOME% environment
variable to %APPDATA%.
Prior to this release, %HOME% was always ignored in favor of %APPDATA%,
which caused problems in certain setups.
Patch by Vadim Zeitlin.
rbt api-get
The help output no longer mistakenly shows that – is required before
query arguments.
rbt post
Fixed a crash when using --diff-filename. (Bug #3908)
Git
Git version checking is no longer performed unless Git is installed,
preventing a harmless but visible error message for systems without Git.
Mercurial
Fixed path separator differences when posting a change against Mercurial
on Windows. (Bug #3894)
Patch by Ali Kamali.
Fixed a regression with looking for empty files.
When looking for empty files in a change (which must be handled specially),
RBTools would get a null result, which wasn’t being handled correctly.
Perforce
Fixed posting submitted Perforce changes.
Posting submitted changes for review regressed in 0.7.x. They can now be
posted again.
Fixed posting Perforce paths that are not included in the client view.
(Bug #3864)
It’s once again possible to post a committed revision for review when the
commit contains files not in the client view.
Subversion
Fixed Unicode issues when parsing repository info when using
--repository-url. (Bug #3969)
Patch by Griffin Myers.
Fixed issues processing when a changeset has history scheduled with a
commit.
Patch by Griffin Myers.
Team Foundation Server
Fixed a number of issues with diff generation on TFS.
The method previously used to generate diffs didn’t deal with a lot of
cases that could come up when using different editors or platforms, such
as files that don’t end with a newline or files that start with a
byte-order marker.
RBTools now requires GNU diff for TFS diff generation.
Contributors
Ali Kamali
Anthony Hache
Barret Rennie
Christian Hammond
David Trowbridge
Griffin Myers
Nils Philippsen
Vadim Zeitlin
Issues found with existing distfiles:
distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
distfiles/fortran-utils-1.1.tar.gz
distfiles/ivykis-0.39.tar.gz
distfiles/enum-1.11.tar.gz
distfiles/pvs-3.2-libraries.tgz
distfiles/pvs-3.2-linux.tgz
distfiles/pvs-3.2-solaris.tgz
distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.
Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden). All existing
SHA1 digests retained for now as an audit trail.
Release date: June 11, 2015
Compatibility Notes
Team Foundation Server support does not yet work with Visual Studio 2013
Update 4 or higher.
In Visual Studio 2013 Update 4, the command line tool we used, tf.cmd,
has been rewritten, and many of the features we depended on were dropped.
For the moment, you will need to stick with Update 3 or lower in order to
continue using Power Pack‘s TFS support. Alternatively, if you’re running
Update 4, you can try installing Team Explorer Everywhere.
Bug Fixes
General
Fixed a Python 2.6 compatibility problem. (Bug #3753)
When there are communication errors with a Review Board server, the error
message will now contain more details on what went wrong. (Bug #3840)
Fixed additional Unicode issues when running in a non-UTF-8 environment.
Patch by Bartosz Gołek.
rbt post
The --diff-filename and --update flags are now mutually-exclusive.
(Bug #3755)
The --update option didn’t make sense when using a diff filename, since
the review request could not be guessed. There’s now an error shown when
trying to use both.
Mercurial
The --tracking-branch option wasn’t overriding the built-in default
tracking branch.
Patch by Andrew Bettison.
Team Foundation Server
Modifications to directories or other non-files no longer break diff
generation.
Fixed issues with file encodings and newlines.
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.
Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.
Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.
Whitespace cleanups and other nits corrected, where necessary.
post-review is a command line tool for Windows, Linux and MacOS X
that simplifies both creating and updating review requests. It
can look at your source directory, generate a diff, and upload it
to a new or existing review request on an associated Review Board
server. This saves a lot of time over the web UI, and for some
types of code repositories (such as Perforce), its actually required
in order to produce a compatible diff.