Example #1
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/conduit/method/base');
phutil_require_source('ConduitAPI_chatlog_Method.php');
Example #2
0
<?php

/*
 * Copyright 2011 Facebook, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
phutil_require_module('phutil', 'future');
phutil_require_source('FutureProxy.php');
Example #3
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/diffusion/query/base');
phutil_require_source('DiffusionMergedCommitsQuery.php');
Example #4
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/conduit/method/base');
phutil_require_module('phabricator', 'applications/phriction/constants/documentstatus');
phutil_require_module('phabricator', 'applications/phriction/storage/document');
phutil_require_module('phabricator', 'infrastructure/env');
phutil_require_source('ConduitAPI_phriction_Method.php');
Example #5
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'storage/connection/mysql/base');
phutil_require_module('phabricator', 'storage/exception/connection');
phutil_require_source('AphrontMySQLDatabaseConnection.php');
Example #6
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/chatlog/controller/base');
phutil_require_module('phabricator', 'applications/chatlog/storage/event');
phutil_require_module('phabricator', 'storage/queryfx');
phutil_require_module('phabricator', 'view/control/table');
phutil_require_module('phabricator', 'view/layout/panel');
phutil_require_module('phutil', 'markup');
phutil_require_source('PhabricatorChatLogChannelListController.php');
Example #7
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phutil', 'events/event');
phutil_require_source('PhabricatorEvent.php');
Example #8
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'infrastructure/markup/remarkup/markuprule/objectname');
phutil_require_source('PhabricatorRemarkupRuleDifferential.php');
Example #9
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'aphront/response/base');
phutil_require_module('phabricator', 'infrastructure/celerity/api');
phutil_require_source('AphrontAjaxResponse.php');
Example #10
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/differential/mail/base');
phutil_require_source('DifferentialDiffContentMail.php');
Example #11
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/differential/constants/action');
phutil_require_module('phabricator', 'applications/feed/story/base');
phutil_require_module('phabricator', 'applications/feed/view/story');
phutil_require_source('PhabricatorFeedStoryDifferential.php');
Example #12
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'aphront/writeguard');
phutil_require_source('AphrontScopedUnguardedWriteCapability.php');
Example #13
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/repository/storage/base');
phutil_require_source('PhabricatorRepositoryAuditRequest.php');
Example #14
0
<?php

/*
 * Copyright 2011 Facebook, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
phutil_require_module('phutil', 'utils');
phutil_require_module('phutil', 'parser/xhpast/constants');
phutil_require_module('phutil', 'parser/xhpast/api/list');
phutil_require_source('XHPASTNode.php');
Example #15
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/people/storage/base');
phutil_require_source('PhabricatorUserProfile.php');
Example #16
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/diffusion/request/base');
phutil_require_module('phabricator', 'applications/phid/constants');
phutil_require_module('phabricator', 'applications/phid/storage/phid');
phutil_require_module('phabricator', 'applications/repository/constants/repositorytype');
phutil_require_module('phabricator', 'applications/repository/storage/base');
phutil_require_module('phutil', 'filesystem');
phutil_require_module('phutil', 'filesystem/tempfile');
phutil_require_module('phutil', 'future/exec');
phutil_require_module('phutil', 'parser/uri');
phutil_require_module('phutil', 'utils');
phutil_require_module('phutil', 'xsprintf/csprintf');
phutil_require_source('PhabricatorRepository.php');
Example #17
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('arcanist', 'unit/engine/phutil/testcase');
phutil_require_module('phutil', 'filesystem');
phutil_require_module('phutil', 'markup/engine/remarkup');
phutil_require_module('phutil', 'markup/engine/remarkup/blockrule/remarkupcode');
phutil_require_module('phutil', 'markup/engine/remarkup/blockrule/remarkupdefault');
phutil_require_module('phutil', 'markup/engine/remarkup/blockrule/remarkupheader');
phutil_require_module('phutil', 'markup/engine/remarkup/blockrule/remarkuplist');
phutil_require_module('phutil', 'markup/engine/remarkup/blockrule/remarkupnote');
phutil_require_module('phutil', 'markup/engine/remarkup/markuprule/bold');
phutil_require_module('phutil', 'markup/engine/remarkup/markuprule/escapehtml');
phutil_require_module('phutil', 'markup/engine/remarkup/markuprule/escaperemarkup');
phutil_require_module('phutil', 'markup/engine/remarkup/markuprule/hyperlink');
phutil_require_module('phutil', 'markup/engine/remarkup/markuprule/italics');
phutil_require_module('phutil', 'markup/engine/remarkup/markuprule/monospace');
phutil_require_source('PhutilRemarkupEngineTestCase.php');
Example #18
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('arcanist', 'unit/engine/phutil/testcase');
phutil_require_module('phutil', 'parser/xhpast/api/tree');
phutil_require_source('XHPASTTreeTestCase.php');
Example #19
0
<?php

/*
 * Copyright 2011 Facebook, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
phutil_require_module('arcanist', 'lint/linter/base');
phutil_require_source('ArcanistFilenameLinter.php');
Example #20
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/repository/constants/repositorytype');
phutil_require_module('phutil', 'symbols');
phutil_require_source('DiffusionBrowseQuery.php');
Example #21
0
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
$root = dirname(dirname(dirname(__FILE__)));
require_once $root . '/scripts/__init_script__.php';
require_once $root . '/scripts/__init_env__.php';
phutil_require_module('phutil', 'console');
phutil_require_module('phutil', 'future/exec');
if (empty($argv[1])) {
    echo "usage: test_connection.php <repository_callsign>\n";
    exit(1);
}
echo phutil_console_wrap(phutil_console_format('This script will test that you have configured valid credentials for ' . 'access to a repository, so the Phabricator daemons can pull from it. ' . 'You should run this as the **same user you will run the daemons as**, ' . 'from the **same machine they will run from**. Doing this will help ' . 'detect various problems with your configuration, such as SSH issues.'));
list($whoami) = execx('whoami');
$whoami = trim($whoami);
$ok = phutil_console_confirm("Do you want to continue as '{$whoami}'?");
if (!$ok) {
    die(1);
}
$callsign = $argv[1];
echo "Loading '{$callsign}' repository...\n";
$repository = id(new PhabricatorRepository())->loadOneWhere('callsign = %s', $argv[1]);
if (!$repository) {
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
$root = dirname(dirname(dirname(__FILE__)));
require_once $root . '/scripts/__init_script__.php';
require_once $root . '/scripts/__init_env__.php';
phutil_require_module('phutil', 'console');
phutil_require_module('phabricator', 'infrastructure/setup/sql');
define('SCHEMA_VERSION_TABLE_NAME', 'schema_version');
// TODO: getopt() is super terrible, move to something less terrible.
$options = getopt('fhv:u:p:') + array('v' => null, 'u' => null, 'p' => null);
foreach (array('h', 'f') as $key) {
    // By default, these keys are set to 'false' to indicate that the flag was
    // passed.
    if (array_key_exists($key, $options)) {
        $options[$key] = true;
    }
}
if (!empty($options['h']) || $options['v'] && !is_numeric($options['v'])) {
    usage();
}
if (empty($options['f'])) {
    echo phutil_console_wrap("Before running this script, you should take down the Phabricator web " . "interface and stop any running Phabricator daemons.");
Example #23
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'infrastructure/celerity/api');
phutil_require_module('phabricator', 'view/base');
phutil_require_source('AphrontCrumbsView.php');
Example #24
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phutil', 'markup/engine/remarkup/markuprule/base');
phutil_require_source('PhabricatorRemarkupRuleDiffusion.php');
Example #25
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/search/selector/base');
phutil_require_source('PhabricatorSearchDocumentIndexer.php');
Example #26
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/base/storage/lisk');
phutil_require_source('PhabricatorDirectoryDAO.php');
Example #27
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/drydock/interface/base');
phutil_require_source('DrydockCommandInterface.php');
Example #28
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/files/storage/base');
phutil_require_module('phabricator', 'applications/files/storage/file');
phutil_require_source('PhabricatorFileImageMacro.php');
Example #29
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('arcanist', 'differential/constants/revisionhash');
phutil_require_module('phabricator', 'applications/repository/worker/commitmessageparser/base');
phutil_require_module('phabricator', 'infrastructure/daemon/workers/storage/task');
phutil_require_module('phutil', 'utils');
phutil_require_source('PhabricatorRepositoryGitCommitMessageParserWorker.php');
Example #30
0
<?php

/**
 * This file is automatically generated. Lint this module to rebuild it.
 * @generated
 */
phutil_require_module('phabricator', 'applications/oauthserver/storage/base');
phutil_require_module('phabricator', 'applications/phid/constants');
phutil_require_module('phabricator', 'applications/phid/storage/phid');
phutil_require_source('PhabricatorOAuthClientAuthorization.php');