Catlight for Phabricator / Harbormaster
Catlight should support the Harbormaster build server that is part of Phabricator.
To receive the status of builds within Harbormaster, you'll need to get the user to provide an API token. Once you have that, you can query the API endpoints in Conduit to find out:
- A list of repositories the user has access to: https://secure.phabricator.com/conduit/method/diffusion.repository.search/
- A list of branches in each repository: https://secure.phabricator.com/conduit/method/diffusion.branchquery/
- With the commit hashes, you then need find out the internal PHIDs (unique identifiers) of those commits with: https://secure.phabricator.com/conduit/method/diffusion.querycommits/
- Then you can query the pass / fail status of those commits by passing those PHIDs in as "buildablePHIDs" to: https://secure.phabricator.com/conduit/method/harbormaster.querybuildables/
Catlight isn't open source (from what I can see), so I can't send a pull request to add this support myself.