@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Skip a very old project reindex migration

Summary:
During migration of very old installs, this script no longer runs properly since at HEAD it can't index against older schemas.

Since it's pretty fluff, just toss it. Installs can run `bin/search index --type PROJ` after finishing migrations to achieve the same effect, if necessary.

Test Plan: eyeballed it

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D8619

+3 -18
+3 -18
resources/sql/patches/20130912.maniphest.4.fillindex.php
··· 1 1 <?php 2 2 3 - // Update the "PROJ" search index, to: 4 - // 5 - // - Populate the index itself, which was added recently. 6 - // - Populate the secondary object name index in Maniphest. 7 - 8 - $root = dirname(phutil_get_library_root('phabricator')); 9 - 10 - $command = new PhutilExecPassthru( 11 - 'php -f %s -- index --type PROJ', 12 - $root.'/scripts/search/manage_search.php'); 13 - $err = $command->execute(); 14 - if ($err) { 15 - // NOTE: Just ignore this. The indexing script fails if there are no projects 16 - // yet, and even if it actually fails with something terrible and explosive 17 - // it isn't very concerning. The worst case here is that "group by projects" 18 - // doesn't work perfectly in Maniphest, and re-running the script later on 19 - // can fix it. 20 - } 3 + // This previously updated the PROJ index, but HEAD can no longer reindex 4 + // old PROJ records properly (since fields have been added to various places) 5 + // and this migration is 6 months old and optional. Just skip it.