• 
      

    Serialize and allow setting extra_data for repositories in the API.

    Review Request #10961 — Created March 20, 2020 and submitted

    Information

    Review Board
    release-3.0.x

    Reviewers

    The repositories API didn't allow any access to the extra_data field,
    either reading from the field or setting values in the field. This made
    it difficult to look up important settings that might affect a client,
    or to set any custom values.

    This change exposes the field to the caller, allowing them to see all
    the settings (custom and tied to a SCMTool/hosting service), and to
    modify it using standard means (directly setting fields or using JSON
    Patches or Merge Patches).

    All unit tests pass.

    Tested by a customer who was building an integration that needed this.
    Verified on their end that the fields in extra_data could be safely
    manipulated.

    Summary ID
    Serialize and allow setting extra_data for repositories in the API.
    The repositories API didn't allow any access to the `extra_data` field, either reading from the field or setting values in the field. This made it difficult to look up important settings that might affect a client, or to set any custom values. This change exposes the field to the caller, allowing them to see all the settings (custom and tied to a SCMTool/hosting service), and to modify it using standard means (directly setting fields or using JSON Patches or Merge Patches).
    f6e74b8f4692c55b38f1017b7c48aa19e6565805
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-3.0.x (6830c30)