Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer 2 show all not displaying available versions #10095

Closed
devchris79 opened this issue Sep 10, 2021 · 0 comments
Closed

Composer 2 show all not displaying available versions #10095

devchris79 opened this issue Sep 10, 2021 · 0 comments
Labels
Milestone

Comments

@devchris79
Copy link

The show --all flag behaviour is different between version 1 and 2 of composer, the documented Magento method for obtaining versions doesn't work correctly with version 2.
It has been pointed out in the Magento forum that --available can be used, but its thought show all should return a list of versions too.

Magento forum post link

When I run this command:

composer show magento/product-community-edition 2.4.* --all | grep -m 1 versions

I get the following output:

versions : * 2.4.2-p2

And I expected this to happen:

versions : * 2.4.3, 2.4.2-p2, 2.4.2-p1, 2.4.2, 2.4.1-p1, 2.4.1, 2.4.0-p1, 2.4.0
@Seldaek Seldaek added this to the 2.1 milestone Oct 2, 2021
@Seldaek Seldaek added the Bug label Oct 2, 2021
@Seldaek Seldaek closed this as completed in 532c6e7 Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants