flake8
passed.
JSHint
passed.
Review Request #12395 — Created June 21, 2022 and submitted
Information | |
---|---|
david | |
Review Board | |
release-5.0.x | |
Reviewers | |
reviewboard | |
Now that SCMTools are backed by a registry instead of relying entirely
on entry points and theregisterscmtools
management command, we can
make it easier for extensions to add new ones. This change adds a new
extension hook,SCMToolHook
, for doing so. It works very similarly to
the existing hook for hosting services.
docs/manual/extending/extensions/hooks/scmtool_hook.rst (Diff revision 1) |
---|
"used for configured repositories" or "used to configure repositories"?
reviewboard/extensions/tests/test_scmtool_hook.py (Diff revision 1) |
---|
Let's use
assertIs
here, for completeness.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+234) |