Closed makasim closed 12 years ago
new composer is broken, current not install any package
- Package "fp/openid-bundle-dev-testing" contains the rule fp/openid-bundle requires fp/lightopenid (== 1.0.0.0-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-manage-cancel" contains the rule fp/openid-bundle requires fp/lightopenid (== 1.0.0.0-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-user-refresh" contains the rule fp/openid-bundle requires fp/lightopenid (== 1.0.0.0-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-factories-bc-break" contains the rule fp/openid-bundle requires fp/lightopenid (== 1.0.0.0-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-readme-version-description" contains the rule fp/openid-bundle requires fp/lightopenid (== 1.0.0.0-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-lightopenid-original-repo" contains the rule fp/openid-bundle requires lightopenid/lightopenid (== 9999999-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-1.0.0.0-dev" contains the rule fp/openid-bundle requires lightopenid/lightopenid (== 9999999-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-composer" contains the rule fp/openid-bundle requires lightopenid/lightopenid (== 9999999-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-9999999-dev" contains the rule fp/openid-bundle requires lightopenid/lightopenid (== 1.0.0.0). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-new-version" contains the rule fp/openid-bundle requires lightopenid/lightopenid (== 9999999-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-9999999-dev" contains the rule fp/openid-bundle requires lightopenid/lightopenid (== 1.0.0.0). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-composer" contains the rule fp/openid-bundle requires fp/lightopenid (== 1.0.0.0-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-fix-composer" contains the rule fp/openid-bundle requires fp/lightopenid (== 1.0.0.0-dev). No package satisfies this dependency.
There is a PR to lightopenid original repo for adding composer.json and a mark about packagist.
Now you can try composer.json
from new-version
branch, but because of this http://getcomposer.org/doc/faqs/why-can%27t-composer-load-repositories-recursively.md issue you have to re-add lightopenid repository in your project composer.json.
btw new-version
will soon became a master and master 1.1
i try new version too - not work
"fp/openid-bundle": "dev-new-version",
- Package "fp/openid-bundle-dev-manage-cancel" contains the rule fp/openid-bundle requires fp/lightopenid (== 1.0.0.0-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-user-refresh" contains the rule fp/openid-bundle requires fp/lightopenid (== 1.0.0.0-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-new-version" contains the rule fp/openid-bundle requires lightopenid/lightopenid (== 9999999-dev). No package satisfies this dependency.
- Package "fp/openid-bundle-dev-new-version" contains the rule fp/openid-bundle requires lightopenid/lightopenid (== 9999999-dev). No package satisfies this dependency.
set
{
"type": "vcs",
"url": "https://github.com/formapro/FpOpenIdBundle.git"
},
have you re-added lightopenid/lightopenid
repository to your project composer.json
?
you have to do it until lightopenid owner added composer.json to the lib and posted it to packagist
This a composer.jsom from my sandbox. Should work:
{
"name": "symfony/framework-standard-edition",
"autoload": {
"psr-0": { "": "src/" }
},
"require": {
"php": ">=5.3.2",
"symfony/symfony": "2.1.*",
"doctrine/orm": "2.2.0",
"doctrine/doctrine-bundle": "dev-master",
"twig/extensions": "dev-master",
"symfony/assetic-bundle": "dev-master",
"symfony/swiftmailer-bundle": "dev-master",
"symfony/monolog-bundle": "dev-master",
"sensio/distribution-bundle": "dev-master",
"sensio/framework-extra-bundle": "dev-master",
"sensio/generator-bundle": "dev-master",
"jms/security-extra-bundle": "1.1.0",
"jms/di-extra-bundle": "1.0.1",
"friendsofsymfony/user-bundle": "dev-master",
"fp/openid-bundle": "dev-new-version"
},
"scripts": {
"post-install-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
],
"post-update-cmd": [
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets"
]
},
"repositories": [
{
"type": "package",
"package": {
"name": "lightopenid/lightopenid",
"version": "dev-master",
"dist": {
"url": "http://gitorious.org/lightopenid/lightopenid/archive-tarball/master",
"type": "tar.gz"
},
"source": {
"url": "git://gitorious.org/lightopenid/lightopenid.git",
"type": "git",
"reference": "master"
}
}
}
],
"config": {
"bin-dir": "bin"
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web"
}
}
I try add into project
{ "lightopenid/lightopenid": { "type": "package", "package": { "name": "lightopenid/lightopenid", "version": "1.0.0", "source": { "url": "git://gitorious.org/lightopenid/lightopenid.git", "type": "git", "reference": "master" }, "autoload": { "classmap": [""] } } } },
and now i have
"repositories": [
{
"type": "vcs",
"url": "https://github.com/formapro/FpOpenIdBundle.git"
},
{
"type": "package",
"package": {
"name": "lightopenid/lightopenid",
"version": "1.0.0",
"source": {
"url": "git://gitorious.org/lightopenid/lightopenid.git",
"type": "git",
"reference": "master"
},
"autoload": {
"classmap": [""]
}
}
},
{
"type": "composer",
"url": "behat.org"
}
],
work, thanks
http://gitorious.org/lightopenid