Skip to content

Commit

Permalink
Merge branch 'release-0.7.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
chipx86 committed Jan 12, 2017
2 parents 32c9ab1 + 068ea31 commit fc5e255
Show file tree
Hide file tree
Showing 4 changed files with 112 additions and 8 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Expand Up @@ -103,6 +103,7 @@ Contributors:
* Stacey Sheldon
* Stefan Ring
* Stephen Gallagher
* Stephen Kiernan
* Steven Ihde
* Steven Russell
* Theo Belaire
Expand Down
99 changes: 99 additions & 0 deletions docs/releasenotes/0.7.8.rst
@@ -0,0 +1,99 @@
===========================
RBTools 0.7.8 Release Notes
===========================

**Release date:** January 11, 2017


Installers
==========

This release introduces some much-needed fixes and improvements to our
installers.


Windows
-------

* The Windows installer has been updated to include Python 2.7.13, which
includes bug fixes and enhanced support for SSL certificate verification.

* Updated the code signing certificate used for our builds.


macOS
-----

* Improved Python version compatibility.

The installer will now install RBTools in such a way where the Python 2.7
version will be used for all modern versions of macOS, and the Python 2.6
version will be used for older (Snow Leopard era) versions.

Previously, the Python 2.6 version was always the dominant version, leading
to compatibility problems when trying to integrate with the RBTools Python
API.

* Fixed the ``tqdm`` dependency issue many users encountered with recent
versions of the RBTools installer.


New Features
============

rbt patch
---------

* :command:`rbt patch --print` can now be run outside of a source tree.

This is useful when you want to fetch the patch from a review request, but
don't necessary have or need a checkout of the source tree.

Patch by Stephen Kiernan.


rbt setup-repo
--------------

* The generated :file:`.reviewboardrc` file now stores the repository type.

The ``REPOSITORY_TYPE`` setting is now set for new :file:`.reviewboardrc`
files, speeding up RBTools commands by eliminating the need to guess the
repository type, and fixing issues when nesting repositories.

If you already have a :file:`.reviewboardrc`, you can manually edit it to
include this setting.


Bug Fixes
=========

General
-------

* Fixed a crash when passing Unicode characters as arguments on the command
line.


rbt post
--------

* :option:`--guess-fields` (:option:`-g`) no longer overwrites
:option:`--guess-summary` or :option:`--guess-description` if those are
specified.


Team Foundation Server
----------------------

* Fixed generating and uploading diffs containing Unicode
:abbr:`BOM (Byte Order Mark)` characters.


Contributors
============

* Barret Rennie
* Christian Hammond
* David Trowbridge
* Stephen Kiernan
1 change: 1 addition & 0 deletions docs/releasenotes/index.rst
Expand Up @@ -10,6 +10,7 @@ RBTools Release Notes
.. toctree::
:maxdepth: 1

0.7.8
0.7.7
0.7.6
0.7.5
Expand Down
19 changes: 11 additions & 8 deletions rbtools/commands/post.py
Expand Up @@ -152,7 +152,7 @@ class Post(Command):
action='store',
config_key='GUESS_SUMMARY',
nargs='?',
default=GUESS_AUTO,
default=None,
const=GUESS_YES,
choices=GUESS_CHOICES,
help='Generates the Summary field based on the '
Expand All @@ -167,7 +167,7 @@ class Post(Command):
action='store',
config_key='GUESS_DESCRIPTION',
nargs='?',
default=GUESS_AUTO,
default=None,
const=GUESS_YES,
choices=GUESS_CHOICES,
help='Generates the Description field based on the '
Expand Down Expand Up @@ -303,12 +303,15 @@ def post_process_options(self):
self.options.extra_fields = extra_fields

# -g implies --guess-summary and --guess-description
if self.options.guess_fields:
self.options.guess_fields = self.normalize_guess_value(
self.options.guess_fields, '--guess-fields')

self.options.guess_summary = self.options.guess_fields
self.options.guess_description = self.options.guess_fields
self.options.guess_fields = self.normalize_guess_value(
self.options.guess_fields, '--guess-fields')

for field_name in ('guess_summary', 'guess_description'):
# We want to ensure we only override --guess-{field} with
# --guess-fields when --guess-{field} is not provided.
# to the default (auto).
if getattr(self.options, field_name) is None:
setattr(self.options, field_name, self.options.guess_fields)

if self.options.revision_range:
raise CommandError(
Expand Down

0 comments on commit fc5e255

Please sign in to comment.