composer / satis

Simple static Composer repository generator - For a full private Composer repo use Private Packagist
MIT License
3.14k stars 517 forks source link

Nested requirements are failing #121

Closed ghost closed 8 years ago

ghost commented 10 years ago

It seems as though nested requirements are failing when both packages are available through satis.

This is easiest to explain through example first. Details are provided below. I have 2 packages - Package A and Package B, both of which are available through our local satis install. With a fresh symfony2 install, I require Package A. Package A is added with a composer update. I modify Package A to require Package B. Composer update fails - cannot find Package B. I remove Package A's requirement for Package B and have the symfony composer require Package B. Package B is found and added without issue via composer update.

This tells me that nested requirements have an issue.

Some details: Every composer.json file references the satis repository through the same copy+pasted code. All package names have been verified several dozen times. I made sure to both truncate the '.composer/cache' directory and re-run the satis build (php bin/satis build satis.json web/) numerous times to ensure I wasn't missing anything.

Here are the contents of the 3 composer.json files:

symfony install - composer.json:

{
    "name": "symfony/framework-standard-edition",
    "license": "MIT",
    "type": "project",
    "description": "The \"Symfony Standard Edition\" distribution",
    "autoload": {
        "psr-0": { "": "src/" }
    },
    "repositories": [
        {
            "type": "composer",
            "url": "http://urlForOurLocalSatisInstall"
        }
    ],
    "require": {
        "php": ">=5.3.3",
        "symfony/symfony": "~2.4",
        "doctrine/orm": "~2.2,>=2.2.3",
        "doctrine/doctrine-bundle": "~1.2",
        "twig/extensions": "~1.0",
        "symfony/assetic-bundle": "~2.3",
        "symfony/swiftmailer-bundle": "~2.3",
        "symfony/monolog-bundle": "~2.4",
        "sensio/distribution-bundle": "~2.3",
        "sensio/framework-extra-bundle": "~3.0",
        "sensio/generator-bundle": "~2.3",
        "incenteev/composer-parameter-handler": "~2.0",
        "loggerserviceclientlibrary": "dev-master"
    },
    "scripts": {
        "post-install-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ],
        "post-update-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ]
    },
    "config": {
        "bin-dir": "bin"
    },
    "extra": {
        "symfony-app-dir": "app",
        "symfony-web-dir": "web",
        "incenteev-parameters": {
            "file": "app/config/parameters.yml"
        },
        "branch-alias": {
            "dev-master": "2.4-dev"
        }
    }
}

loggerserviceclientlibrary - composer.json:

{
    "name": "loggerServiceClientLibrary",
    "description": "The Logger Client Interface",
    "license": "Proprietary",
    "repositories": [
        {
            "type": "composer",
            "url": "http://urlForOurLocalSatisInstall"
        }
    ],
    "require": {
        "php": ">=5.3.3",
        "ecentriarest": "dev-master"
    },
    "autoload": {
        "psr-0": {
            "": "src/"
        }
    }
}

ecentriarest - composer.json:

