pakku icon indicating copy to clipboard operation
pakku copied to clipboard

Option to always remove build dependencies.

Open bernimoses opened this issue 6 years ago • 5 comments

Would it be possible to add a option in /etc/pakku.conf to always remove build dependencies, if they were installed beforehand.

bernimoses avatar Jun 07 '18 08:06 bernimoses

pakku autoremoves make dependencies for the package it installs.

For previously installed make deps use pacman -Rns $(pacman -Qtdq) to clean system , then never install with other helpers ( I guess )

BurhanDanger avatar Jun 07 '18 14:06 BurhanDanger

With "always removed" i mean, that i don't have to confirm Do you want to remove these packages? [Y/n] the removal of those packages (pass --noconfirm to pacman).

This could also be done for installing build dependencies Proceed with installation? [Y/n].

It could look like this:

BuildDepsNoConfirm

or something more general:

AddBuildDepsOptions = --noconfirm
RemoveBuildDepsOptions = --noconfirm

bernimoses avatar Jun 07 '18 14:06 bernimoses

Oh, ok , I misunderstood

BurhanDanger avatar Jun 07 '18 15:06 BurhanDanger

I think it would be better to implement it as part of batch interaction feature request. I think there should be Batch option in which you can specify what to do automatically and how to answer these questions. For instance, now pakku may ask twice to remove build dependencies. It will ask for unnecessary at all build dependencies and for build dependencies which are optional for some packages.

kitsunyan avatar Jun 11 '18 23:06 kitsunyan

As long as there is a option to disable / deactivate / set default for most of the questions, i'm ok with it.

bernimoses avatar Jun 12 '18 13:06 bernimoses