Add links to repo to show/outdated commands package lists#10430
Conversation
|
The general problem here is that there are two "standards" on how to display links in a console:
I don't know how the adoption of (2) will progress. But for Konsole (=default in KDE) it doesn't look too good: https://bugs.kde.org/show_bug.cgi?id=379294 What I originally had in mind in #9367 was to display the link instead of the description: Or maybe introduce some configuration to let the user decide? |
|
Yes to me the critical links that need to be seen need to be of the first type as even the dumbest terminal will let you copy paste the url. Here though it's kinda nice to have functionality and I feel like this approach lets us pack more info and functionality in the same amount of text/output which is good. Letting the user decide is always an option but it also adds complexity across the board (in code, docs, cognitive for users,..) so in this case I don't particularly feel it's justified as one can also easily get the info somewhere else if needed. |
|
Looking at it, it might be usefull to have the version number link to packagist |
…ocs to config command
|
@staabm that's unfortunately quite messy to do as we don't have a direct link to packagist available there. I have now added more links in various other commands though. |
|
Think I am going to merge as is, sorry @ThomasLandauer if this doesn't quite match what you had in mind, but note that you can use --format=json output to get to the URLs otherwise. Combined with jq this should kinda easily let you script this yourself. |
fixes #9367
If someone thinks of another good use case for this, do tell.