Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

Option to display project (upstream) URL in search results list #1839

Open
drws opened this issue Nov 27, 2022 · 3 comments
Open

Option to display project (upstream) URL in search results list #1839

drws opened this issue Nov 27, 2022 · 3 comments
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request

Comments

@drws
Copy link

drws commented Nov 27, 2022

Is your feature request related to a problem? Please describe.

A package's upstream URL is a useful piece of information. Also the double-line-formatted search output still has some space in the first line that could be used.

Describe the solution you'd like

An option to also display AUR package's upstream URL when searching for packages.

Describe alternatives you've considered

Manual query only.

@drws drws added Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request labels Nov 27, 2022
@ipatch
Copy link

ipatch commented Feb 23, 2023

heads up not sure if you know about

yay -Q info [app]

app being the package you are searching for will display a URL for the package it's not the aur project page but some link to the github repo for the project ie.

yay -Q --info python-doit-py

will spit out,

Name            : python-doit-py
Version         : 0.5.0-5
Description     : doit tasks for python stuff
Architecture    : any
URL             : https://github.com/pydoit/doit-py
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : python-configclass  python-doit
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 44.96 KiB
Packager        : Felix Yan <felixonmars@archlinux.org>
Build Date      : Thu 02 Dec 2021 07:04:48 PM CST
Install Date    : Thu 23 Feb 2023 11:02:10 AM CST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

and with my current temrinal setup alacritty i can shift+LMB click on the URL in the output to open up the URL in my browser.

hope that helps.

@drws
Copy link
Author

drws commented Feb 23, 2023

This is useful, but it's an additional manual query to do for each package. This issue is specifically about extending double-line-formatted package search results to also include package's upstream URL (since it's a very useful piece of information).

@jdholtz
Copy link
Contributor

jdholtz commented Jun 29, 2023

This is easy to add in pkg/query/types.go as the URL information is already available. @Jguer, what do you think of adding the URL next to the package name (I can submit a PR for this)? Or possibly another flag/config option can be added to output more detailed information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Discussion Open Topic is being considered and open for discussion Type: Feature Request
Projects
None yet
Development

No branches or pull requests

3 participants