Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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