Select the types of activity you want to include in your feed.
@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
···11<?php
2233-$table = new PhabricatorRepositorySymbol();
44-$conn_w = $table->establishConnection('w');
55-66-$projects = queryfx_all(
77- $conn_w,
88- 'SELECT * FROM %T',
99- 'repository_arcanistproject');
1010-1111-foreach ($projects as $project) {
1212- $repo = id(new PhabricatorRepositoryQuery())
1313- ->setViewer(PhabricatorUser::getOmnipotentUser())
1414- ->withIDs(array($project['repositoryID']))
1515- ->executeOne();
1616-1717- if (!$repo) {
1818- continue;
1919- }
2020-2121- echo pht("Migrating symbols for '%s' project...\n", $project['name']);
2222-2323- queryfx(
2424- $conn_w,
2525- 'UPDATE %T SET repositoryPHID = %s WHERE arcanistProjectID = %d',
2626- $table->getTableName(),
2727- $repo->getPHID(),
2828- $project['id']);
2929-}
33+// NOTE: This migration moved existing symbols from Arcanist Projects to
44+// Repositories. It stopped running cleanly about two months later, after
55+// Spaces were introduced. Since this data is not important and can be
66+// trivially regenerated, just stop running the migration. See T8691.