1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 17:28:51 +02:00
phorge-phorge/src
epriestley 6899fbcf29 Add DifferentialHunkQuery to start hiding hunk storage details
Summary:
Ref T4045. We have a lot of direct queries against the hunk table right now. These are messy, not really policy-aware, and limit our options on T4045.

This query is unusual (it requires changesets, and does not accept IDs). This keeps us from having to load changeset -> diff -> revision in order to do policy checks. We could also fix this with smarter policy checks and caching, but I'd rather not open that can of worms for now. This object is very low level and relatively unusual, and this small deviation from convention seems like the cleanest cut to make to keep this from snowballing.

Test Plan: Used Herald dry runs to verify that the affected rules still output the same data.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T4045

Differential Revision: https://secure.phabricator.com/D8765
2014-04-14 12:06:26 -07:00
..
aphront Use correct viewer for debug.stop-on-redirect 2014-04-08 10:27:05 -07:00
applications Add DifferentialHunkQuery to start hiding hunk storage details 2014-04-14 12:06:26 -07:00
docs Rate limit requests by IP 2014-04-08 18:36:21 -07:00
extensions Add src/extensions/ to Phabricator 2013-08-14 15:38:06 -07:00
infrastructure Render default/current settings in the same format they'll be edited 2014-04-08 12:09:43 -07:00
view Switch back to zwsp for oncopy line marker 2014-04-08 17:55:48 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Add DifferentialHunkQuery to start hiding hunk storage details 2014-04-14 12:06:26 -07:00