You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
I recently changed master@dev to @dev, as the latter will support released versions in the future instead of being restricted to the master branch; however, neither should be the cause of this problem.
I think you may need to specify minimum-stability: "dev" in your Composer project files, as I did in doctrine/DoctrineMongoDBBundle@73223d8. Even if you require a package with dev stability, Composer doesn't enforce that stability level for any indirect dependencies. I'm unsure if that's intentional or just an oversight/bug, but the only workaround I found was to allow dev packages at my project level (or the bundle in this case).
The reason will be displayed to describe this comment to others. Learn more.
Also, do make sure that your composer.phar file is up-to-date, otherwise the @ syntax might not even be supported (another possible reason for why you can't find the package).
0aee133
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmikola The
master@dev
syntax seems to break my attempts tocomposer install
, whilemaster-dev
works. Is there something I'm doing wrong?0aee133
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I should clarify that,
dev-master
works (notmaster-dev
)0aee133
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I second this complaint. Here's the error message from composer:
Your requirements could not be solved to an installable set of packages.
Problem 1
- doctrine/mongodb-odm dev-master requires doctrine/mongodb master@dev -> no matching package found.
- doctrine/mongodb-odm dev-master requires doctrine/mongodb master@dev -> no matching package found.
- Installation request for doctrine/mongodb-odm dev-master -> satisfiable by doctrine/mongodb-odm dev-master.
Potential causes:
see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.
0aee133
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recently changed
master@dev
to@dev
, as the latter will support released versions in the future instead of being restricted to the master branch; however, neither should be the cause of this problem.I think you may need to specify
minimum-stability: "dev"
in your Composer project files, as I did in doctrine/DoctrineMongoDBBundle@73223d8. Even if you require a package with dev stability, Composer doesn't enforce that stability level for any indirect dependencies. I'm unsure if that's intentional or just an oversight/bug, but the only workaround I found was to allow dev packages at my project level (or the bundle in this case).0aee133
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, do make sure that your
composer.phar
file is up-to-date, otherwise the@
syntax might not even be supported (another possible reason for why you can't find the package).0aee133
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minimum-stability: "dev"
works for me. Thanks!0aee133
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minimum-stability: "dev"
works for me too. :)