@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.

at recaptime-dev/main 31 lines 663 B view raw
1<?php 2 3echo pht('Backfilling commit summaries...')."\n"; 4 5$table = new PhabricatorRepositoryCommit(); 6$conn_w = $table->establishConnection('w'); 7$commits = new LiskMigrationIterator($table); 8foreach ($commits as $commit) { 9 echo pht('Filling Commit #%d', $commit->getID())."\n"; 10 11 if (strlen($commit->getSummary())) { 12 continue; 13 } 14 15 $data = id(new PhabricatorRepositoryCommitData())->loadOneWhere( 16 'commitID = %d', 17 $commit->getID()); 18 19 if (!$data) { 20 continue; 21 } 22 23 queryfx( 24 $conn_w, 25 'UPDATE %T SET summary = %s WHERE id = %d', 26 $commit->getTableName(), 27 $data->getSummary(), 28 $commit->getID()); 29} 30 31echo pht('Done.')."\n";