1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 15:22:41 +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 Improve CLI script for account creation and document account/reg setup process 2011-05-12 18:44:53 -07:00
almanac Implement storage of a host ID and a public key for authorizing Conduit between servers 2014-10-03 22:52:41 +10:00
aphlict Add a bin/aphlict wrapper to handle aphlict config / daemonization 2012-06-18 15:11:19 -07:00
audit Provide a more flexible script for administrative management of audits 2013-08-05 10:35:01 -07:00
auth Add very basic bin/auth tool 2013-06-17 10:55:05 -07:00
cache Provide 'bin/cache', for managing caches 2013-05-20 10:16:35 -07:00
celerity Begin construction of bin/celerity map 2013-12-31 18:02:41 -08:00
commit-hook Install pre-commit hooks in Git repositories 2013-12-02 15:45:36 -08:00
config Add a local configuration source and a non-environmental ENV config source 2012-12-30 06:16:15 -08:00
differential Move diff extraction from commits to a separate test with a CLI command 2016-01-08 09:22:37 -08:00
diviner Port Diviner Core to Phabricator 2013-01-07 14:04:23 -08:00
drydock Modernize the drydock script 2012-11-01 15:30:14 -07:00
fact Add a basic "fact" application 2012-07-27 13:34:21 -07:00
feed Push feed publishing deeper into the task queue 2013-06-25 16:29:47 -07:00
files Add a script to migrate files between storage engines 2012-10-25 11:36:38 -07:00
garbage Provide bin/garbage for interacting with garbage collection 2015-10-02 09:17:24 -07:00
harbormaster Add bin/harbormaster to make builds easier to debug 2013-12-26 10:40:52 -08:00
hunks Add a bin/hunks script to manage migrations of hunk data 2014-06-03 18:01:23 -07:00
i18n Write a very basic string extractor 2014-02-05 11:02:41 -08:00
lipsum First Diff of Test Data Generator 2013-04-12 14:07:16 -07:00
mail Introduce basic bin/mail with a resend workflow 2013-03-30 15:53:49 -07:00
phd Launch daemons with a full Phabricator environment in the overseers 2013-07-23 12:09:45 -07:00
phortune Add some of a billing daemon skeleton 2015-01-30 11:29:05 -08:00
policy Add a very simple bin/policy script for CLI policy administration 2013-09-29 09:06:41 -07:00
remove Implement bin/remove, for structured destruction of objects 2014-05-01 18:23:31 -07:00
repository Introduce "bin/repository" for repository management 2012-06-25 12:35:37 -07:00
search Improve Search architecture 2012-12-21 14:21:31 -08:00
sms Add SMS support 2014-05-09 12:47:21 -07:00
ssh-auth Implement SSHD glue and Conduit SSH endpoint 2012-12-19 11:08:07 -08:00
ssh-auth-key Prepare to route VCS connections through SSH 2013-10-29 15:32:40 -07:00
ssh-connect Simplify Repository remote and local command construction 2013-11-20 10:41:35 -08:00
ssh-exec Implement SSHD glue and Conduit SSH endpoint 2012-12-19 11:08:07 -08:00
storage Make SQL patch management DAG-based and provide namespace support 2012-04-30 07:54:00 -07:00
trigger Add bin/trigger, for testing event triggers 2015-01-20 11:31:32 -08:00
worker Add bin/worker flood, for flooding the task queue with work 2014-11-24 11:10:15 -08:00