1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 10:18:48 +02:00
phorge-phorge/src/applications
epriestley a15130b47c Add a maintenance script for reconciling repositories to disk state
Summary:
@rguerin ran into an issue in his install where Phabricator appears to have
discovered commits which no longer exist, and thus is failing to proceed with
its repository import.

It's not clear how we got into this state. Previously, it was possible by, e.g.,
parsing a different repository's working copy and then switching them back, but
there are now safeguards against that.

I'm taking a three-pronged approach to try to sort this out:

  - Provide a script to get out of this state (this script) and reconcile
Phabricator's view of a repository with an authoritative copy of it. This
basically "un-discovers" any discovered commits which don't actually exist (any
queued tasks to parse them will fail permanently when they fail to load the
commit object).
  - Add more logging to the discovery daemon so we can figure out where commits
came from.
  - Improve Diffusion's UI when stuff is partially discovered (T776).

(This script should also clean up some nonsense on secure.phabricator.com from a
botched Diviner import.)

Test Plan: Ran "reconcile.php" with bogus commits and bogus differential/commit
links, had them expunged. Will work with @rguerin to see if this resolves
things.

Reviewers: btrahan, rguerin

Reviewed By: btrahan

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1552
2012-02-02 16:03:50 -08:00
..
audit Add Basic Auditing Functionalities 2011-12-20 13:36:53 -08:00
auth Add optional "Re:" prefix to all threaded mail and allow disabling mail about 2012-01-18 15:20:50 -08:00
base Send 403 for admin pages without being admin 2012-01-15 17:30:23 -08:00
calendar Build a basic calendar view 2011-08-08 10:34:06 -07:00
conduit Fix conduit host check 2012-02-02 11:38:14 -08:00
countdown Use generic URIs 2012-01-16 14:53:05 -08:00
daemon Add buttons to delete or free tasks from the queue 2012-01-24 09:14:06 -08:00
differential Wrap basic diff/revision association in a transaction 2012-02-02 16:03:44 -08:00
diffusion Add links to empty result in Diffusion 2012-02-01 11:57:48 -08:00
directory Lock down accepted next URI values for redirect after login 2012-01-13 11:58:45 -08:00
draft/storage Revision comment drafts. 2011-02-05 16:57:21 -08:00
drydock Use setConcreteOnly() in Phabricator and only list/launch concrete Daemons 2012-01-25 11:50:59 -08:00
feed Resolve link framing issue for public feed 2012-01-30 04:12:15 -08:00
files Put file name in view URI, so downloading it with option-return creates a 2012-01-16 17:38:10 -08:00
help/controller Explicitly show that "escape" closes dialogs in Phabricator 2011-08-02 09:21:28 -07:00
herald Disable personal Herald rules from invalid owners 2012-01-31 12:11:31 -08:00
maniphest Add a description preview to maniphest create / edit panel 2012-01-25 11:28:08 -08:00
markup Fix undefined index header.generate-toc in Differential 2012-01-06 23:52:39 -08:00
metamta Add optional "Re:" prefix to all threaded mail and allow disabling mail about 2012-01-18 15:20:50 -08:00
owners XSS in Owners 2012-02-02 12:31:23 -08:00
paste Kill PhabricatorFileURI 2012-01-10 15:21:39 -08:00
people Document configuration of external editor links 2012-01-30 15:56:42 -08:00
phid Resolve link framing issue for public feed 2012-01-30 04:12:15 -08:00
phriction Add basic draft support to Phriction 2012-01-12 18:04:20 -08:00
project Add a Join / Leave button to Projects 2012-01-25 11:51:20 -08:00
repository Add a maintenance script for reconciling repositories to disk state 2012-02-02 16:03:50 -08:00
search Kill PhabricatorFileURI 2012-01-10 15:21:39 -08:00
slowvote Kill PhabricatorFileURI 2012-01-10 15:21:39 -08:00
status/base Add /status/ 2011-04-08 11:13:51 -07:00
typeahead/controller Add a name token table so on-demand typeaheads can match last names 2011-10-23 14:25:26 -07:00
uiexample Examples using JX.View 2011-11-06 15:17:00 -08:00
xhpastview Add missing includes from XHPAST parse bug. 2011-04-06 23:14:58 -07:00
xhprof Fix iframe issue for XHProf DarkConsole plugin 2012-01-28 11:17:19 -08:00