aurto icon indicating copy to clipboard operation
aurto copied to clipboard

Choose provider when making package

Open BrianAllred opened this issue 6 years ago • 3 comments

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?

BrianAllred avatar Dec 04 '19 23:12 BrianAllred

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.

alexheretic avatar Dec 05 '19 00:12 alexheretic

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

BrianAllred avatar Dec 05 '19 00:12 BrianAllred

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.

AladW avatar Feb 23 '20 11:02 AladW