1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-21 22:32:41 +01:00
phorge-phorge/scripts/repository
epriestley 618b5cbbc4 Install pre-commit hooks in Git repositories
Summary:
Ref T4189. T4189 describes most of the intent here:

  - When updating hosted repositories, sync a pre-commit hook into them instead of doing a `git fetch`.
  - The hook calls into Phabricator. The acting Phabricator user is sent via PHABRICATOR_USER in the environment. The active repository is sent via CLI.
  - The hook doesn't do anything useful yet; it just veifies basic parameters, does a little parsing, and exits 0 to allow the commit.

Test Plan:
  - Performed Git pushes and pulls over SSH and HTTP.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4189

Differential Revision: https://secure.phabricator.com/D7682
2013-12-02 15:45:36 -08:00
..
audit.php Provide a more flexible script for administrative management of audits 2013-08-05 10:35:01 -07:00
commit_hook.php Install pre-commit hooks in Git repositories 2013-12-02 15:45:36 -08:00
manage_repositories.php Add bin/repository edit for CLI repository editing 2013-11-13 11:26:05 -08:00
rebuild_summaries.php Delete license headers from files 2012-11-05 11:16:51 -08:00
reconcile.php Delete license headers from files 2012-11-05 11:16:51 -08:00
reparse.php Document reparse --min-date more, add validation 2013-04-05 07:35:35 -07:00
save_lint.php Save blame info to lint messages 2013-03-06 16:19:01 -08:00
test_connection.php Delete license headers from files 2012-11-05 11:16:51 -08:00