1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-15 09:11:07 +01:00
phorge-phorge/src/applications/herald/adapter
epriestley a64d127e25 Add "is merge commit" Herald field for pre-commit rules
Summary:
Ref T4195. This allows you to write rules which disallow merge commits.

Also make the reject message a little more useful.

Test Plan:
  remote: This push was rejected by Herald push rule H27.
  remote: Change: commit/daed0d448404
  remote:   Rule: No Merges
  remote: Reason: No merge commits allowed. If you must push a merge, include "@force-merge" in the commit message.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4195

Differential Revision: https://secure.phabricator.com/D7809
2013-12-20 12:39:40 -08:00
..
HeraldAdapter.php Add "is merge commit" Herald field for pre-commit rules 2013-12-20 12:39:40 -08:00
HeraldCommitAdapter.php Add an "Accepted Differential revision" field to Commit and pre-commit Content Herald rules 2013-12-20 12:39:13 -08:00
HeraldDifferentialRevisionAdapter.php Use herald to trigger builds of revisions and commits. 2013-11-08 16:58:39 -08:00
HeraldManiphestTaskAdapter.php Herald - add ability to conditionalize on Maniphest Task projects 2013-11-11 14:20:31 -08:00
HeraldPholioMockAdapter.php Make Herald rules obey policies during application 2013-10-05 12:55:34 -07:00