Closed Bug 1507818 Opened 3 years ago Closed 3 years ago

New phabricator revision panel on show_bug should show stacked revisions in tree structure

Categories

(bugzilla.mozilla.org :: Phabricator Integration, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dkl, Unassigned)

References

Details

If more than one revision is attached to a bug and those revisions are "stacked" in Phabricator it should also reflect the same tree structure in the bug view panel. It will need to be determined if the Conduit API exports the parent/child relationship in order to make this work. If not an extension may be needed to add the extra data to differential.revision.search.
(In reply to David Lawrence [:dkl] from comment #0)
> It will need to be determined if the Conduit API exports
> the parent/child relationship in order to make this work. If not an
> extension may be needed to add the extra data to
> differential.revision.search.
You're looking for the 'edge.search' api method. You can see how Lando API uses it to find all the phids in the stack here: https://github.com/mozilla-conduit/lando-api/blob/7eeb861971afde9565229a26aa62c96baebe1c72/landoapi/stacks.py#L16
Blocks: 1511100
You can also now see the algorithm / code Lando-UI is using to render the graph in Bug 1490337.

Actually, after some more thought and discussion, Phabricator stacks can span multiple bugs. Bugzilla really shouldn't try and display the stack in a graph, or the entire stack, as that gets really tricky. Updates on how the display is handled are going to be coming in Bug 1523847.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.