Add the registered SCMTools to the server capabilities blob.

Review Request #13971 — Created June 11, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-5.0.x

Reviewers

We currently don't have any way for clients to know what SCMTools are
available on the server. This change adds the IDs of the registered
SCMTools into the server capabilities.

  • Ran unit tests.
  • Fetched the server info resource and verified that the
    scmtools.supported_tools key was present in the capabilities. Checked
    that it contained the correct IDs depending on whether or not Power
    Pack was installed.

Diff Revision 1

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

orig
1
2
3

Commits

First Last Summary ID Author
Add the registered SCMTools to the server capabilities blob.
We currently don't have any way for clients to know what SCMTools are available on the server. This change adds the IDs of the registered SCMTools into the server capabilities. Testing Done: - Ran unit tests. - Fetched the server info resource and verified that the scmtools.supported_tools key was present in the capabilities. Checked that it contained the correct IDs depending on whether or not Power Pack was installed.
d5abf79d01e1f4b3277b23fa0a0ab004de75b539 David Trowbridge
reviewboard/webapi/server_info.py
Loading...