Page MenuHomePhabricator

Be able to obtain the commits (related objects) associated with a task and the reviews associated with a commit
Closed, ResolvedPublic

Description

It seems that some of my developers have been associating commits with tasks and hence I'd like to be able to find those commits given a task phid. This could be implemented as a 'related-objects' edge for example or as an attachment to maniphest.search.

Similarly, once I have each commit, I'd like to be able to find the differential review associated with it.

Event Timeline

D17604 adds the six edge types representing relationships between tasks, revisions, and commits to edge.search.

The two relationships you mention are task.commit and commit.revision respectively, but the other four edges are now also available:

Screen Shot 2017-04-02 at 5.27.21 PM.png (456×963 px, 97 KB)