Skip to content

Commit

Permalink
Replace cgit.drupalcode.org with git.drupalcode.org (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
webflo authored Mar 30, 2019
1 parent 0e00601 commit 13c1ffc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ of your root `composer.json`.
{
"extra": {
"drupal-scaffold": {
"source": "https://cgit.drupalcode.org/drupal/plain/{path}?h={version}",
"source": "https://git.drupalcode.org/project/drupal/raw/{version}/{path}",
"excludes": [
"google123.html",
"robots.txt"
Expand Down Expand Up @@ -59,7 +59,7 @@ any HTTP issues.
"extra": {
"drupal-scaffold": {
"source": [
"https://cgit.drupalcode.org/drupal/plain/{path}?h={version}",
"https://git.drupalcode.org/project/drupal/raw/{version}/{path}",
"https://raw.githubusercontent.com/drupal/drupal/{version}/{path}"
]
}
Expand Down
4 changes: 2 additions & 2 deletions src/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ protected function getOptions() {
'includes' => [],
'initial' => [],
'source' => [
'https://cgit.drupalcode.org/drupal/plain/{path}?h={version}',
'https://git.drupalcode.org/project/drupal/raw/{version}/{path}',
'https://raw.githubusercontent.com/drupal/drupal/{version}/{path}'
],
];
Expand All @@ -397,7 +397,7 @@ protected function getIncludesDefault() {
/**
* Files from 8.3.x
*
* @see https://cgit.drupalcode.org/drupal/tree/?h=8.3.x
* @see https://git.drupalcode.org/project/drupal/tree/8.3.x
*/
$common = [
'.csslintrc',
Expand Down
4 changes: 2 additions & 2 deletions tests/FetcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ protected function ensureDirectoryExistsAndClear($directory) {

public function testFetch() {
$fetcher = new FileFetcher(new RemoteFilesystem(new NullIO()), new NullIO());
$fetcher->setSource('https://cgit.drupalcode.org/drupal/plain/{path}?h={version}');
$fetcher->setSource('https://git.drupalcode.org/project/drupal/raw/{version}/{path}');
$fetcher->setFilenames([
'.htaccess' => '.htaccess',
'sites/default/default.settings.php' => 'sites/default/default.settings.php',
Expand All @@ -70,7 +70,7 @@ public function testFetch() {

public function testInitialFetch() {
$fetcher = new FileFetcher(new RemoteFilesystem(new NullIO()), new NullIO());
$fetcher->setSource('https://cgit.drupalcode.org/drupal/plain/{path}?h={version}');
$fetcher->setSource('https://git.drupalcode.org/project/drupal/raw/{version}/{path}');
$fetcher->setFilenames([
'sites/default/default.settings.php' => 'sites/default/settings.php',
]);
Expand Down

0 comments on commit 13c1ffc

Please sign in to comment.