Show a help link for accessing private GitHub org repositories

Review Request #8208 — Created June 1, 2016 and submitted

Information

Review Board
release-2.5.x
ec579e6...

Reviewers

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, HostingServiceErrors 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.

Description From Last Updated

Just saying "Help" is a little curt. Maybe something like "See help on granting access"?

daviddavid

I still think we should have some kind of verb in here on the link. "See how to grant access" …

daviddavid
reviewbot
  1. 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
    
    
  2. 
      
david
  1. 
      
  2. reviewboard/scmtools/forms.py (Diff revision 1)
     
     
    Show all issues

    Just saying "Help" is a little curt. Maybe something like "See help on granting access"?

  3. 
      
brennie
reviewbot
  1. 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
    
    
  2. 
      
brennie
reviewbot
  1. 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
    
    
  2. 
      
david
  1. 
      
  2. reviewboard/hostingsvcs/github.py (Diff revision 3)
     
     
    Show all issues

    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"...

  3. 
      
brennie
david
  1. Ship It!
  2. 
      
brennie
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.5.x (0496b5e)
reviewbot
  1. 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
    
    
  2.