Add capability flags for Git symlinks and JSON patching to the API.
Review Request #9420 — Created Dec. 4, 2017 and submitted
Git symlinks and JSON patching are two new features that clients of the
API should be able to check for prior to use. Review Board 3.0 didn't
ship with any capabilities for this, which is something worth fixing for
3.0.1. This change adds those capabilities.It also enhances the tests around this. Our previous capabilities tests
weren't very complete, and the rest of the server information was not
checked. The unit tests now check that the returned results from the API
exactly match what we expect, based on the server's settings and the
capabilities dictionary.
Saw the capabilities in the API payload.
Unit tests pass.
Description | From | Last Updated |
---|---|---|
Do we want to expand this to cover all of the capabilities (including the new ones you added)? It seems … |
david |
- Change Summary:
-
Expanded the testing to more thoroughly check the results of the server info.
- Description:
-
Git symlinks and JSON patching are two new features that clients of the
API should be able to check for prior to use. Review Board 3.0 didn't ship with any capabilities for this, which is something worth fixing for ~ 3.0.1. This change simply adds those capabilities. ~ 3.0.1. This change adds those capabilities. + + It also enhances the tests around this. Our previous capabilities tests
+ weren't very complete, and the rest of the server information was not + checked. The unit tests now check that the returned results from the API + exactly match what we expect, based on the server's settings and the + capabilities dictionary. - Commit:
-
c0516cec4a06450a18e8267f830dfed2d8c67a2e35c93144e8a5c019c4b5073b558e05cfee0d7921