repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryCommitChangeParserWorker.php
src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryCommitChangeParserWorker.php
<?php abstract class PhabricatorRepositoryCommitChangeParserWorker extends PhabricatorRepositoryCommitParserWorker { protected function getImportStepFlag() { return PhabricatorRepositoryCommit::IMPORTED_CHANGE; } public function getRequiredLeaseTime() { // It can take a very long time to parse commit...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryGitCommitChangeParserWorker.php
src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryGitCommitChangeParserWorker.php
<?php final class PhabricatorRepositoryGitCommitChangeParserWorker extends PhabricatorRepositoryCommitChangeParserWorker { protected function parseCommitChanges( PhabricatorRepository $repository, PhabricatorRepositoryCommit $commit) { $viewer = PhabricatorUser::getOmnipotentUser(); $raw = Diffus...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryMercurialCommitChangeParserWorker.php
src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryMercurialCommitChangeParserWorker.php
<?php final class PhabricatorRepositoryMercurialCommitChangeParserWorker extends PhabricatorRepositoryCommitChangeParserWorker { protected function parseCommitChanges( PhabricatorRepository $repository, PhabricatorRepositoryCommit $commit) { list($stdout) = $repository->execxLocalCommand( 'stat...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/worker/__tests__/PhabricatorChangeParserTestCase.php
src/applications/repository/worker/__tests__/PhabricatorChangeParserTestCase.php
<?php final class PhabricatorChangeParserTestCase extends PhabricatorWorkingCopyTestCase { public function testGitParser() { $repository = $this->buildDiscoveredRepository('CHA'); $viewer = PhabricatorUser::getOmnipotentUser(); $commits = id(new DiffusionCommitQuery()) ->setViewer($viewer) ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryURIQuery.php
src/applications/repository/query/PhabricatorRepositoryURIQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhabricatorRepositoryURI> */ final class PhabricatorRepositoryURIQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $repositoryPHIDs; private $repositories = array(); public function withIDs(array $ids...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryQuery.php
src/applications/repository/query/PhabricatorRepositoryQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhabricatorRepository> */ final class PhabricatorRepositoryQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $callsigns; private $types; private $uuids; private $uris; private $slugs; private $al...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryGitLFSRefQuery.php
src/applications/repository/query/PhabricatorRepositoryGitLFSRefQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhabricatorRepositoryGitLFSRef> */ final class PhabricatorRepositoryGitLFSRefQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $repositoryPHIDs; private $objectHashes; public function withIDs(array $ids) { $this->i...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryIdentityQuery.php
src/applications/repository/query/PhabricatorRepositoryIdentityQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhabricatorRepositoryIdentity> */ final class PhabricatorRepositoryIdentityQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $identityNames; private $emailAddresses; private $assignedPHIDs; private $...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryTransactionQuery.php
src/applications/repository/query/PhabricatorRepositoryTransactionQuery.php
<?php final class PhabricatorRepositoryTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new PhabricatorRepositoryTransaction(); } public function getQueryApplicationClass() { return PhabricatorDiffusionApplication::class; ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
src/applications/repository/query/PhabricatorRepositoryPushLogSearchEngine.php
<?php final class PhabricatorRepositoryPushLogSearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Push Logs'); } public function getApplicationClassName() { return PhabricatorDiffusionApplication::class; } public function newQuery() ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryPullEventQuery.php
src/applications/repository/query/PhabricatorRepositoryPullEventQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhabricatorRepositoryPullEvent> */ final class PhabricatorRepositoryPullEventQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $repositoryPHIDs; private $pullerPHIDs; private $epochMin; private $epoc...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryPublisher.php
src/applications/repository/query/PhabricatorRepositoryPublisher.php
<?php final class PhabricatorRepositoryPublisher extends Phobject { private $repository; const HOLD_IMPORTING = 'auto/importing'; const HOLD_PUBLISHING_DISABLED = 'auto/disabled'; const HOLD_REF_NOT_BRANCH = 'not-branch'; const HOLD_NOT_REACHABLE_FROM_PERMANENT_REF = 'auto/nobranch'; const HOLD_UNTRACK...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php
src/applications/repository/query/PhabricatorRepositoryPushEventQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhabricatorRepositoryPushEvent> */ final class PhabricatorRepositoryPushEventQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $repositoryPHIDs; private $pusherPHIDs; private $needLogs; public funct...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
src/applications/repository/query/PhabricatorRepositoryRefCursorQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhabricatorRepositoryRefCursor> */ final class PhabricatorRepositoryRefCursorQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $repositoryPHIDs; private $refTypes; private $refNames; private $datasou...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryIdentityTransactionQuery.php
src/applications/repository/query/PhabricatorRepositoryIdentityTransactionQuery.php
<?php final class PhabricatorRepositoryIdentityTransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new PhabricatorRepositoryIdentityTransaction(); } public function getQueryApplicationClass() { return PhabricatorDiffusionAppli...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositorySearchEngine.php
src/applications/repository/query/PhabricatorRepositorySearchEngine.php
<?php final class PhabricatorRepositorySearchEngine extends PhabricatorApplicationSearchEngine { public function getResultTypeDescription() { return pht('Repositories'); } public function getApplicationClassName() { return PhabricatorDiffusionApplication::class; } public function newQuery() { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryURITransactionQuery.php
src/applications/repository/query/PhabricatorRepositoryURITransactionQuery.php
<?php final class PhabricatorRepositoryURITransactionQuery extends PhabricatorApplicationTransactionQuery { public function getTemplateApplicationTransaction() { return new PhabricatorRepositoryURITransaction(); } public function getQueryApplicationClass() { return PhabricatorDiffusionApplication::cl...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php
src/applications/repository/query/PhabricatorRepositoryPushLogQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhabricatorRepositoryPushLog> */ final class PhabricatorRepositoryPushLogQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $repositoryPHIDs; private $pusherPHIDs; private $refTypes; private $newRefs;...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositorySyncEventQuery.php
src/applications/repository/query/PhabricatorRepositorySyncEventQuery.php
<?php /** * @extends PhabricatorCursorPagedPolicyAwareQuery<PhabricatorRepositorySyncEvent> */ final class PhabricatorRepositorySyncEventQuery extends PhabricatorCursorPagedPolicyAwareQuery { private $ids; private $phids; private $repositoryPHIDs; private $epochMin; private $epochMax; public function...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/query/PhabricatorRepositoryPublisherHoldReason.php
src/applications/repository/query/PhabricatorRepositoryPublisherHoldReason.php
<?php final class PhabricatorRepositoryPublisherHoldReason extends Phobject { private $key; private $spec; public static function newForHoldKey($key) { $spec = self::getSpecForHoldKey($key); $hold = new self(); $hold->key = $key; $hold->spec = $spec; return $hold; } private static ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/mail/PhabricatorRepositoryPushReplyHandler.php
src/applications/repository/mail/PhabricatorRepositoryPushReplyHandler.php
<?php final class PhabricatorRepositoryPushReplyHandler extends PhabricatorMailReplyHandler { public function validateMailReceiver($mail_receiver) { return; } public function getPrivateReplyHandlerEmailAddress( PhabricatorUser $user) { return null; } protected function receiveEmail(Phabricat...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/customfield/PhabricatorCommitCustomField.php
src/applications/repository/customfield/PhabricatorCommitCustomField.php
<?php abstract class PhabricatorCommitCustomField extends PhabricatorCustomField {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/customfield/PhabricatorCommitMergedCommitsField.php
src/applications/repository/customfield/PhabricatorCommitMergedCommitsField.php
<?php final class PhabricatorCommitMergedCommitsField extends PhabricatorCommitCustomField { public function getFieldKey() { return 'diffusion:mergedcommits'; } public function getFieldName() { return pht('Merged Commits'); } public function getFieldDescription() { return pht('For merge comm...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/customfield/PhabricatorCommitTagsField.php
src/applications/repository/customfield/PhabricatorCommitTagsField.php
<?php final class PhabricatorCommitTagsField extends PhabricatorCommitCustomField { public function getFieldKey() { return 'diffusion:tags'; } public function getFieldName() { return pht('Tags'); } public function getFieldDescription() { return pht('Shows commit tags in email.'); } publ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/customfield/PhabricatorCommitRepositoryField.php
src/applications/repository/customfield/PhabricatorCommitRepositoryField.php
<?php final class PhabricatorCommitRepositoryField extends PhabricatorCommitCustomField { public function getFieldKey() { return 'diffusion:repository'; } public function getFieldName() { return pht('Repository'); } public function getFieldDescription() { return pht('Shows repository in emai...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/customfield/PhabricatorCommitBranchesField.php
src/applications/repository/customfield/PhabricatorCommitBranchesField.php
<?php final class PhabricatorCommitBranchesField extends PhabricatorCommitCustomField { public function getFieldKey() { return 'diffusion:branches'; } public function getFieldName() { return pht('Branches'); } public function getFieldDescription() { return pht('Shows branches a commit appear...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/editor/PhabricatorRepositoryEditor.php
src/applications/repository/editor/PhabricatorRepositoryEditor.php
<?php final class PhabricatorRepositoryEditor extends PhabricatorApplicationTransactionEditor { public function getEditorApplicationClass() { return PhabricatorDiffusionApplication::class; } public function getEditorObjectsDescription() { return pht('Repositories'); } public function getTransact...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryCallsignTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryCallsignTransaction.php
<?php final class PhabricatorRepositoryCallsignTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:callsign'; public function generateOldValue($object) { return $object->getCallsign(); } public function generateNewValue($object, $value) { if (strlen($value)) { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryNotifyTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryNotifyTransaction.php
<?php final class PhabricatorRepositoryNotifyTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:notify'; public function generateOldValue($object) { return (int)!$object->getDetail('herald-disabled'); } public function generateNewValue($object, $value) { retur...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryTrackOnlyTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryTrackOnlyTransaction.php
<?php final class PhabricatorRepositoryTrackOnlyTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:track-only'; public function generateOldValue($object) { return $object->getTrackOnlyRules(); } public function applyInternalEffects($object, $value) { $object->...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryCopyTimeLimitTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryCopyTimeLimitTransaction.php
<?php final class PhabricatorRepositoryCopyTimeLimitTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'limit.copy'; public function generateOldValue($object) { return $object->getCopyTimeLimit(); } public function generateNewValue($object, $value) { if (!strlen($va...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositorySlugTransaction.php
src/applications/repository/xaction/PhabricatorRepositorySlugTransaction.php
<?php final class PhabricatorRepositorySlugTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:slug'; public function generateOldValue($object) { return $object->getRepositorySlug(); } public function generateNewValue($object, $value) { if (strlen($value)) { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryPushPolicyTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryPushPolicyTransaction.php
<?php final class PhabricatorRepositoryPushPolicyTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:push-policy'; public function generateOldValue($object) { return $object->getPushPolicy(); } public function applyInternalEffects($object, $value) { $object->se...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryEncodingTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryEncodingTransaction.php
<?php final class PhabricatorRepositoryEncodingTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:encoding'; public function generateOldValue($object) { return $object->getDetail('encoding'); } public function applyInternalEffects($object, $value) { $object->s...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryDescriptionTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryDescriptionTransaction.php
<?php final class PhabricatorRepositoryDescriptionTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:description'; public function generateOldValue($object) { return $object->getDetail('description'); } public function applyInternalEffects($object, $value) { $...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryDangerousTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryDangerousTransaction.php
<?php final class PhabricatorRepositoryDangerousTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:dangerous'; public function generateOldValue($object) { return $object->shouldAllowDangerousChanges(); } public function applyInternalEffects($object, $value) { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryDefaultBranchTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryDefaultBranchTransaction.php
<?php final class PhabricatorRepositoryDefaultBranchTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:default-branch'; public function generateOldValue($object) { return $object->getDetail('default-branch'); } public function applyInternalEffects($object, $value)...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryNameTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryNameTransaction.php
<?php final class PhabricatorRepositoryNameTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:name'; public function generateOldValue($object) { return $object->getName(); } public function applyInternalEffects($object, $value) { $object->setName($value); } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryTouchLimitTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryTouchLimitTransaction.php
<?php final class PhabricatorRepositoryTouchLimitTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'limit.touch'; public function generateOldValue($object) { return $object->getTouchLimit(); } public function generateNewValue($object, $value) { if (!strlen($value))...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryIdentityTransactionType.php
src/applications/repository/xaction/PhabricatorRepositoryIdentityTransactionType.php
<?php abstract class PhabricatorRepositoryIdentityTransactionType extends PhabricatorModularTransactionType {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryStagingURITransaction.php
src/applications/repository/xaction/PhabricatorRepositoryStagingURITransaction.php
<?php final class PhabricatorRepositoryStagingURITransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:staging-uri'; public function generateOldValue($object) { return $object->getDetail('staging-uri'); } public function applyInternalEffects($object, $value) { $o...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryFilesizeLimitTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryFilesizeLimitTransaction.php
<?php final class PhabricatorRepositoryFilesizeLimitTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'limit.filesize'; public function generateOldValue($object) { return $object->getFilesizeLimit(); } public function generateNewValue($object, $value) { if (!strlen...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryBlueprintsTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryBlueprintsTransaction.php
<?php final class PhabricatorRepositoryBlueprintsTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:automation-blueprints'; public function generateOldValue($object) { return $object->getDetail('automation.blueprintPHIDs', array()); } public function applyInternal...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryEnormousTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryEnormousTransaction.php
<?php final class PhabricatorRepositoryEnormousTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:enormous'; public function generateOldValue($object) { return $object->shouldAllowEnormousChanges(); } public function applyInternalEffects($object, $value) { $ob...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositorySymbolLanguagesTransaction.php
src/applications/repository/xaction/PhabricatorRepositorySymbolLanguagesTransaction.php
<?php final class PhabricatorRepositorySymbolLanguagesTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:symbol-language'; public function generateOldValue($object) { return $object->getSymbolLanguages(); } public function applyInternalEffects($object, $value) { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryServiceTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryServiceTransaction.php
<?php final class PhabricatorRepositoryServiceTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:service'; public function generateOldValue($object) { return $object->getAlmanacServicePHID(); } public function generateNewValue($object, $value) { if (strlen($va...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositorySVNSubpathTransaction.php
src/applications/repository/xaction/PhabricatorRepositorySVNSubpathTransaction.php
<?php final class PhabricatorRepositorySVNSubpathTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:svn-subpath'; public function generateOldValue($object) { return $object->getDetail('svn-subpath'); } public function applyInternalEffects($object, $value) { $o...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryIdentityAssignTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryIdentityAssignTransaction.php
<?php final class PhabricatorRepositoryIdentityAssignTransaction extends PhabricatorRepositoryIdentityTransactionType { const TRANSACTIONTYPE = 'repository:identity:assign'; public function generateOldValue($object) { return nonempty($object->getManuallySetUserPHID(), null); } public function applyInt...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositorySymbolSourcesTransaction.php
src/applications/repository/xaction/PhabricatorRepositorySymbolSourcesTransaction.php
<?php final class PhabricatorRepositorySymbolSourcesTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:symbol-source'; public function generateOldValue($object) { return $object->getSymbolSources(); } public function applyInternalEffects($object, $value) { $ob...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryTransactionType.php
src/applications/repository/xaction/PhabricatorRepositoryTransactionType.php
<?php abstract class PhabricatorRepositoryTransactionType extends PhabricatorModularTransactionType { protected function validateRefList($object, array $xactions) { $errors = array(); foreach ($xactions as $xaction) { foreach ($xaction->getNewValue() as $pattern) { // Check for invalid regu...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryActivateTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryActivateTransaction.php
<?php final class PhabricatorRepositoryActivateTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:activate'; public function generateOldValue($object) { return $object->isTracked(); } public function applyInternalEffects($object, $value) { // The first time a ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryFetchRefsTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryFetchRefsTransaction.php
<?php final class PhabricatorRepositoryFetchRefsTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'fetch-refs'; public function generateOldValue($object) { return $object->getFetchRules(); } public function applyInternalEffects($object, $value) { $object->setFetchR...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryMaintenanceTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryMaintenanceTransaction.php
<?php final class PhabricatorRepositoryMaintenanceTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'maintenance'; public function generateOldValue($object) { return $object->getReadOnlyMessage(); } public function applyInternalEffects($object, $value) { if ($value...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryPermanentRefsTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryPermanentRefsTransaction.php
<?php final class PhabricatorRepositoryPermanentRefsTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:autoclose-only'; public function generateOldValue($object) { return $object->getPermanentRefRules(); } public function applyInternalEffects($object, $value) { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/xaction/PhabricatorRepositoryVCSTransaction.php
src/applications/repository/xaction/PhabricatorRepositoryVCSTransaction.php
<?php final class PhabricatorRepositoryVCSTransaction extends PhabricatorRepositoryTransactionType { const TRANSACTIONTYPE = 'repo:vcs'; public function generateOldValue($object) { return $object->getVersionControlSystem(); } public function applyInternalEffects($object, $value) { $object->setVers...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/phid/PhabricatorRepositoryPullEventPHIDType.php
src/applications/repository/phid/PhabricatorRepositoryPullEventPHIDType.php
<?php final class PhabricatorRepositoryPullEventPHIDType extends PhabricatorPHIDType { const TYPECONST = 'PULE'; public function getTypeName() { return pht('Pull Event'); } public function newObject() { return new PhabricatorRepositoryPullEvent(); } public function getPHIDTypeApplicationClass()...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/phid/PhabricatorRepositoryIdentityPHIDType.php
src/applications/repository/phid/PhabricatorRepositoryIdentityPHIDType.php
<?php final class PhabricatorRepositoryIdentityPHIDType extends PhabricatorPHIDType { const TYPECONST = 'RIDT'; public function getTypeName() { return pht('Repository Identity'); } public function newObject() { return new PhabricatorRepositoryIdentity(); } public function getPHIDTypeApplicati...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/phid/PhabricatorRepositoryRepositoryPHIDType.php
src/applications/repository/phid/PhabricatorRepositoryRepositoryPHIDType.php
<?php final class PhabricatorRepositoryRepositoryPHIDType extends PhabricatorPHIDType { const TYPECONST = 'REPO'; public function getTypeName() { return pht('Repository'); } public function getTypeIcon() { return 'fa-code'; } public function newObject() { return new PhabricatorRepository(...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php
src/applications/repository/phid/PhabricatorRepositoryCommitPHIDType.php
<?php final class PhabricatorRepositoryCommitPHIDType extends PhabricatorPHIDType { const TYPECONST = 'CMIT'; public function getTypeName() { return pht('Diffusion Commit'); } public function newObject() { return new PhabricatorRepositoryCommit(); } public function getPHIDTypeApplicationClass()...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/phid/PhabricatorRepositoryURIPHIDType.php
src/applications/repository/phid/PhabricatorRepositoryURIPHIDType.php
<?php final class PhabricatorRepositoryURIPHIDType extends PhabricatorPHIDType { const TYPECONST = 'RURI'; public function getTypeName() { return pht('Repository URI'); } public function newObject() { return new PhabricatorRepositoryURI(); } public function getPHIDTypeApplicationClass() { r...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/phid/PhabricatorRepositoryRefCursorPHIDType.php
src/applications/repository/phid/PhabricatorRepositoryRefCursorPHIDType.php
<?php final class PhabricatorRepositoryRefCursorPHIDType extends PhabricatorPHIDType { const TYPECONST = 'RREF'; public function getTypeName() { return pht('Repository Ref'); } public function getTypeIcon() { return 'fa-code-fork'; } public function newObject() { return new PhabricatorRep...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/phid/PhabricatorRepositorySyncEventPHIDType.php
src/applications/repository/phid/PhabricatorRepositorySyncEventPHIDType.php
<?php final class PhabricatorRepositorySyncEventPHIDType extends PhabricatorPHIDType { const TYPECONST = 'SYNE'; public function getTypeName() { return pht('Sync Event'); } public function newObject() { return new PhabricatorRepositorySyncEvent(); } public function getPHIDTypeApplicationClass()...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/phid/PhabricatorRepositoryPushLogPHIDType.php
src/applications/repository/phid/PhabricatorRepositoryPushLogPHIDType.php
<?php final class PhabricatorRepositoryPushLogPHIDType extends PhabricatorPHIDType { const TYPECONST = 'PSHL'; public function getTypeName() { return pht('Push Log'); } public function newObject() { return new PhabricatorRepositoryPushLog(); } public function getPHIDTypeApplicationClass() { ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/phid/PhabricatorRepositoryPushEventPHIDType.php
src/applications/repository/phid/PhabricatorRepositoryPushEventPHIDType.php
<?php final class PhabricatorRepositoryPushEventPHIDType extends PhabricatorPHIDType { const TYPECONST = 'PSHE'; public function getTypeName() { return pht('Push Event'); } public function newObject() { return new PhabricatorRepositoryPushEvent(); } public function getPHIDTypeApplicationClass()...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/config/PhabricatorRepositoryConfigOptions.php
src/applications/repository/config/PhabricatorRepositoryConfigOptions.php
<?php final class PhabricatorRepositoryConfigOptions extends PhabricatorApplicationConfigOptions { public function getName() { return pht('Repositories'); } public function getDescription() { return pht('Configure repositories.'); } public function getIcon() { return 'fa-hdd-o'; } publi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/conduit/RepositoryConduitAPIMethod.php
src/applications/repository/conduit/RepositoryConduitAPIMethod.php
<?php abstract class RepositoryConduitAPIMethod extends ConduitAPIMethod { final public function getApplication() { return PhabricatorApplication::getByClass( PhabricatorDiffusionApplication::class); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/conduit/RepositoryQueryConduitAPIMethod.php
src/applications/repository/conduit/RepositoryQueryConduitAPIMethod.php
<?php final class RepositoryQueryConduitAPIMethod extends RepositoryConduitAPIMethod { public function getAPIMethodName() { return 'repository.query'; } public function getMethodStatus() { return self::METHOD_STATUS_FROZEN; } public function getMethodStatusDescription() { return pht( '...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/search/DiffusionCommitFulltextEngine.php
src/applications/repository/search/DiffusionCommitFulltextEngine.php
<?php final class DiffusionCommitFulltextEngine extends PhabricatorFulltextEngine { protected function buildAbstractDocument( PhabricatorSearchAbstractDocument $document, $object) { $commit = id(new DiffusionCommitQuery()) ->setViewer($this->getViewer()) ->withPHIDs(array($object->getPHID...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/search/PhabricatorRepositoryFerretEngine.php
src/applications/repository/search/PhabricatorRepositoryFerretEngine.php
<?php final class PhabricatorRepositoryFerretEngine extends PhabricatorFerretEngine { public function getApplicationName() { return 'repository'; } public function getScopeName() { return 'repository'; } public function newSearchEngine() { return new PhabricatorRepositorySearchEngine(); } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/search/DiffusionCommitFerretEngine.php
src/applications/repository/search/DiffusionCommitFerretEngine.php
<?php final class DiffusionCommitFerretEngine extends PhabricatorFerretEngine { public function getApplicationName() { return 'repository'; } public function getScopeName() { return 'commit'; } public function newSearchEngine() { return new PhabricatorCommitSearchEngine(); } }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/search/PhabricatorRepositoryIdentityFerretEngine.php
src/applications/repository/search/PhabricatorRepositoryIdentityFerretEngine.php
<?php final class PhabricatorRepositoryIdentityFerretEngine extends PhabricatorFerretEngine { public function getApplicationName() { return 'repository'; } public function getScopeName() { return 'identity'; } public function newSearchEngine() { return new DiffusionRepositoryIdentitySearchEn...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/search/PhabricatorRepositoryFulltextEngine.php
src/applications/repository/search/PhabricatorRepositoryFulltextEngine.php
<?php final class PhabricatorRepositoryFulltextEngine extends PhabricatorFulltextEngine { protected function buildAbstractDocument( PhabricatorSearchAbstractDocument $document, $object) { $repo = $object; $title_fields = array( $repo->getName(), $repo->getRepositorySlug(), ); ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/data/PhabricatorRepositoryParsedChange.php
src/applications/repository/data/PhabricatorRepositoryParsedChange.php
<?php final class PhabricatorRepositoryParsedChange extends Phobject { private $pathID; private $targetPathID; private $targetCommitID; private $changeType; private $fileType; private $isDirect; private $commitSequence; public function setPathID($path_id) { $this->pathID = $path_id; return $t...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/graphcache/PhabricatorRepositoryGraphCache.php
src/applications/repository/graphcache/PhabricatorRepositoryGraphCache.php
<?php /** * Given a commit and a path, efficiently determine the most recent ancestor * commit where the path was touched. * * In Git and Mercurial, log operations with a path are relatively slow. For * example: * * git log -n1 <commit> -- <path> * * ...routinely takes several hundred milliseconds, and equ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/daemon/PhabricatorRepositoryGraphStream.php
src/applications/repository/daemon/PhabricatorRepositoryGraphStream.php
<?php abstract class PhabricatorRepositoryGraphStream extends Phobject { abstract public function getParents($commit); abstract public function getCommitDate($commit); }
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/daemon/PhabricatorGitGraphStream.php
src/applications/repository/daemon/PhabricatorGitGraphStream.php
<?php final class PhabricatorGitGraphStream extends PhabricatorRepositoryGraphStream { private $repository; private $iterator; private $startCommit; private $parents = array(); private $dates = array(); public function __construct( PhabricatorRepository $repository, $start_comm...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/daemon/PhabricatorMercurialGraphStream.php
src/applications/repository/daemon/PhabricatorMercurialGraphStream.php
<?php /** * Streaming interface on top of "hg log" that gives us performant access to * the Mercurial commit graph with one nonblocking invocation of "hg". See * @{class:PhabricatorRepositoryPullLocalDaemon}. */ final class PhabricatorMercurialGraphStream extends PhabricatorRepositoryGraphStream { private $re...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemonModule.php
src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemonModule.php
<?php final class PhabricatorRepositoryPullLocalDaemonModule extends PhutilDaemonOverseerModule { private $cursor = 0; public function shouldWakePool(PhutilDaemonPool $pool) { $class = $pool->getPoolDaemonClass(); if ($class != PhabricatorRepositoryPullLocalDaemon::class) { return false; } ...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php
src/applications/repository/daemon/PhabricatorRepositoryPullLocalDaemon.php
<?php /** * Run pull commands on local working copies to keep them up to date. This * daemon handles all repository types. * * By default, the daemon pulls **every** repository. If you want it to be * responsible for only some repositories, you can launch it with a list of * repositories: * * ./phd launch re...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php
src/applications/repository/engine/PhabricatorRepositoryIdentityEditEngine.php
<?php final class PhabricatorRepositoryIdentityEditEngine extends PhabricatorEditEngine { const ENGINECONST = 'repository.identity'; public function isEngineConfigurable() { return false; } public function getEngineName() { return pht('Repository Identities'); } public function getSummaryHead...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/PhabricatorRepositoryRefEngine.php
src/applications/repository/engine/PhabricatorRepositoryRefEngine.php
<?php /** * Update the ref cursors for a repository, which track the positions of * branches, bookmarks, and tags. */ final class PhabricatorRepositoryRefEngine extends PhabricatorRepositoryEngine { private $newPositions = array(); private $deadPositions = array(); private $permanentCommits = array(); pr...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
src/applications/repository/engine/PhabricatorRepositoryPullEngine.php
<?php /** * Manages execution of `git pull` and `hg pull` commands for * @{class:PhabricatorRepository} objects. Used by * @{class:PhabricatorRepositoryPullLocalDaemon}. * * This class also covers initial working copy setup through `git clone`, * `git init`, `hg clone`, `hg init`, or `svnadmin create`. * * @ta...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/PhabricatorRepositoryCommitRef.php
src/applications/repository/engine/PhabricatorRepositoryCommitRef.php
<?php final class PhabricatorRepositoryCommitRef extends Phobject { private $identifier; private $epoch; private $branch; private $isPermanent; private $parents = array(); public function setIdentifier($identifier) { $this->identifier = $identifier; return $this; } public function getIdentif...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/PhabricatorRepositoryEngine.php
src/applications/repository/engine/PhabricatorRepositoryEngine.php
<?php /** * @task config Configuring Repository Engines * @task internal Internals */ abstract class PhabricatorRepositoryEngine extends Phobject { private $repository; private $verbose; /** * @task config */ public function setRepository(PhabricatorRepository $repository) { $this->reposit...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/PhabricatorRepositoryDiscoveryEngine.php
src/applications/repository/engine/PhabricatorRepositoryDiscoveryEngine.php
<?php /** * @task discover Discovering Repositories * @task svn Discovering Subversion Repositories * @task git Discovering Git Repositories * @task hg Discovering Mercurial Repositories * @task internal Internals */ final class PhabricatorRepositoryDiscoveryEngine extends Phabricator...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/PhabricatorRepositoryMirrorEngine.php
src/applications/repository/engine/PhabricatorRepositoryMirrorEngine.php
<?php /** * Pushes a repository to its mirrors. */ final class PhabricatorRepositoryMirrorEngine extends PhabricatorRepositoryEngine { public function pushToMirrors() { $viewer = $this->getViewer(); $repository = $this->getRepository(); if (!$repository->canMirror()) { return; } if (...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/__tests__/PhabricatorWorkingCopyTestCase.php
src/applications/repository/engine/__tests__/PhabricatorWorkingCopyTestCase.php
<?php abstract class PhabricatorWorkingCopyTestCase extends PhabricatorTestCase { private $dirs = array(); protected function getPhabricatorTestCaseConfiguration() { return array( self::PHABRICATOR_TESTCONFIG_BUILD_STORAGE_FIXTURES => true, ); } protected function buildBareRepository($callsign...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/__tests__/PhabricatorWorkingCopyPullTestCase.php
src/applications/repository/engine/__tests__/PhabricatorWorkingCopyPullTestCase.php
<?php final class PhabricatorWorkingCopyPullTestCase extends PhabricatorWorkingCopyTestCase { public function testGitPullBasic() { $repo = $this->buildPulledRepository('GT'); $this->assertTrue(Filesystem::pathExists($repo->getLocalPath().'/HEAD')); } public function testHgPullBasic() { $this->re...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/engine/__tests__/PhabricatorWorkingCopyDiscoveryTestCase.php
src/applications/repository/engine/__tests__/PhabricatorWorkingCopyDiscoveryTestCase.php
<?php final class PhabricatorWorkingCopyDiscoveryTestCase extends PhabricatorWorkingCopyTestCase { public function testSubversionCommitDiscovery() { $this->requireBinaryForTest('svn'); $refs = $this->discoverRefs('ST'); $this->assertEqual( array( 1368319433, 1368319448, ),...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/codex/PhabricatorRepositoryDestructibleCodex.php
src/applications/repository/codex/PhabricatorRepositoryDestructibleCodex.php
<?php final class PhabricatorRepositoryDestructibleCodex extends PhabricatorDestructibleCodex { public function getDestructionNotes() { $repository = $this->getObject(); $notes = array(); if ($repository->hasLocalWorkingCopy()) { $notes[] = pht( 'Database records for repository "%s" we...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/capability/PhabricatorRepositoryIdentityEditViewCapability.php
src/applications/repository/capability/PhabricatorRepositoryIdentityEditViewCapability.php
<?php final class PhabricatorRepositoryIdentityEditViewCapability extends PhabricatorPolicyCapability { const CAPABILITY = 'repository.identity.create'; public function getCapabilityName() { return pht('Can Edit and View Identities'); } public function describeCapabilityRejection() { return pht('Y...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/response/PhabricatorVCSResponse.php
src/applications/repository/response/PhabricatorVCSResponse.php
<?php /** * In Git, there appears to be no way to send a message which will be output * by `git clone http://...`, although the response code is visible. We send * the message in a header which is visible with "GIT_CURL_VERBOSE" if you * know where to look. * * In Mercurial, the HTTP status response message is p...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/repository/constants/PhabricatorRepositoryType.php
src/applications/repository/constants/PhabricatorRepositoryType.php
<?php final class PhabricatorRepositoryType extends Phobject { const REPOSITORY_TYPE_GIT = 'git'; const REPOSITORY_TYPE_SVN = 'svn'; const REPOSITORY_TYPE_MERCURIAL = 'hg'; public static function getAllRepositoryTypes() { $map = self::getRepositoryTypeMap(); return ipull($map, 'name...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/home/controller/PhabricatorHomeMenuItemController.php
src/applications/home/controller/PhabricatorHomeMenuItemController.php
<?php final class PhabricatorHomeMenuItemController extends PhabricatorHomeController { public function shouldAllowPublic() { return true; } public function isGlobalDragAndDropUploadEnabled() { return true; } public function handleRequest(AphrontRequest $request) { $viewer = $this->getViewer...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/home/controller/PhabricatorHomeController.php
src/applications/home/controller/PhabricatorHomeController.php
<?php abstract class PhabricatorHomeController extends PhabricatorController {}
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/home/menuitem/PhabricatorHomeProfileMenuItem.php
src/applications/home/menuitem/PhabricatorHomeProfileMenuItem.php
<?php final class PhabricatorHomeProfileMenuItem extends PhabricatorProfileMenuItem { const MENUITEMKEY = 'home.dashboard'; public function getMenuItemTypeName() { return pht('Built-in Homepage'); } private function getDefaultName() { return pht('Home'); } public function getMenuItemTypeIcon(...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/home/menuitem/PhabricatorHomeLauncherProfileMenuItem.php
src/applications/home/menuitem/PhabricatorHomeLauncherProfileMenuItem.php
<?php final class PhabricatorHomeLauncherProfileMenuItem extends PhabricatorProfileMenuItem { const MENUITEMKEY = 'home.launcher.menu'; public function getMenuItemTypeName() { return pht('More Applications'); } private function getDefaultName() { return pht('More Applications'); } public func...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/home/application/PhabricatorHomeApplication.php
src/applications/home/application/PhabricatorHomeApplication.php
<?php final class PhabricatorHomeApplication extends PhabricatorApplication { const DASHBOARD_DEFAULT = 'dashboard:default'; public function getBaseURI() { return '/home/'; } public function getName() { return pht('Home'); } public function getShortDescription() { return pht('Command Center...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/home/view/PHUIHomeView.php
src/applications/home/view/PHUIHomeView.php
<?php final class PHUIHomeView extends AphrontTagView { protected function getTagName() { return null; } protected function getTagAttributes() { return array(); } /** * Construct the default homepage dashboard. * * @return PHUIBoxView Homepage dashboard content: a PHUIBoxView which wrap...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false
phorgeit/phorge
https://github.com/phorgeit/phorge/blob/aceebaa4305332265a371282a841609fe926b819/src/applications/home/engine/PhabricatorHomeProfileMenuEngine.php
src/applications/home/engine/PhabricatorHomeProfileMenuEngine.php
<?php final class PhabricatorHomeProfileMenuEngine extends PhabricatorProfileMenuEngine { protected function isMenuEngineConfigurable() { return true; } public function getItemURI($path) { return "/home/menu/{$path}"; } protected function buildItemViewContent( PhabricatorProfileMenuItemConfi...
php
Apache-2.0
aceebaa4305332265a371282a841609fe926b819
2026-01-05T04:21:50.722734Z
false