merged branch willdurand/fix-composer-components (PR #5318)

Commits
-------

933e821 Add minimum-stability (dev) in each component

Discussion
----------

Add minimum-stability (dev) in each component

This fixes the ability to run the test suite in each component if a `composer install` is needed.

---------------------------------------------------------------------------

by stof at 2012-08-22T13:57:14Z

If you really want to run the testsuite standalone, some dev requirements are missing (SecurityBundle needs the FrameworkBundle for its functional tests for instance). If you have some time to check the missing dev requirement, it would be great.
Anyway, 👍 for this

---------------------------------------------------------------------------

by willdurand at 2012-08-22T13:59:15Z

Yes I already did that once. I'll try to fix more components later.

On Wed, Aug 22, 2012 at 3:57 PM, Christophe Coevoet <
notifications@github.com> wrote:

> If you really want to run the testsuite standalone, some dev requirements
> are missing (SecurityBundle needs the FrameworkBundle for its functional
> tests for instance). If you have some time to check the missing dev
> requirement, it would be great.
> Anyway, [image: 👍] for this
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/symfony/symfony/pull/5318#issuecomment-7934886>.
>
>

---------------------------------------------------------------------------

by stof at 2012-08-22T14:02:23Z

Well, I think most components should be good now (as some work has been done on them). But the bridges and bundles may need some work (bundles were not having any dev requirements until yesterday when @guilhermeblanco added some on FrameworkBundle)

---------------------------------------------------------------------------

by pborreli at 2012-08-22T14:14:00Z

what about having for each READ-ONLY repo his own .travis.yml and travisci hook activated ?

---------------------------------------------------------------------------

by fabpot at 2012-08-22T14:30:13Z

please, don't add more travis files. The main already tests everything, and that's all we need.

---------------------------------------------------------------------------

by stof at 2012-08-22T14:33:46Z

@pborreli tests should not be different for subtree split repos as the code is the same and the tests are the same (except that more tests could be skipped because of missing deps).
Note that for the bundles, it is likely to be different currently as I think some skip tests are missing (just like dev requirements are). But fixing this does not require enablign travis.

---------------------------------------------------------------------------

by pborreli at 2012-08-22T14:42:30Z

ok, i was just thinking about a way to be sure each component is usable individually but yeah that would require to relaunch each tests and add a bunch of travis files + hook

---------------------------------------------------------------------------

by hason at 2012-08-24T13:12:04Z

@stof, @eriksencosta, @fabpot: Tests are different for Locale component, see #5235

---------------------------------------------------------------------------

by stof at 2012-08-24T13:35:07Z

@hason no. You also need to do it when running the tests of the Locale component as part of the full run.
This commit is contained in:
Fabien Potencier 2012-08-25 19:03:43 +02:00
commit d1be451996
32 changed files with 32 additions and 0 deletions

View File

@ -30,6 +30,7 @@
"psr-0": { "Symfony\\Bridge\\Doctrine": "" }
},
"target-dir": "Symfony/Bridge/Doctrine",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -24,6 +24,7 @@
"psr-0": { "Symfony\\Bridge\\Monolog": "" }
},
"target-dir": "Symfony/Bridge/Monolog",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -26,6 +26,7 @@
"psr-0": { "Symfony\\Bridge\\Propel1": "" }
},
"target-dir": "Symfony/Bridge/Propel1",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -26,6 +26,7 @@
"psr-0": { "Symfony\\Bridge\\Swiftmailer": "" }
},
"target-dir": "Symfony/Bridge/Swiftmailer",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -39,6 +39,7 @@
"psr-0": { "Symfony\\Bridge\\Twig": "" }
},
"target-dir": "Symfony/Bridge/Twig",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -40,6 +40,7 @@
"psr-0": { "Symfony\\Bundle\\FrameworkBundle": "" }
},
"target-dir": "Symfony/Bundle/FrameworkBundle",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -23,6 +23,7 @@
"psr-0": { "Symfony\\Bundle\\SecurityBundle": "" }
},
"target-dir": "Symfony/Bundle/SecurityBundle",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -23,6 +23,7 @@
"psr-0": { "Symfony\\Bundle\\TwigBundle": "" }
},
"target-dir": "Symfony/Bundle/TwigBundle",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -23,6 +23,7 @@
"psr-0": { "Symfony\\Bundle\\WebProfilerBundle": "" }
},
"target-dir": "Symfony/Bundle/WebProfilerBundle",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -30,6 +30,7 @@
"psr-0": { "Symfony\\Component\\BrowserKit": "" }
},
"target-dir": "Symfony/Component/BrowserKit",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -26,6 +26,7 @@
"psr-0": { "Symfony\\Component\\ClassLoader": "" }
},
"target-dir": "Symfony/Component/ClassLoader",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\Config": "" }
},
"target-dir": "Symfony/Component/Config",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\Console": "" }
},
"target-dir": "Symfony/Component/Console",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\CssSelector": "" }
},
"target-dir": "Symfony/Component/CssSelector",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -30,6 +30,7 @@
"psr-0": { "Symfony\\Component\\DependencyInjection": "" }
},
"target-dir": "Symfony/Component/DependencyInjection",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -28,6 +28,7 @@
"psr-0": { "Symfony\\Component\\DomCrawler": "" }
},
"target-dir": "Symfony/Component/DomCrawler",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -29,6 +29,7 @@
"psr-0": { "Symfony\\Component\\EventDispatcher": "" }
},
"target-dir": "Symfony/Component/EventDispatcher",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\Filesystem": "" }
},
"target-dir": "Symfony/Component/Filesystem",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\Finder": "" }
},
"target-dir": "Symfony/Component/Finder",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -33,6 +33,7 @@
"psr-0": { "Symfony\\Component\\Form": "" }
},
"target-dir": "Symfony/Component/Form",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -25,6 +25,7 @@
}
},
"target-dir": "Symfony/Component/HttpFoundation",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -42,6 +42,7 @@
"psr-0": { "Symfony\\Component\\HttpKernel": "" }
},
"target-dir": "Symfony/Component/HttpKernel",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -25,6 +25,7 @@
"psr-0": { "Symfony\\Component\\Locale": "" }
},
"target-dir": "Symfony/Component/Locale",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\OptionsResolver": "" }
},
"target-dir": "Symfony/Component/OptionsResolver",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\Process": "" }
},
"target-dir": "Symfony/Component/Process",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -33,6 +33,7 @@
"psr-0": { "Symfony\\Component\\Routing": "" }
},
"target-dir": "Symfony/Component/Routing",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -40,6 +40,7 @@
"psr-0": { "Symfony\\Component\\Security": "" }
},
"target-dir": "Symfony/Component/Security",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\Serializer": "" }
},
"target-dir": "Symfony/Component/Serializer",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\Templating": "" }
},
"target-dir": "Symfony/Component/Templating",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -30,6 +30,7 @@
"psr-0": { "Symfony\\Component\\Translation": "" }
},
"target-dir": "Symfony/Component/Translation",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -32,6 +32,7 @@
"psr-0": { "Symfony\\Component\\Validator": "" }
},
"target-dir": "Symfony/Component/Validator",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"

View File

@ -22,6 +22,7 @@
"psr-0": { "Symfony\\Component\\Yaml": "" }
},
"target-dir": "Symfony/Component/Yaml",
"minimum-stability": "dev",
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"