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.

Changes between revision 1 and 2

orig
1
2

Commits

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
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.
f418b66e0ea1ef08133d3a7f511d628a450f09a1 David Trowbridge
reviewboard/diffviewer/settings.py
reviewboard/diffviewer/tests/test_diff_settings.py
Loading...