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
Suggestion: Display package's "homepage" instead of "description" in composer show
list
#9367
Comments
I think this will have to wait until we can upgrade dependencies in 2.2, then we can make use of https://symfony.com/blog/new-in-symfony-4-3-console-hyperlinks which would be a more elegant way to fix this IMO, making the name clickable or adding short |
Well, replacing the description could be done immediately, without waiting till all consoles support hyperlinks ;-) However, when you do take the hyperlink route, I'd suggest:
|
I realize we could do it now, but I'd rather not lose the description, and I'd also rather not have this output change in every other release, people like stability. So it'll have to wait a bit :) repo I was thinking the git repo URL, which I'd typically head to to find a changelog, as the homepage is often too vague. |
Sure :-) Repo: I was assuming most packages would put that into |
We can use the homepage and/or support.source which is set for github packages, or source.url worst case.. |
See #10430 |
This sounds nice but I don't think we can link to a shell command :) |
I'm suggesting to replace the last column of the output table of
composer show
andcomposer outdated
: Show the packages website (i.e.homepage
) instead of itsdescription
Reasons:
description
of most packages is non-saying, If I really don't know what this package is, its description certainly won't tell me. To find out, I'd have to, well, visit its website :-)Which URL to display?
If given, use
homepage
fromcomposer.json
. If not, use the package's packagist.org URL.The text was updated successfully, but these errors were encountered: