1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/diffusion
Bob Trahan 648fa2e1bc Repositories - Move scripts/repository/reparse.php to bin/repository reparse
Summary:
Fixes T5966. Accomplishes a few things

 - see title
 - adds a force-autoclose flag and the plumbing for it
 - removes references to some HarborMaster thing that used to key off commits and seems long dead, but forgotten :/

Test Plan:
ran a few commands. These first three had great success:

`./repository reparse --all FIRSTREPO --message --change  --herald --owners`
`./repository reparse --all FIRSTREPO --message --change  --herald --owners --min-date yesterday`
`./repository reparse --all FIRSTREPO --message --change  --herald --owners --min-date yesterday --force-autoclose`

...and these next two showed me some errors as expected:

`./repository reparse --all FIRSTREPO --message --change  --herald --owners --min-date garbagedata`
`./repository reparse --all GARBAGEREPO --message --change  --herald --owners`

Also, made a diff in a repository with autoclose disabled and commited the diff. Later, reparse the diff with force-autoclose. Verified the diff closed and that the reason "why" had the proper message text.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: joshuaspence, epriestley, Korvin

Maniphest Tasks: T5966

Differential Revision: https://secure.phabricator.com/D10492
2015-01-06 11:42:15 -08:00
..
application make repo callsigns optional 2015-01-01 08:07:26 -08:00
capability Simplify the implementation of PhabricatorPolicyCapability subclasses 2014-07-25 08:25:42 +10:00
conduit Fix diffusion.readmequery to work in a cluster enviroment 2014-12-31 11:54:52 -08:00
config Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
controller Repositories - Move scripts/repository/reparse.php to bin/repository reparse 2015-01-06 11:42:15 -08:00
data Update PhabricatorRepositoryManagementLookupUsersWorkflow to use ConduitCall 2015-01-02 15:13:57 -08:00
doorkeeper Partially modernize Doorkeeper/Asana bridge 2014-10-01 07:09:34 -07:00
edge Use PhabricatorAuditEditor to write revert edges 2015-01-06 07:30:38 +11:00
engine Use new FutureIterator instead of Futures 2014-12-30 23:13:38 +11:00
events Migrate Differential revision edges to use modern EdgeType subclasses 2015-01-01 15:07:03 +11:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
herald Allow pre-commit adapter to use custom actions 2014-08-28 10:59:30 +10:00
panel Rename DiffusionSetPasswordPanel for consistency 2015-01-04 08:34:30 +11:00
protocol Applied various linter fixes. 2014-06-09 16:04:12 -07:00
query Continue after rejecting commits from a commit query 2015-01-06 08:02:49 -08:00
remarkup make repo callsigns optional 2015-01-01 08:07:26 -08:00
request Show a better message for empty repositories and invalid branches 2014-07-12 07:05:19 -07:00
response Allow Phabricator to serve Mercurial repositories over HTTP 2013-11-06 18:00:42 -08:00
ssh Rename DiffusionSSHWorkflow subclasses for consistency 2015-01-05 06:33:19 +11:00
typeahead Rename PhabricatorApplication subclasses 2014-07-23 10:03:09 +10:00
view Fix diffusion.readmequery to work in a cluster enviroment 2014-12-31 11:54:52 -08:00
DiffusionLintSaveRunner.php Use new FutureIterator instead of Futures 2014-12-30 23:13:38 +11:00