Clean up and modernize the siteconfig code.
Review Request #9482 — Created Jan. 14, 2018 and submitted
The siteconfig code is some of the oldest in Djblets, and doesn't live
up to current standards for documentation and testing. This change
improves all this, fleshing out the docs, splitting up unit tests, and
changing a few small pieces of code to be just a little more efficient
(making better use of built-in Python functionality).
All unit tests for Djblets and Review Board pass.
- Commit:
-
faee23280db88540634e4cd9584d26af8b92e40a4af2c93fbf73b32c2cba50707ae3c97e5fee3bfc
- Diff:
-
Revision 2 (+425 -298)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Change Summary:
-
- Fixed a bad copy/paste causing a "Returns" section to be "Return".
- Chnaged "setting key" to "settings key" throughout all the docs.
- Commit:
-
4af2c93fbf73b32c2cba50707ae3c97e5fee3bfc24f69fe3715d68bb23ab782bf255797e06539c69
- Diff:
-
Revision 3 (+425 -298)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.