Merge pull request #2813 from naderman/ticket/12920

[ticket/12920] Add composer.json to phpBB/phpbb and fix the one in phpBB/

* naderman/ticket/12920:
  [ticket/12920] Add missing comma
  [ticket/12920] Update composer.lock file after update nothing
  [ticket/12920] Fix sh syntax error in post-update-cmd script
  [ticket/12920] Remove incorrect @ from self.version reference in composer.json
  [ticket/12920] Output warning message about vendor cleaning target
  [ticket/12920] Turn phpBB composer.json into publishable full version
  [ticket/12920] Add require for minimum php version
  [ticket/12920] Add composer.json for phpbb/phpbb-core library
This commit is contained in:
Joas Schilling 2014-08-07 16:09:51 +02:00
commit 6bb71e2ca9
3 changed files with 63 additions and 22 deletions

View file

@ -1,9 +1,31 @@
{ {
"_readme": [ "name": "phpbb/phpbb",
"You MUST update the clean-vendor-dir target in build/build.xml", "description": "phpBB Forum Software application",
"accordingly when adding or upgrading dependencies." "type": "project",
"keywords": ["phpbb", "forum"],
"homepage": "https://www.phpbb.com",
"license": "GPL-2.0",
"authors": [
{
"name": "phpBB Limited",
"email": "operations@phpbb.com",
"homepage": "https://www.phpbb.com/go/authors"
}
], ],
"support": {
"issues": "https://tracker.phpbb.com",
"forum": "https://www.phpbb.com/community/",
"wiki": "https://wiki.phpbb.com",
"irc": "irc://irc.freenode.org/phpbb"
},
"scripts": {
"post-update-cmd": "echo 'You MUST manually modify the clean-vendor-dir target in build/build.xml when adding or upgrading dependencies.'"
},
"replace": {
"phpbb/phpbb-core": "self.version"
},
"require": { "require": {
"php": ">=5.3.3",
"lusitanian/oauth": "0.2.*", "lusitanian/oauth": "0.2.*",
"symfony/config": "2.3.*", "symfony/config": "2.3.*",
"symfony/console": "2.3.*", "symfony/console": "2.3.*",

30
phpBB/composer.lock generated
View file

@ -3,7 +3,7 @@
"This file locks the dependencies of your project to a known state", "This file locks the dependencies of your project to a known state",
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file" "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
], ],
"hash": "dcd46c1373cfc4dacd2e1f8a79da0b91", "hash": "6bc742a2b9feb426db9987d27085f915",
"packages": [ "packages": [
{ {
"name": "lusitanian/oauth", "name": "lusitanian/oauth",
@ -254,15 +254,13 @@
"MIT" "MIT"
], ],
"authors": [ "authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com",
"homepage": "http://fabien.potencier.org",
"role": "Lead Developer"
},
{ {
"name": "Symfony Community", "name": "Symfony Community",
"homepage": "http://symfony.com/contributors" "homepage": "http://symfony.com/contributors"
},
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
} }
], ],
"description": "Symfony Debug Component", "description": "Symfony Debug Component",
@ -2430,17 +2428,11 @@
"time": "2014-05-17 21:49:26" "time": "2014-05-17 21:49:26"
} }
], ],
"aliases": [ "aliases": [],
],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": [ "stability-flags": [],
"platform": {
], "php": ">=5.3.3"
"platform": [ },
"platform-dev": []
],
"platform-dev": [
]
} }

27
phpBB/phpbb/composer.json Normal file
View file

@ -0,0 +1,27 @@
{
"name": "phpbb/phpbb-core",
"description": "Collection of core phpBB libraries",
"type": "library",
"keywords": ["phpbb", "forum"],
"homepage": "https://www.phpbb.com",
"license": "GPL-2.0",
"authors": [
{
"name": "phpBB Limited",
"email": "operations@phpbb.com",
"homepage": "https://www.phpbb.com/go/authors"
}
],
"support": {
"issues": "https://tracker.phpbb.com",
"forum": "https://www.phpbb.com/community/",
"wiki": "https://wiki.phpbb.com",
"irc": "irc://irc.freenode.org/phpbb"
},
"autoload": {
"classmap": [""]
},
"require": {
"php": ">=5.3.3"
}
}