1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 17:32:41 +01:00
phorge-phorge/src/applications/differential/storage
epriestley 36e72639de Reduce visibility of "Host" and "Path" Differential fields by default
Summary:
See discussion in T838. These fields expose information which it isn't necessary
or useful to expose in the general case.

  - Disable fields by default, allow them to be enabled in config (these fields
were useful for me at Facebook when I had access to all the machines).
  - Remove 'sourcePath' from Conduit methods other than differential.query.
  - Condition 'sourcePath' field in Conduit on the caller being the revision
author. This is a bit hacky but not so awful.

Test Plan:
  - Verified fields are gone by default and restored by configuration.
  - Verified Conduit no longer returns these fields other than
differential.query.
  - Verified field presence/absence according to authorship in
differential.query.
  - Grepped around in arcanist to make sure we aren't relying on sourcePath.
There's a workflow in "arc merge" that technically might hit it, but I think
it's unreachable, definitely irrelvant (we never use source path as a
distinguisher under git/hg, and can't 'arc merge' in SVN) and it's going away
Real Soon Now anyway.

Reviewers: btrahan, arice

Reviewed By: arice

CC: aran, epriestley

Maniphest Tasks: T838

Differential Revision: https://secure.phabricator.com/D1582
2012-02-06 12:14:07 -08:00
..
affectedpath Build an "affected path" index when attaching diffs to revisions 2011-09-15 07:45:14 -07:00
auxiliaryfield Move Differential's simple fields to the extensible field schema 2011-08-15 08:39:48 -07:00
base Conduit: differential.creatediff 2011-01-24 11:28:12 -08:00
changeset Change fileName to filename 2012-01-17 10:50:14 -08:00
comment Track content sources (email, web, conduit, mobile) for replies 2011-08-30 11:08:27 -07:00
diff Reduce visibility of "Host" and "Path" Differential fields by default 2012-02-06 12:14:07 -08:00
diffproperty Lint and unit star support. 2011-04-10 17:19:01 -07:00
hunk Conduit: differential.creatediff 2011-01-24 11:28:12 -08:00
inlinecomment Display compatible inline comments (usually synthetic) on the same row 2012-02-04 10:20:37 -08:00
revision Deploy new ArcanistManyWordsAboutDifferentialConstants class from D1328 into 2012-01-10 11:49:20 -08:00