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
F15437186: D7515.diff
Tue, Mar 25, 6:08 PM
F15423825: D7515.id.diff
Sat, Mar 22, 6:42 PM
F15419150: D7515.id16941.diff
Fri, Mar 21, 4:00 AM
F15415516: D7515.diff
Thu, Mar 20, 6:22 AM
F15413144: D7515.diff
Wed, Mar 19, 5:12 PM
F15338392: D7515.diff
Sun, Mar 9, 10:46 AM
Unknown Object (File)
Mon, Mar 3, 4:23 PM
Unknown Object (File)
Feb 26 2025, 4:59 AM
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() ?