1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/releeph
epriestley 28696d08ac Remove indirect loads of Differential revisions from Releeph requests
Summary:
Ref T3551. Currently, there are many layers of indirection between pull requests and revisions. After D8822, revisions and other types of requested objects are recorded directly on the request. This allows us to simplify data access and querying.

A lot of stuff here is doing `instanceof` checks to keep APIs stable, but most of those can go away in the long run.

Test Plan:
  - Browsed requests.
  - Verified revision-dependent fields (like "Revision", "Size", "Churn") still render correctly.
  - Called `releeph.queryrequests`.
  - Called `releephwork.nextrequest`.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T3551

Differential Revision: https://secure.phabricator.com/D8824
2014-04-20 11:55:47 -07:00
..
application Add modern releeph.queryproducts and releeph.querybranches 2014-04-20 11:54:22 -07:00
commitfinder Add "requestedObjectPHID" to ReleephRequest 2014-04-20 11:55:18 -07:00
conduit Remove indirect loads of Differential revisions from Releeph requests 2014-04-20 11:55:47 -07:00
config Use standard UI elements to render pull requests in Releeph 2014-04-18 06:44:45 -07:00
constants Use standard UI elements to render pull requests in Releeph 2014-04-18 06:44:45 -07:00
controller Allow discovered but unparsed commits to be requested in Releeph 2014-04-20 11:55:29 -07:00
differential Remove loadReleephBranch and loadReleephProject from ReleephRequest 2014-04-20 11:54:58 -07:00
editor Remove loadReleephBranch and loadReleephProject from ReleephRequest 2014-04-20 11:54:58 -07:00
field Remove indirect loads of Differential revisions from Releeph requests 2014-04-20 11:55:47 -07:00
mail Remove the last hardcoding from PhabricatorMetaMTAReceivedMail 2013-05-17 10:00:49 -07:00
phid Rename ReleephProjectQuery to ReleephProductQuery 2014-04-20 11:51:02 -07:00
query Remove indirect loads of Differential revisions from Releeph requests 2014-04-20 11:55:47 -07:00
storage Remove indirect loads of Differential revisions from Releeph requests 2014-04-20 11:55:47 -07:00
view Use standard UI elements to render pull requests in Releeph 2014-04-18 06:44:45 -07:00