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

--rebuildtree requires --rebuild to have an effect #2479

Open
xeruf opened this issue Jul 28, 2024 · 0 comments
Open

--rebuildtree requires --rebuild to have an effect #2479

xeruf opened this issue Jul 28, 2024 · 0 comments

Comments

@xeruf
Copy link
Contributor

xeruf commented Jul 28, 2024

Affected Version

yay v12.3.5 - libalpm v14.0.0

Describe the bug

The documentation for --rebuildtree says:
When installing an AUR package rebuild and reinstall all of its AUR dependencies recursively, even the ones already installed. This flag allows you to easily rebuild packages against your current system's libraries if they have become incompatible.

Expected behavior

For me this means that --rebuildtree implies --rebuild, but the screenshot below indicates otherwise.
Either clarify the documentation or fix the behavior.
Is there any point of rebuildtree without rebuild?

How about making it a parameter with optional value, i.e. --rebuild=target, --rebuild=all, --rebuild=tree, which defaults to target when only --rebuild is provided? Then it could also accept certain packages to rebuild as in --rebuild=package1,pacakge2.

By the way, is --rebuildall essentially the union of --rebuild and --rebuildtree? If so that should be clarified as well.

Output

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant