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

Choose provider when making package #31

Open
BrianAllred opened this issue Dec 4, 2019 · 3 comments
Open

Choose provider when making package #31

BrianAllred opened this issue Dec 4, 2019 · 3 comments

Comments

@BrianAllred
Copy link

aurto fails adding gala-git to the aurto repo because it requires granite-git as a make dep, but only requires libgranite.so as a runtime dep. This results in aurto installing granite first, then trying to replace it with granite-git and failing.

Is there any way to choose a provider when adding a package?

@alexheretic
Copy link
Owner

There currently isn't a way, and since aurto is geared towards unattended builds I don't think it would be easy to add in general.

I can't test this at the moment. I would have guessed aurutils would have sorted out the dependencies here, ie choosing the provider that's required as a makedepend. But if it relies on user interaction aurto won't be able to support this.

@BrianAllred
Copy link
Author

That makes sense and is what I was afraid of. Thanks for the response.

@AladW
Copy link

AladW commented Feb 23, 2020

Most dependency choices are, due to the virtue of a local repository, left to pacman. You can use the interactive prompts by using aur-sync without --no-confirm.

If you want better unattended management of dependencies, pacutils is needed, which is non-trivial because makepkg hardcodes sudo pacman -S --asdeps to install dependencies with pacman.

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

No branches or pull requests

3 participants