1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-01 09:28:22 +01:00
phorge-phorge/src/applications/repository
epriestley 56f5c2443b Consolidate readers of "differential.revisionID" property
Summary:
Depends on D20467. Ref T13277. Currently, the "MessageParserWorker" writes this property on commits, then Herald and Audit both read it.

Make them share code so this property has one writer and one reader. This property isn't great, but at least now the badness is hidden.

Currently, we can't just use edges because they may not have been written yet. I am likely to just do this, soon:

  - Just write the edges (in "MessageParserWorker").
  - Hide the edges from mail.

However, we'll sort-of lose the "revisionMatchData" explanation thing if I do that. Maybe this is fine? But when commits match because hashes match, it legitimately isn't obvious.

For now, just reduce the amount of harm/badness here.

Test Plan:
  - Ran `bin/repository reparse --publish ...`.
  - Ran a Herald "Audit" rule using the "Accepted Differential revision" field.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13277

Differential Revision: https://secure.phabricator.com/D20468
2019-05-01 09:46:17 -07:00
..
codex When destorying a repository, print a notification about removing the working copy 2017-08-01 08:57:39 -07:00
conduit Update Diffusion conduit text 2017-07-02 14:25:10 +00:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Simplify Create Repository page 2017-08-15 11:05:50 -07:00
customfield Move various other callsites away from callsigns 2016-01-04 06:54:42 -08:00
daemon Make repository daemons periodically check for out-of-sync repositories 2019-01-31 22:12:39 -08:00
data Fix spelling 2017-10-09 10:48:04 -07:00
editor Modularize Repository transactions 2018-11-28 14:29:18 -08:00
engine Remove nearly all remaining references to "Autoclose" 2019-04-24 08:29:41 -07:00
graphcache Bail out of PhabricatorRepositoryGraphCache more aggressively after cache fills 2017-10-06 14:12:58 -07:00
mail Build separate mail for each recipient, honoring recipient access levels 2015-06-03 18:59:31 -07:00
management Merge the "Herald" and "Owners" daemon workers into a single "Publish" worker 2019-04-25 09:45:59 -07:00
phid When a repository is inactive, mark its handle as "closed" 2019-03-25 11:25:37 -07:00
query Show "hold reasons" on commit page, not on "Edit" page 2019-04-25 09:22:49 -07:00
response Accept and route VCS HTTP requests 2013-10-29 15:32:40 -07:00
search Add controllers/search/edit engine functionality to RepositoryIdentity 2018-05-31 07:03:25 -07:00
storage Merge the "Herald" and "Owners" daemon workers into a single "Publish" worker 2019-04-25 09:45:59 -07:00
worker Consolidate readers of "differential.revisionID" property 2019-05-01 09:46:17 -07:00
xaction Rename some internal "Autoclose" mentions to "Permanent Refs" 2019-04-18 05:38:09 -07:00