@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 35 lines 830 B view raw
1<?php 2 3$names = array( 4 'CommandBuildStepImplementation', 5 'LeaseHostBuildStepImplementation', 6 'PublishFragmentBuildStepImplementation', 7 'SleepBuildStepImplementation', 8 'UploadArtifactBuildStepImplementation', 9 'WaitForPreviousBuildStepImplementation', 10); 11 12$tables = array( 13 id(new HarbormasterBuildStep())->getTableName(), 14 id(new HarbormasterBuildTarget())->getTableName(), 15); 16 17echo pht('Renaming Harbormaster classes...')."\n"; 18 19$conn_w = id(new HarbormasterBuildStep())->establishConnection('w'); 20foreach ($names as $name) { 21 $old = $name; 22 $new = 'Harbormaster'.$name; 23 24 echo pht('Renaming %s -> %s...', $old, $new)."\n"; 25 foreach ($tables as $table) { 26 queryfx( 27 $conn_w, 28 'UPDATE %T SET className = %s WHERE className = %s', 29 $table, 30 $new, 31 $old); 32 } 33} 34 35echo pht('Done.')."\n";