symfony2admingenerator / AdmingeneratorGeneratorBundle

(old-legacy) Admingenerator for Symfony2, parse generator.yml files to build classes
http://symfony2admingenerator.org/
MIT License
360 stars 125 forks source link

composer update issue #746

Closed lionelbzv closed 10 years ago

lionelbzv commented 10 years ago

Env = SF2.3 / Propel 1.6

I've got a new error during the composer update process

Loading composer repositories with package information
Initializing PEAR repository http://pear.phing.info
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - remove cedriclombardot/admingenerator-generator-bundle 2.3.x-dev|keep cedriclombardot/admingenerator-generator-bundle dev-master
    - Conclusion: remove components/bootstrap 2.3.2
    - Conclusion: don't install components/bootstrap 3.1.1
    - Installation request for cedriclombardot/admingenerator-generator-bundle 2.3.*@dev -> satisfiable by cedriclombardot/admingenerator-generator-bundle[2.3.x-dev].
    - cedriclombardot/admingenerator-generator-bundle dev-master requires components/bootstrap ~3.0 -> satisfiable by components/bootstrap[3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.1.1].
    - Can only install one of: components/bootstrap[3.0.0, 2.3.1].
    - Can only install one of: components/bootstrap[3.0.1, 2.3.1].
    - Can only install one of: components/bootstrap[3.0.2, 2.3.1].
    - Can only install one of: components/bootstrap[3.0.3, 2.3.1].
    - Can only install one of: components/bootstrap[3.1.0, 2.3.1].
    - cedriclombardot/admingenerator-generator-bundle 2.3.x-dev requires components/bootstrap >= 2.3.1,<3.0.0 -> satisfiable by components/bootstrap[2.3.2, 2.3.1].
    - Conclusion: don't install components/bootstrap 2.3.2

I'm not sure of what's wrong with my composer.json file:

    "require": {
        "php": ">=5.3.3",

        "symfony/symfony": "2.3.*",

        "twig/extensions": "1.0.*",

        "symfony/assetic-bundle": "2.3.*",
        "symfony/swiftmailer-bundle": "2.3.*",
        "symfony/monolog-bundle": "2.3.*",

        "sensio/distribution-bundle": "2.3.*",
        "sensio/framework-extra-bundle": "2.3.*",
        "sensio/generator-bundle": "2.3.*",
        "incenteev/composer-parameter-handler": "~2.0",

        "jms/security-extra-bundle": "1.5.*",
        "jms/di-extra-bundle": "1.4.*",

        "friendsofsymfony/user-bundle": "*",

        "propel/propel-bundle": "1.2.*",
        "willdurand/propel-typehintable-behavior": "1.0.4",
        "craftyshadow/propel-equalnest-behavior": "1.0.5",

        "phing/phing": "2.4.14",

        "cedriclombardot/admingenerator-generator-bundle": "2.3.*@dev",
        "cedriclombardot/admingenerator-user-bundle": "dev-master",
        "avocode/form-extensions-bundle": "dev-master",
   },
sescandell commented 10 years ago

Hi @StudioEcho

That branch doesn't exist anymore. Please check the upgrade Note file for further informations: https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/support-and-contribution/upgrade-notes.md

Here is some more help for you. If I read your errors well, you were using the 2.3-dev branch. If you were up to date until now, last update of this branch was the dev-master commit #871fb7a So, an easy way for you to migrate to these new tagging/branching system is now to use the tag 1.0.0 (stable tag).

Hoping that helps!

lionelbzv commented 10 years ago

Ooooh the long awaiting stable tag is here, thanks a lot! ;-)

Don't forget to update the "install" doc with this new tag - and sorry to don't have the time do to it myself.