Show a help link for accessing private GitHub org repositories
Review Request #8208 — Created June 1, 2016 and submitted
When a private organization repository cannot be linked, we know show a
help link to a knowledge base article on how to add access permissions
to the repository.To facilitate this,
HostingServiceError
s now accept a help link, which
will render in the repository form with the message and a HTML link to
the URL.
- Ran unit tests.
- Attempted to add a private organization repository that does not exist
and got a message with the link.
-
-
reviewboard/scmtools/forms.py (Diff revision 1) Just saying "Help" is a little curt. Maybe something like "See help on granting access"?
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/errors.py reviewboard/hostingsvcs/github.py reviewboard/scmtools/forms.py Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/errors.py reviewboard/hostingsvcs/github.py reviewboard/scmtools/forms.py
-
Tool: Pyflakes Processed Files: reviewboard/hostingsvcs/errors.py reviewboard/hostingsvcs/github.py reviewboard/scmtools/forms.py Tool: PEP8 Style Checker Processed Files: reviewboard/hostingsvcs/errors.py reviewboard/hostingsvcs/github.py reviewboard/scmtools/forms.py
-
-
reviewboard/hostingsvcs/github.py (Diff revision 3) I still think we should have some kind of verb in here on the link. "See how to grant access" or "Get help granting access"...