1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-06 04:41:01 +01:00
phorge-phorge/src/applications/diffusion
epriestley 5e7a091737 Write an explicit edge for commit membership in packages
Summary:
Ref T10978. Currently, during commit import, we write an "Audit Not Required" auditor for commits which don't require an audit.

This auditor is used to power the "Commits in this package" query in Owners.

This conflates audits and commit/package membership. I think it might even predate edges. Code needs to dance around this mess and we get the wrong result in some cases, since auditors are now editable.

Instead, write an explicit edge which just says "this commit is part of such-and-such packages". Then use that to run the query. Logical!

I'll issue guidance on this but I'm not migrating it, since it fixes itself going forward and only really affects the UI in Owners.

Test Plan:
  - Ran `bin/audit update-owners` with various arguments.
  - Viewed packages in web UI, saw them load the proper commits.
  - Queried by packages in Diffusion explicitly.
  - Clicked the "View All" link in Owners and got to the right search UI.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10978

Differential Revision: https://secure.phabricator.com/D17264
2017-01-30 15:23:34 -08:00
..
application Merge "Audit" more completely into "Diffusion" 2017-01-11 16:28:42 -08:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Remove "diffusion.createcomment" Conduit API method 2017-01-26 12:57:15 -08:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
controller Clean up "Audit Authority" code, at least mostly 2017-01-25 13:08:25 -08:00
data Don't track "phabricator/" staging area tags 2016-06-16 11:22:02 -07:00
doorkeeper Partially modernize Doorkeeper/Asana bridge 2014-10-01 07:09:34 -07:00
edge Write an explicit edge for commit membership in packages 2017-01-30 15:23:34 -08:00
editor Modularize global quick create builtin items 2017-01-17 15:56:31 -08:00
engine Show yellow "draft" bubble in Audit 2017-01-16 10:28:59 -08:00
engineextension Cache Almanac URIs for repositories 2016-12-06 09:14:45 -08:00
exception Make repository daemon locks more granular and forgiving 2016-05-13 05:17:27 -07:00
garbagecollector Support ID-based repository URIs, and canonicalize repository URIs 2016-02-18 09:56:28 -08:00
gitlfs Support slightly prettier repository URIs in Diffusion 2016-11-13 12:42:12 -08:00
herald Make the "Add Auditors" Herald rules use modern transactions 2017-01-30 15:23:20 -08:00
management Don't show "clone-name" as "Short Name" 2016-11-14 22:46:40 +00:00
panel Fixed typo 2016-12-19 17:56:27 -08:00
protocol Provide more useful guidance if a repository is clusterized into an existing multi-device cluster 2017-01-10 12:45:55 -08:00
query Write an explicit edge for commit membership in packages 2017-01-30 15:23:34 -08:00
relationships Convert all standard relationship-editing actions to modern Relationships code 2016-06-29 11:24:52 -07:00
remarkup When commits have a "rewritten" hint, try to show that in handles in other applications 2016-08-24 09:35:19 -07:00
request Modernize UI for "Compare" in Diffusion 2016-12-05 18:10:11 -08:00
response Implement a Git LFS server which supports no operations 2016-03-17 08:08:43 -07:00
ssh Improve error messages for running git clone against a Mercurial repository 2016-12-02 07:30:03 -08:00
symbol Extend from Phobject 2015-06-15 18:02:27 +10:00
typeahead Render browse results with global result style 2016-06-20 16:49:02 -07:00
view Show commit audit status in repository history tables, including merge commit lists 2017-01-19 11:43:21 -08:00
xaction Add a "Needs Verification" state to Audit 2017-01-25 13:08:59 -08:00
DiffusionLintSaveRunner.php Return Diffusion diffs through Files, not directly over Conduit 2016-08-27 09:11:03 -07:00