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/diffusion/herald
epriestley 3627e73e5e Apply "enormous changes" rules to pre-commit content rules too
Summary:
Fixes T4276. This adds "Change is enormous" to pre-commit content rules so we can, e.g., just reject these and not worry about them elsewhere.

Also, use the same numeric limits across the mechanisms so there's a consistent definition of an "enormous" changeset.

Test Plan:
  - Set enormous limit to 15 bytes, pushed some changes, got blocked by a rule.
  - Set it back, pushed OK.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4276

Differential Revision: https://secure.phabricator.com/D7887
2014-01-06 12:12:30 -08:00
..
HeraldPreCommitAdapter.php Allow Herald pre-commit rules to act on repository projects 2014-01-03 12:24:28 -08:00
HeraldPreCommitContentAdapter.php Apply "enormous changes" rules to pre-commit content rules too 2014-01-06 12:12:30 -08:00
HeraldPreCommitRefAdapter.php Allow Herald pre-commit rules to act on repository projects 2014-01-03 12:24:28 -08:00