Add a link in the HostingService API to related local repositories.

Review Request #5892 — Created May 28, 2014 and submitted

Information

Review Board
master
1bec438...

Reviewers

This adds a 'repositories' link in the HostingService item resource that
points to the Repository list resource, filtering on the given
service ID.

Saw the link in payloads. Followed it and saw the matching repositories.

Unit tests pass.

reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        reviewboard/webapi/tests/test_hosting_service.py
        reviewboard/webapi/resources/hosting_service.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        reviewboard/webapi/tests/test_hosting_service.py
        reviewboard/webapi/resources/hosting_service.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Loading...