Add --field option for post command

Review Request #8429 — Created Sept. 23, 2016 and submitted — Latest diff uploaded

Information

RBTools
master
ff8c0c6...

Reviewers

This feature updates rbt post to allow for setting custom fields when
creating/updating a review request. It adds a new --field key=value
arguments, which would set extra_data.key=value in the payload. It
currently handles the native fields (description, testing_done,
summary) turning them into aliases of --description, --testing-done,
--summary. It also allows for multiple field arguments to be set

  • added --field description="desc" to an rbt post
  • Ensured that the field description contained "desc"
  • Added multiple fields --field description="high level desc"
    --field summary="short summary" to an rbt post
  • Ensured both argument fields were filled in correctly
  • Added Unit tests

Diff Revision 12

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

orig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
rbtools/commands/__init__.py
rbtools/commands/post.py
rbtools/commands/tests.py
Loading...