Page MenuHomePhabricator

Add an administrative `bin/repository importing` command to list importing commits
ClosedPublic

Authored by epriestley on Nov 6 2013, 4:16 PM.
Tags
None
Referenced Files
F15513371: D7515.id16950.diff
Thu, Apr 17, 6:30 PM
F15505445: D7515.id.diff
Tue, Apr 15, 3:05 AM
F15505443: D7515.id16950.diff
Tue, Apr 15, 3:04 AM
F15505442: D7515.id16941.diff
Tue, Apr 15, 3:04 AM
F15484353: D7515.id16950.diff
Wed, Apr 9, 5:52 PM
F15481969: D7515.id16950.diff
Wed, Apr 9, 1:31 AM
F15480862: D7515.id.diff
Tue, Apr 8, 5:00 PM
F15480770: D7515.id.diff
Tue, Apr 8, 4:21 PM
Subscribers

Details

Summary

Ref T4068. Adds a command to list all commits in an "importing" status. This will allow users to use reparse.php to diagnose and repair issues.

Test Plan
  • Ran bin/repository importing P, etc.
  • Used reparse.php to reparse some commit stages and saw status update correctly.
  • Ran on a repo with no importing commits.
  • Ran with ... --simple | xargs, which saves us having to put an awk or something in there for users.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
src/applications/repository/management/PhabricatorRepositoryManagementImportingWorkflow.php
38–47

how come this isn't a loadAllWhere() ?