1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-03-08 02:19:34 +01:00
phorge-phorge/bin
epriestley 0dd947cced Move diff extraction from commits to a separate test with a CLI command
Summary:
Ref T9319. When we discover a commit, we sometimes update the corresponding revision with a "this is the actual committed change" diff and send out a link to the changes between review and commit.

This is currently very difficult to test, because it only happens the first time and you have to either go set up a bunch of objects or add a bunch of special casing to the parser to hit the workflow.

I'm making some changes to how it pulls file content. To make those changes easier to test, first start extracting this stuff so the code can be run with `bin/differential extract ...` instead of needing to do a bunch of more complicated setup steps.

Test Plan:
  - Ran `bin/differential extract ...` to extract diffs from commits.
  - Forced my way through the daemon workflow by faking out a bunch of flags, got a clean extract + attach + update. After this patch, this should rarely be necessary.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9319

Differential Revision: https://secure.phabricator.com/D14967
2016-01-08 09:22:37 -08:00
..
accountadmin
almanac
aphlict
audit
auth
cache
celerity
commit-hook
config
differential Move diff extraction from commits to a separate test with a CLI command 2016-01-08 09:22:37 -08:00
diviner
drydock
fact
feed
files
garbage
harbormaster
hunks
i18n
lipsum
mail
phd
phortune
policy
remove
repository
search
sms
ssh-auth
ssh-auth-key
ssh-connect
ssh-exec
storage
trigger
worker