Add a flag to the FileDiff resource to query for only binary files.

Review Request #13542 — Created Feb. 16, 2024 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

In order for RBTools to upload binary files, we need to know which ones
are needed. This change adds a query parameter to the FileDiff list
resource that allows a caller to get only FileDiffs that are marked as
binary.

  • Ran unit tests.
  • Used the API and saw that I was given the correct results.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Add a flag to the FileDiff resource to query for only binary files.
In order for RBTools to upload binary files, we need to know which ones are needed. This change adds a query parameter to the FileDiff list resource that allows a caller to get only FileDiffs that are marked as binary. Testing Done: - Ran unit tests. - Used the API and saw that I was given the correct results.
a5164c8e3c34b9134523245cbf8f85a740c57c4a David Trowbridge
reviewboard/webapi/resources/filediff.py
reviewboard/webapi/tests/test_filediff.py
Loading...