Add LocalSite layer to diff settings.

Review Request #14433 — Created May 9, 2025 and updated — Latest diff uploaded

Information

Review Board
release-7.1.x

Reviewers

This change makes it so if a LocalSite's extra_data contains a
siteconfig key, we'll use it as an additional layer for diff settings.
This will allow those sites to override the global diff settings.

Ran unit tests.

Diff Revision 1

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

orig
1
2

Commits

First Last Summary ID Author
Add LocalSite layer to diff settings.
This change makes it so if a LocalSite's extra_data contains a `siteconfig` key, we'll use it as an additional layer for diff settings. This will allow those sites to override the global diff settings. Testing Done: Ran unit tests.
60483b2aa9082c2623bb408cbdba6e304235e26f David Trowbridge
reviewboard/diffviewer/settings.py
reviewboard/diffviewer/tests/test_diff_settings.py
Loading...