Skip to content

Commit 4d4e1f3

Browse files
authored
Merge pull request #135 from jonof/github-git-proto
GitHub no longer supports the git:// protocol
2 parents 828e5a2 + caff0eb commit 4d4e1f3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ Moodle repository to clone
844844
* Accept value: yes
845845
* Is value required: yes
846846
* Is multiple: no
847-
* Default: `'git://github.com/moodle/moodle.git'`
847+
* Default: `'https://github.com/moodle/moodle.git'`
848848

849849
#### `--branch`
850850

docs/GHAFileExplained.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ jobs:
108108
109109
# Run the default install.
110110
# Optionally, it is possible to specify a different Moodle repo to use
111-
# (git://github.com/moodle/moodle.git is used by default) and define
111+
# (https://github.com/moodle/moodle.git is used by default) and define
112112
# ignore directives or any other env vars for install step. For more
113113
# details on configuring for specific requirements please refer to the
114114
# 'Help' page.
115115
#
116116
# env:
117-
# MOODLE_REPO=git://github.com/username/moodle.git
117+
# MOODLE_REPO=https://github.com/username/moodle.git
118118
# IGNORE_PATHS: 'ignore'
119119
# IGNORE_NAMES: 'ignore_name.php'
120120
# MUSTACHE_IGNORE_NAMES: 'broken.mustache'

docs/TravisFileExplained.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ env:
5050
- DB=mysqli
5151

5252
# Optionally, it is possible to specify a different Moodle repo to use
53-
# (git://github.com/moodle/moodle.git is used by default):
54-
# - MOODLE_REPO=git://github.com/username/moodle.git
53+
# (https://github.com/moodle/moodle.git is used by default):
54+
# - MOODLE_REPO=https://github.com/username/moodle.git
5555

5656
# Also, note that, for multi-branch scenarios, where the same plugin
5757
# codebase needs to be tested against multiple branches of Moodle,

src/Command/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected function configure()
6969
{
7070
// Travis CI configures some things by environment variables, default to those if available.
7171
$type = getenv('DB') !== false ? getenv('DB') : null;
72-
$repo = getenv('MOODLE_REPO') !== false ? getenv('MOODLE_REPO') : 'git://github.com/moodle/moodle.git';
72+
$repo = getenv('MOODLE_REPO') !== false ? getenv('MOODLE_REPO') : 'https://github.com/moodle/moodle.git';
7373
$branch = getenv('MOODLE_BRANCH') !== false ? getenv('MOODLE_BRANCH') : null;
7474
$plugin = getenv('TRAVIS_BUILD_DIR') !== false ? getenv('TRAVIS_BUILD_DIR') : null;
7575
$paths = getenv('IGNORE_PATHS') !== false ? getenv('IGNORE_PATHS') : null;

0 commit comments

Comments
 (0)