Adding helpful hints for rbt commands

Review Request #11405 — Created Jan. 24, 2021 and discarded — Latest diff uploaded

Information

RBTools
master

Reviewers

RBTools currently must scan the filesystem when a user does not specify a
repository name or repository type which is very slow. In order to optimize
RBTools, we will log hints that recommends setting repository name or type
when it has not been specified. An option --no-hints is added so
users can disable hints if desired.

I ran ./tests/runtests.py rbtools/ and have 263 tests passing and have done
manual testing on different rbtools commands to ensure that the --no-hints
option is working and is also presented as an option to the user when they
type rbt [command] --help.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 15. See what's changed.

orig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

Commits

First Last Summary ID Author
[WIP] Adding helpful hints for rbt commands
RBTools current must scan the filesystem when a user does not specify a repository name or repository type which is very slow. In order to optimize RBTools, we will log hints that recommends setting repository name or type when it already has not been specified. An option --no-hints is added so users can disable hints if desired.
c1c7bafee8df1144f518bb923da571dd5ef00af7 anahita-m
.reviewboardrc
rbtools/commands/__init__.py
Loading...