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

Add the option to display package URLs in the search results #2330

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

jdholtz
Copy link
Contributor

@jdholtz jdholtz commented Dec 3, 2023

Fixes #2303. The URLs also show for packages in other databases too (not just AUR packages).

Providing the --showpackageurls flag in your config file or during a search (e.g. yay --showpackageurls linux) displays the URL of each package under its description, which the user can then click to view in their web browser.

Let me know if you want me to make constants for the website prefixes, https://archlinux.org/packages and https://aur.archlinux.org/packages, to make them easier to change in the future.

I can also change 'packageurls' to another name if you see one that fits better.

@jdholtz jdholtz requested a review from Jguer as a code owner December 3, 2023 19:01
Copy link

stale bot commented Apr 22, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 22, 2024
@stale stale bot removed the stale label Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add hyperlinks to the aur pages
1 participant