phorge/scripts
epriestley 2cfc3acf32 Allow Herald pre-commit rules to act on repository projects
Summary:
Fixes T4264. Adds:

  - New "Repository's projects" field to Herald pre-commit rules, so you can write global rules which act based on projects.
  - Allows pre-ref/pre-content rules to bind to projects, and fire for all repositories in that project, so users with limited power can write rules which apply to many repositories.
  - The pre-ref and pre-content classes were starting to share a fair amount of code, so I made them both extend an abstract base class.

Test Plan: Wrote new pre-ref and pre-content rules bound to projects, then pushed commits into repositories in those projects and not in those projects. The "repository projects" field populated, and the rules fired for repositories in the relevant projects.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4264

Differential Revision: https://secure.phabricator.com/D7883
2014-01-03 12:24:28 -08:00
..
aphront
cache Update manage_cache.php 2013-11-21 12:36:00 -08:00
calendar
celerity Drive all Celerity operations from the new map 2013-12-31 18:04:25 -08:00
daemon
differential
diviner Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
drydock Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
fact Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
files Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
fpm
install Enable Evil^H^H^H^HJSON for PHP on Ubuntu 13.10 2014-01-02 11:59:12 -08:00
lipsum Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
mail Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
profile
repository Allow Herald pre-commit rules to act on repository projects 2014-01-03 12:24:28 -08:00
search Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
setup Begin construction of bin/celerity map 2013-12-31 18:02:41 -08:00
sql Make all bin/* scripts locate their workflows dynamically 2013-12-27 13:15:48 -08:00
ssh Provide a more helpful message if a user connects via raw SSH 2013-12-30 13:21:56 -08:00
symbols Bugfix for D7596 2013-11-17 20:19:49 -08:00
user Warn users about using bin/accountadmin for first time setup 2013-12-02 11:25:42 -08:00
util
__init_script__.php
celerity_mapper.php Drive all Celerity operations from the new map 2013-12-31 18:04:25 -08:00