Homec4science

Repositories - Move scripts/repository/reparse.php to bin/repository reparse

Authored by Bob Trahan <btrahan@phacility.com> on Jan 6 2015, 20:42.

Description

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

Details

Committed
Bob Trahan <btrahan@phacility.com>Jan 6 2015, 20:42
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3e421c74503c: Normalize 'Archived' states in object headers
Branches
Unknown
Tags
Unknown

Event Timeline

Bob Trahan <btrahan@phacility.com> committed rPH648fa2e1bcc6: Repositories - Move scripts/repository/reparse.php to bin/repository reparse (authored by Bob Trahan <btrahan@phacility.com>).Jan 6 2015, 20:42