{
    "name": "EcentriaRest",
    "description": "The Rest Abstract Class",
    "license": "Proprietary",
    "repositories": [
        {
            "type": "composer",
            "url": "http://urlForOurLocalSatisInstall"
        }
    ],
    "require": {
        "php": ">=5.3.3"
    },
    "autoload": {
        "psr-0": {
            "": "src/"
        }
    }
}```
lavoiesl commented 10 years ago

Vendor name are mandatory in Composer. Try adding a common prefix to your packages and see if it fixes it.

Also, even though package names are case insensitive, the convention is all lowercase and dashes for word separation.

ghost commented 10 years ago

The name is listed in each composer file. I added more extensive names 'ecentria/name-of-package' with no change - it is still failing.

lavoiesl commented 10 years ago

Could you update your issue with the correct composer.json just to be sure we are looking at the same thing ?

lavoiesl commented 10 years ago

Also, the exact output of running composer -vvv update could be helpful

ghost commented 10 years ago

symfony install composer.json:

{
    "name": "symfony/framework-standard-edition",
    "license": "MIT",
    "type": "project",
    "description": "The \"Symfony Standard Edition\" distribution",
    "autoload": {
        "psr-0": { "": "src/" }
    },
    "repositories": [
        {
            "type": "composer",
            "url": "http://urlForOurLocalSatisInstall"
        }
    ],
    "require": {
        "php": ">=5.3.3",
        "symfony/symfony": "~2.4",
        "doctrine/orm": "~2.2,>=2.2.3",
        "doctrine/doctrine-bundle": "~1.2",
        "twig/extensions": "~1.0",
        "symfony/assetic-bundle": "~2.3",
        "symfony/swiftmailer-bundle": "~2.3",
        "symfony/monolog-bundle": "~2.4",
        "sensio/distribution-bundle": "~2.3",
        "sensio/framework-extra-bundle": "~3.0",
        "sensio/generator-bundle": "~2.3",
        "incenteev/composer-parameter-handler": "~2.0",
        "ecentria/loggerserviceclientlibrary": "dev-master"
    },
    "scripts": {
        "post-install-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ],
        "post-update-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ]
    },
    "config": {
        "bin-dir": "bin"
    },
    "extra": {
        "symfony-app-dir": "app",
        "symfony-web-dir": "web",
        "incenteev-parameters": {
            "file": "app/config/parameters.yml"
        },
        "branch-alias": {
            "dev-master": "2.4-dev"
        }
    }
}

loggerServiceClientLibrary composer.json:

{
    "name": "ecentria/loggerServiceClientLibrary",
    "description": "The Ecentria Foundation Logger Client Interface",
    "license": "Proprietary",
    "repositories": [
        {
            "type": "composer",
            "url": "http://urlForOurLocalSatisInstall"
        }
    ],
    "require": {
        "php": ">=5.3.3",
        "ecentria/rest": "dev-master"
    },
    "autoload": {
        "psr-0": {
            "": "src/"
        }
    }
}

ecentriarest composer.json:

{
    "name": "ecentria/rest",
    "description": "The Ecentria Foundation Rest Abstract Class",
    "license": "Proprietary",
    "repositories": [
        {
            "type": "composer",
            "url": "http://urlForOurLocalSatisInstall"
        }
    ],
    "require": {
        "php": ">=5.3.3"
    },
    "autoload": {
        "psr-0": {
            "": "src/"
        }
    }
}

symfony install > php composer.phar -vvv update output:

php composer.phar -vvv update
Reading ./composer.json
Executing command (CWD): git describe --exact-match --tags
Executing command (CWD): git branch --no-color --no-abbrev -v
Executing command (CWD): hg branch
Executing command (CWD): svn info --xml
Loading composer repositories with package information
Downloading http://urlForOurLocalSatisInstall/packages.json
Writing /path/to/.composer/cache/repo/http---urlForOurLocalSatisInstall/packages.json into cache
Downloading https://packagist.org/packages.json
Writing /path/to/.composer/cache/repo/https---packagist.org/packages.json into cache
Downloading https://packagist.org/p/provider-active$341ba3ce6e358f39ee24b4e5aa58b650251cb16e4ab90bd1fa10fc02fba62cb1.json
Writing /path/to/.composer/cache/repo/https---packagist.org/p-provider-active.json into cache
Downloading https://packagist.org/p/provider-latest$65b5a725725d9d4be8cff6c7c5c8a43a256b5902218e46f2d17c4f657c89a3a3.json
Writing /path/to/.composer/cache/repo/https---packagist.org/p-provider-latest.json into cache
Downloading https://packagist.org/p/provider-stale$75ca0f1c535af20d88420c91c6b120e7a6f882309ff56472e5ff50fab5ad623d.json
Writing /path/to/.composer/cache/repo/https---packagist.org/p-provider-stale.json into cache
Downloading http://packagist.org/p/symfony/framework-standard-edition$7a99a5df70941b5934b215d422e71562d2153c722b863d780951e0008ab5b6a2.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$framework-standard-edition.json into cache
Updating dependencies (including require-dev)
Downloading http://packagist.org/p/symfony/symfony$f0d44b93db65d612d8b137a84070c89a4177612145eb8cc4356f1a67db8e424a.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$symfony.json into cache
Downloading http://packagist.org/p/doctrine/orm$98dd8cd381ee17fe0e1b20bd5d700fffcf00ab87fbbd6f67d51f1a9eb7fa799b.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-doctrine$orm.json into cache
Downloading http://packagist.org/p/doctrine/doctrine-bundle$ddc3a859c3fa1c3285f5e38532cb5574041479058c409f7a4787f759ec5dae48.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-doctrine$doctrine-bundle.json into cache
Downloading http://packagist.org/p/twig/extensions$612e9a24630d96de738f3267673fa45b421abc619de4113980735721fbd38872.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-twig$extensions.json into cache
Downloading http://packagist.org/p/symfony/assetic-bundle$a7f0bf74294e5b05ba041d0db4aae29431d07068eba26cb826c0752233a43bd3.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$assetic-bundle.json into cache
Downloading http://packagist.org/p/symfony/swiftmailer-bundle$4a5f2a84b29f3d966c5576487a7016fe0ec3c83380cde4447b65375e52452be2.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$swiftmailer-bundle.json into cache
Downloading http://packagist.org/p/symfony/monolog-bundle$e0dfb11db543cbc3edbff26bc871cafb029e40754622a5ba1d6a14d7d948c794.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$monolog-bundle.json into cache
Downloading http://packagist.org/p/sensio/distribution-bundle$b180555e1d850f173801a619b7614b462515010f4570ecece17bb0a7c91d7ba9.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-sensio$distribution-bundle.json into cache
Downloading http://packagist.org/p/sensio/framework-extra-bundle$331c55310dde2db4aa473b6739d24e89dee79f5c2b341c0e446d79a24e6ddcac.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-sensio$framework-extra-bundle.json into cache
Downloading http://packagist.org/p/sensio/generator-bundle$780b5fd48ec7ebeadd03de83b5ce3ebc929fb912f088d94b29921e5dc4c1251e.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-sensio$generator-bundle.json into cache
Downloading http://packagist.org/p/incenteev/composer-parameter-handler$f78e1cbfd9876c7fbe5ac78458a8c02403ca283654d99477d41eec5df38509ef.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-incenteev$composer-parameter-handler.json into cache
Downloading http://packagist.org/p/psr/log$098807b5ddbb20d660b43fe698a933ecbab7c08144e482a5feff2bba49e263e9.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-psr$log.json into cache
Downloading http://packagist.org/p/twig/twig$4e0832ba8fb2d1f92a0d892fbad6f51a00f36c8af7adb6dc3ade64b6f65e50fb.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-twig$twig.json into cache
Downloading http://packagist.org/p/doctrine/lexer$0f3ede6134f7e48abc4d6166dd6d7ba33b37b008220522e5ed10cb5131abb089.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-doctrine$lexer.json into cache
Downloading http://packagist.org/p/doctrine/annotations$8e1f1ef7807613b28b1136a01e43b905d8ecc7957e308a7bd257ab4ac1213732.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-doctrine$annotations.json into cache
Downloading http://packagist.org/p/doctrine/common$b8220847d09660670a88e0368af8145515f61b08ba9600657b1d32400fc9c129.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-doctrine$common.json into cache
Downloading http://packagist.org/p/doctrine/cache$3b200617f9df2a2d1eac88d0250c23c0b14241135826f4c3e8609f8a91a618a8.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-doctrine$cache.json into cache
Downloading http://packagist.org/p/doctrine/inflector$30534a4a276c705a47bd60a482ea446365b0707e754702e30861a3c94b474a9d.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-doctrine$inflector.json into cache
Downloading http://packagist.org/p/doctrine/collections$8326e121e816a3f5fb8c4ad99e15891ed065bd59a7efeb25f0d2aab23e4bb661.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-doctrine$collections.json into cache
Downloading http://packagist.org/p/symfony/intl$8d3d417994483fbca0690e688b947eb09e59fb22f39e88d04fa0517c22e71e85.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$intl.json into cache
Downloading http://packagist.org/p/symfony/icu$24fb40ae09d9fe8b9840e78e701ebd2d09a5c7c5040892af666cc3f8035351a0.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$icu.json into cache
Downloading http://packagist.org/p/symfony/browser-kit$8c4666136322046faef222bf34c1e41aed5c73bb6bc5566e226e94bace3c9e52.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$browser-kit.json into cache
Downloading http://packagist.org/p/symfony/class-loader$36da993cbea1b25c81285aa1a25ddb9c245d0e7941f235efed96bdb198d95da4.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$class-loader.json into cache
Downloading http://packagist.org/p/symfony/config$6d240722059d6134b1940f41ccf2815ea61b66d574e256e13ec0d1c4349b58ae.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$config.json into cache
Downloading http://packagist.org/p/symfony/console$8ed7fb3ff04d438697c391e82bc5bafb37775ba99f9bb5edd74c02e0e33e35f0.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$console.json into cache
Downloading http://packagist.org/p/symfony/css-selector$7e180a6d0652209a5acef1a1fe30349cc3df5581936d74100b7aebaccc3219ce.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$css-selector.json into cache
Downloading http://packagist.org/p/symfony/dependency-injection$86f585890b0e067fb7d203fa320059587e37185e2f73525cc7b77ba072695232.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$dependency-injection.json into cache
Downloading http://packagist.org/p/symfony/debug$5b1457ac33adb75e6d73e2d6a188b4a0cb47ec42bdb9f89fceb083233ef82c63.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$debug.json into cache
Downloading http://packagist.org/p/symfony/doctrine-bridge$8aca389b6eec93d511943d3c9d25ac8c1ebc0c7718db4b880794e816f737e800.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$doctrine-bridge.json into cache
Downloading http://packagist.org/p/symfony/dom-crawler$cc1cb98a39f8f4c523565cda7d754b4de4bae7c8faeb11922fbb2756b21b221c.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$dom-crawler.json into cache
Downloading http://packagist.org/p/symfony/event-dispatcher$2c0e8da819d4716993a0622985aef9e3a2b47cc5ff7d08bc8ee5e7b6f56260fc.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$event-dispatcher.json into cache
Downloading http://packagist.org/p/symfony/filesystem$4dab6307d7c86e647da73fedbb415e538be9407370ccc04ebe740563f28d4977.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$filesystem.json into cache
Downloading http://packagist.org/p/symfony/finder$7eef519208c5d02ae7b31d8290dda77671dd8c2ed2dd56f2c487dc8aa25a1365.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$finder.json into cache
Downloading http://packagist.org/p/symfony/form$bbd5eb647d3ba17c0ab100d051e125c90d33e375b7e694e0a6940dcb26900e24.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$form.json into cache
Downloading http://packagist.org/p/symfony/framework-bundle$f0c889d04a32c17d05403883e05ae1570ead0130f0d80b94ba2a39e6110baea5.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$framework-bundle.json into cache
Downloading http://packagist.org/p/symfony/http-foundation$fdd68e080833e1e1dc6858071eef3113e119048490d0d70d8f68cecafce5db5e.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$http-foundation.json into cache
Downloading http://packagist.org/p/symfony/http-kernel$17c0ce8d3bf63f31945872a05bc8a208baca8817fbe3d4ff8e0d65255b3a467d.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$http-kernel.json into cache
Downloading http://packagist.org/p/symfony/locale$30668c4552682089718277019debcc953fede0d3b5b060a54e6c695b9f1cb3c0.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$locale.json into cache
Downloading http://packagist.org/p/symfony/monolog-bridge$f877bdec1ddd2dcb5a767d80ff5f94c7b45fe32ffdbbf6698757c04c45883d79.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$monolog-bridge.json into cache
Downloading http://packagist.org/p/symfony/options-resolver$52caaaf1ffae00859eacb365e2391cd292f0243869d61cb86549db4c087aa5b4.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$options-resolver.json into cache
Downloading http://packagist.org/p/symfony/process$f022e45fbf713e4f4631d26c3590630c11d1ad9f62742762a7ba5b6360de2b83.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$process.json into cache
Downloading http://packagist.org/p/symfony/propel1-bridge$906c192328c17c810e6f9b209e16e922a0b23f9c914911eabb024902515ea6a1.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$propel1-bridge.json into cache
Downloading http://packagist.org/p/symfony/property-access$e7d4e21eceacb5197b148950142dee045db744aa0318826ad8df589ccb4291ad.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$property-access.json into cache
Downloading http://packagist.org/p/symfony/proxy-manager-bridge$b511605c36c2ffd792d8bd820200db70789f967aff21494c7a3bebe94f9bf721.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$proxy-manager-bridge.json into cache
Downloading http://packagist.org/p/symfony/routing$3d35cb0d157b8f64e59d88148da21893c95116504068e27462b443c5c5602766.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$routing.json into cache
Downloading http://packagist.org/p/symfony/security$c4976733a8823c0219b3ddb44b69bd8ef576a6e66ac4568ed7fd3b1a1040ab3b.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$security.json into cache
Downloading http://packagist.org/p/symfony/security-bundle$75ab7b01751f406db3b1efbe534a3d8251cecfc108602eaa6c5e574269e074cc.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$security-bundle.json into cache
Downloading http://packagist.org/p/symfony/serializer$92cd315f6596329debccafbffd9002d4b9ed4a27b4941e705b06a4d634e0c67d.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$serializer.json into cache
Downloading http://packagist.org/p/symfony/stopwatch$c2877b80ccb54c27fa26ec8ab8b3a03fc8d50260960a324259e7bca03221e6a2.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$stopwatch.json into cache
Downloading http://packagist.org/p/symfony/swiftmailer-bridge$b48a789f47d406d2b8bbcdecca7900fe21d6ba11a4dbaf67ed13b51b5b3efba2.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$swiftmailer-bridge.json into cache
Downloading http://packagist.org/p/symfony/templating$2da96ff711b33fb86bf0020988ea5f65bcc573d3e5f91169a886224335b8dbc3.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$templating.json into cache
Downloading http://packagist.org/p/symfony/translation$7d067356e6163fd762869d6424a123f94f6b99c77c12b4d57cdf1a110f27afe9.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$translation.json into cache
Downloading http://packagist.org/p/symfony/twig-bridge$dbd9d2dc049ae5249005b70e6981ca6189f3fd128b88fea63b41c58b666327f4.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$twig-bridge.json into cache
Downloading http://packagist.org/p/symfony/twig-bundle$a0587ce3378c4ca998ad488f206d3b8740ed97e8a001647f56539a8a3dea3d00.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$twig-bundle.json into cache
Downloading http://packagist.org/p/symfony/validator$fce6f07f01b03f98bd2cbcb9c56b3a6d48cd26c3439191f11e9233ac05341651.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$validator.json into cache
Downloading http://packagist.org/p/symfony/web-profiler-bundle$efbee58b296fdb26b7e714fb1c5f0fb082d4ba9ec5ac6c98956a766eb90ce28e.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$web-profiler-bundle.json into cache
Downloading http://packagist.org/p/symfony/yaml$67351ce2994b78fb7a4fef2fe92b13988c93f74c247780f13f54a99020c8aeb9.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$yaml.json into cache
Downloading http://packagist.org/p/symfony/expression-language$5cef0367848a6dfc93edb83c452e30838c405ece97d5b4a2feaf31ab75461e55.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$expression-language.json into cache
Downloading http://packagist.org/p/symfony/security-acl$641b7534686e10000778ebad58b1cf2d17d28658c27f285eafe77370812866d2.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$security-acl.json into cache
Downloading http://packagist.org/p/symfony/security-core$41113cee0ffa2e46f45841e83f03b26dedc241cafb1ce8d469241cb8f7d0fc0c.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$security-core.json into cache
Downloading http://packagist.org/p/symfony/security-csrf$62f53c20e8e0ee69854a8ceded31595483a908d8b25008ad705812f754d02782.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$security-csrf.json into cache
Downloading http://packagist.org/p/symfony/security-http$33900ce03c3e3259d50d11ae0fa1d72d19f9e4a1ab9221e797cace500acfd03b.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$security-http.json into cache
Downloading http://packagist.org/p/doctrine/dbal$c28bf828733893fca670a45a4c2fa7fe05d983c3f679a545cc8834ccd583fbcf.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-doctrine$dbal.json into cache
Downloading http://packagist.org/p/jdorn/sql-formatter$e59b6a1d494079f36299d5c2fe09ad47469329cb293232d671d96d3bc6ba2460.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-jdorn$sql-formatter.json into cache
Downloading http://packagist.org/p/monolog/monolog$60033b783ab85935d4ddb5f9ddca50e107ea774d37284c360ea43c5e69a53cf4.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-monolog$monolog.json into cache
Downloading http://packagist.org/p/swiftmailer/swiftmailer$88a7ff5dbce63c9de9b83f98211e254db0bdb3a782d423b677ae90c224d5a9e4.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-swiftmailer$swiftmailer.json into cache
Downloading http://packagist.org/p/symfony/doctrine-abstract-bundle$eb75bd09b9580e52b4910b1e53de47a4951ed5a59b0ea3114aaa0726bd081a2f.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$doctrine-abstract-bundle.json into cache
Downloading http://packagist.org/p/symfony/doctrine-bundle$eb75bd09b9580e52b4910b1e53de47a4951ed5a59b0ea3114aaa0726bd081a2f.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-symfony$doctrine-bundle.json into cache
Downloading http://packagist.org/p/kriswallsmith/assetic$279c552abacfe00ae2b476c99c5ee0a5648a4b62c53ee6919d9d56dd172e48a1.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-kriswallsmith$assetic.json into cache
Downloading http://packagist.org/p/silex/silex$85acf2c59a6e7fd0ce6484bf5ce27bb5cb1a71b4c50edb97c85abf8422e72c0d.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-silex$silex.json into cache
Downloading http://packagist.org/p/igorw/config-service-provider$34e333add665cd0b7c24e56e24ea549872ac2df12f369df327dbfbb8b66cca18.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-igorw$config-service-provider.json into cache
Downloading http://packagist.org/p/cilex/console-service-provider$5fa715d3617892ee1ef4f6d5e46a00ce13635e1870600b5ab818eac06cb9a1ae.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-cilex$console-service-provider.json into cache
Downloading http://packagist.org/p/justinrainbow/json-schema$0086544f54805391c0a27e08b943b13fc70d08fd0d46bca0b03bb5c363512bf1.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-justinrainbow$json-schema.json into cache
Downloading http://packagist.org/p/mlebkowski/crane$a7832ff03e202ecbc795a90812b64a26dea5376a879d704a028c7815c2faadee.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-mlebkowski$crane.json into cache
Downloading http://packagist.org/p/pimple/pimple$69dada2c948caea6c8d8946e6f5b539b797842969b4ad205271d0e6436dc0183.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-pimple$pimple.json into cache
Downloading http://packagist.org/p/jms/security-extra-bundle$661fc229e54db1156171b71933e3416e9f4053b6e2ce20629a82773d8b4f6da0.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-jms$security-extra-bundle.json into cache
Downloading http://packagist.org/p/jms/di-extra-bundle$8c715c93ad32a60cb634e61aa3aef5c65bbe4e508e494416fe168e33330af831.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-jms$di-extra-bundle.json into cache
Downloading http://packagist.org/p/jms/metadata$48a738fdce90813953b0b3867f577dabcc0fb2237acedad2dbc73610d62f257e.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-jms$metadata.json into cache
Downloading http://packagist.org/p/jms/aop-bundle$d4c36c7982734e756e82a600a0b13c6d7e719150d164541a3eb7c268239c6284.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-jms$aop-bundle.json into cache
Downloading http://packagist.org/p/jms/cg$1a6979f79570a49ea92449ba65ad495c22b4965b13153c899fb2436c0f2e2a1e.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-jms$cg.json into cache
Downloading http://packagist.org/p/jms/parser-lib$9371fa34264b2075d5a4f4bbe95f5650dcc814f741d27f397854afda2f955b4c.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-jms$parser-lib.json into cache
Downloading http://packagist.org/p/phpoption/phpoption$882dc42c3f4c5f3e923f5aa1c5d647ca7ab0237f7b43994846ca64d93d6938e8.json
Writing /path/to/.composer/cache/repo/https---packagist.org/provider-phpoption$phpoption.json into cache
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for ecentria/loggerserviceclientlibrary dev-master -> satisfiable by ecentria/loggerServiceClientLibrary[dev-master].
    - ecentria/loggerServiceClientLibrary dev-master requires ecentria/rest dev-master -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

satisscreenshot

lavoiesl commented 10 years ago

Everything seems in order…

Could you provide us the output of composer show ecentria/loggerServiceClientLibrary and composer show ecentria/rest as well as the content of /path/to/.composer/cache/repo/http---urlForOurLocalSatisInstall/packages.json

P.s.: It is generally more readable to put everything in a gist.

sozpinar commented 10 years ago

I have the same issue. My project requires myvendor/js-facebook-wrapper which requires myvendor/js-event-manager. When I call composer show myvendor/js-facebook-wrapper and composer show myvendor/js-event-manager in the root directory of my project, I get package information successfully. But, when I call composer update, I get this result.

  Problem 1
  - Installation request for myvendor/js-facebook-wrapper dev-master -> satisfiable by myvendor/js-facebook-wrapper[dev-master].
  - myvendor/js-facebook-wrapper dev-master requires myvendor/js-event-manager dev-master -> no matching package found.

If I additionally define dependency of myvendor/js-event-manager in the root composer.json file, composer update works fine. But I don't want to find out and define all the packages in the dependency tree in my project's composer.json file. Defining a Satis repository in the root composer.json must solve this problem (of course, composer reads repositories from only the root composer.json file). Is Satis not the right tool for nested requirements of private packages?

stof commented 10 years ago

@sozpinar if you read the next few lines of the output (not pasted here), it tells you it is likely to be a stability issue. and this is the case. myvendor/js-event-manager dev-master is not stable, but your root package probably set the minimum stability to stable as it is the default

sozpinar commented 10 years ago

@stof you're right, thanks!

alcohol commented 8 years ago

Closing, please re-open if this is still a concern.