Jeroen De Dauw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/93008
Change subject: Make it possible to install extensions using Composer
......................................................................
Make it possible to install extensions using Composer
With this change it is possible for users to create a composer.json
file in which they list the extensions they want to have installed
and then install them via Composer. They can copy composer-example.json
to get started.
Before this change there was an actual composer.json file tracked by
git, so people would get a change tracked by git if they modified it.
Surprisingly this is all that is needed to get extension installation
to work, for the extensions that already suport it. Kudos to hashar
and others that already did the other required work.
With this change core no longer pretends to be a component that is
installable via composer. This never worked, and core will need to
be modified in several ways before this can work. In othere words,
no working functionality is lost, and quite a lot is gained.
Change-Id: Ib125bea00cd29a800c22f260e87dfe3327a0b618
---
A composer-example.json
D composer.json
2 files changed, 5 insertions(+), 30 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/08/93008/1
diff --git a/composer-example.json b/composer-example.json
new file mode 100644
index 0000000..4c7e101
--- /dev/null
+++ b/composer-example.json
@@ -0,0 +1,5 @@
+{
+ "require": {
+ "php": ">=5.3.2"
+ }
+}
diff --git a/composer.json b/composer.json
deleted file mode 100644
index ded3365..0000000
--- a/composer.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "name": "mediawiki/core",
- "description": "Free software wiki application developed by the
Wikimedia Foundation and others",
- "keywords": ["mediawiki", "wiki"],
- "homepage": "https://www.mediawiki.org/",
- "authors": [
- {
- "name": "MediaWiki Community",
- "homepage":
"https://www.mediawiki.org/wiki/Special:Version/Credits"
- }
- ],
- "license": "GPL-2.0",
- "support": {
- "issues": "https://bugzilla.wikimedia.org/",
- "irc": "irc://irc.freenode.net/mediawiki",
- "wiki": "https://www.mediawiki.org/"
- },
- "require": {
- "php": ">=5.3.2"
- },
- "require-dev": {
- "phpunit/phpunit": "*"
- },
- "suggest": {
- "ext-fileinfo": "*",
- "ext-mbstring": "*",
- "ext-wikidiff2": "*",
- "ext-apc": "*"
- }
-}
--
To view, visit https://gerrit.wikimedia.org/r/93008
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib125bea00cd29a800c22f260e87dfe3327a0b618
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits