1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/repository/worker
epriestley 2e9cc5e8e8 Make implicit audits by the Owners tool use modern code
Summary:
Ref T10978. This updates audits triggered by Owners to use a modern transaction. Minor changes:

  - After D17264, we no longer need the "AUDIT_NOT_REQUIRED" fake-audits to record package membership. This no longer creates them.
  - This previously saved English-language, untranslatable text strings about audit details onto the audit relationship. I've removed them, per discussion in D17263.

The "Audit Reasons" here are potentially a little more useful than the Herald/Explicit-By-Owner ones were, since the rules are a little more complex, but I'd still like to see evidence that we need them.

In particular, the transaction record now says "Owners added auditors: ...", just like Differential, so the source of the auditors should be clear:

{F2549087}

T11118 (roughly "add several Owners audit modes", despite the title at time of writing) might impact this too. Basically, this is simple and maybe good enough; if it's not quite good enough we can refine it.

Test Plan: Ran `bin/repository reparse --owners <commit>` saw appropriate owners audits trigger.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10978

Differential Revision: https://secure.phabricator.com/D17266
2017-01-30 15:23:48 -08:00
..
__tests__ Remove diffusion.getcommits Conduit API method 2016-01-04 06:53:45 -08:00
commitchangeparser Migrate the "badcommit" table to use the less-hacky "hint" mechanism 2016-08-24 09:32:59 -07:00
commitmessageparser Do initial repository imports at a lower priority and finish importing commits before starting new ones 2016-09-21 16:41:01 -07:00
PhabricatorRepositoryCommitHeraldWorker.php Return Diffusion diffs through Files, not directly over Conduit 2016-08-27 09:11:03 -07:00
PhabricatorRepositoryCommitOwnersWorker.php Make implicit audits by the Owners tool use modern code 2017-01-30 15:23:48 -08:00
PhabricatorRepositoryCommitParserWorker.php Migrate the "badcommit" table to use the less-hacky "hint" mechanism 2016-08-24 09:32:59 -07:00
PhabricatorRepositoryPushMailWorker.php Link to Harbormaster build targets from the Daemon worker page 2015-08-10 14:15:19 -07:00