Skip to content

Commit 66728d3

Browse files
committed
Move mooodle-local_ci dependencies to normal
When moodle-plugin-ci was incepted, moodle-local_ci still did not have its own composer dependencies, so it was just installed raw (as a "package" repository). Since then, moodle-local_ci has got its own composer stuff, so we now can change to install its dependencies "normally". So, here we are, simply, switching from a "package" repository to a "vcs" one. Pointing to the v1.0.21 release that is the first supporting installation as a dependency. And then, removing the annoying @composer update that was executed in the post-x steps of composer, not needed anymore. For more information, this issue contains all the related events: moodlehq/moodle-local_ci#280
1 parent c1f1ab3 commit 66728d3

File tree

3 files changed

+91
-19
lines changed

3 files changed

+91
-19
lines changed

composer.json

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,8 @@
3737
},
3838
"repositories": [
3939
{
40-
"type": "package",
41-
"package": {
42-
"name": "moodlehq/moodle-local_ci",
43-
"version": "1.0.19",
44-
"source": {
45-
"url": "https://github.com/moodlehq/moodle-local_ci.git",
46-
"type": "git",
47-
"reference": "v1.0.19"
48-
}
49-
}
40+
"type": "vcs",
41+
"url": "https://github.com/moodlehq/moodle-local_ci.git"
5042
},
5143
{
5244
"type": "package",
@@ -64,7 +56,7 @@
6456
"require": {
6557
"php": ">=7.4",
6658
"moodlehq/moodle-cs": "^3.3.4",
67-
"moodlehq/moodle-local_ci": "^1.0.19",
59+
"moodlehq/moodle-local_ci": "^1.0.21",
6860
"moodlehq/moodle-local_moodlecheck": "^1.1.6",
6961
"sebastian/phpcpd": "^6.0.3",
7062
"sebastian/version": "^3.0.2",
@@ -115,7 +107,6 @@
115107
"post-update-cmd": "@local-ci-install",
116108
"post-create-project-cmd": "@local-ci-install",
117109
"local-ci-install": [
118-
"@composer update --prefer-dist --optimize-autoloader --working-dir=vendor/moodlehq/moodle-local_ci",
119110
"cd vendor/moodlehq/moodle-local_ci && npm install --no-progress"
120111
]
121112
}

composer.lock

Lines changed: 83 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
88

99
The format of this change log follows the advice given at [Keep a CHANGELOG](http://keepachangelog.com).
1010

11+
## [Unreleased]
12+
### Changed
13+
- Modified `moodle-local_ci` composer dependencies and manage them normally, removing some ancient bits that have [stopped working with Composer 2.6.0 and up](https://github.com/composer/composer/issues/11613).
14+
- Updated project dependencies to current [moodle-local_ci](https://github.com/moodlehq/moodle-local_ci) version.
15+
1116
## [4.1.1] - 2023-07-14
1217
### Added
1318
- Add support for the following optional env variables, that will be used on installation, getting precedence over the corresponding existing option:
@@ -35,8 +40,6 @@ The format of this change log follows the advice given at [Keep a CHANGELOG](htt
3540
### Fixed
3641
- Fix problems in the documentation causing coding snippets to display partially.
3742

38-
39-
4043
## [4.0.0] - 2023-05-03
4144
### Added
4245
- Upgrade guide: [Upgrading from 3.x to 4.0](UPGRADE-4.0.md)

0 commit comments

Comments
 (0)