Page MenuHomePhabricator

Make commit query useful enough to show "recent commits + build status on master" of a particular repository
Open, LowPublic

Description

I want to create a panel for the homepage dashboard which displays the last 5 commits to the master branch and their build status.

We have two herald rules which trigger builds for two branches, the master branch and a stable branch.
It is easy to create a query which displays the last 5 builds but I haven't found a way to filter queries depending on which branch the commit which triggered the build is from.

There are two obvious ways that I can see to solve this problem.

  1. Make it possible to filter builds by which herald rule triggered them
  2. Make it possible to filter builds by which branch the commit being built is on.

Event Timeline

epriestley added a subscriber: epriestley.

Broadly, I think this is better expressed as "Commits in rXYZ on master, including build status" than "Builds of commits in rXYZ on master". Diffusion proper already shows build status in commit lists, although the commit query in Audit currently does not. This probably won't get an update until T10978 happens.

epriestley renamed this task from Filter Harbormaster builds by their provenance to Make commit query useful enough to show "recent commits + build status on master" of a particular repository.Oct 17 2016, 10:57 PM
epriestley added a parent task: T10978: Modernize Audit.