Add support for Kiln and FogBugz as hosting services.

Review Request #6605 — Created Nov. 18, 2014 and submitted

Information

Review Board
release-2.0.x
4635c20...

Reviewers

Kiln and FogBugz are services provided by Fog Creek for repository
hosting and bug tracking, respectively. Kiln does not support any
built-in endpoints for Mercurial file fetching, and the Git hosting is
not compatible with the raw file URL support.

This change adds support for working with repositories stored on Kiln,
and for easily setting up bug tracking at FogBugz.

The Kiln API has almost everything needed for fetching commits for the
New Review Request page, but is just useless enough where we cannot
provide that feature. The primary reason being that the API only allows
paginating from the oldest commit to the newest, and not vice-versa. It
also doesn't really allow us to start at any particular revision. So for
now, we just have basic support.

This also does not support Kiln repository aliases.

Unit tests pass.

Created a repository using both Kiln and FogBugz. I successfully posted
changes against a couple Kiln repositories and was able to view the diffs.

Verified that bug links were correct.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        setup.py
        reviewboard/hostingsvcs/fogbugz.py
        reviewboard/hostingsvcs/kiln.py
        reviewboard/hostingsvcs/tests.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        setup.py
        reviewboard/hostingsvcs/fogbugz.py
        reviewboard/hostingsvcs/kiln.py
        reviewboard/hostingsvcs/tests.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (036083b)
Loading...