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

Option to always remove build dependencies. #17

Open
bernimoses opened this issue Jun 7, 2018 · 5 comments
Open

Option to always remove build dependencies. #17

bernimoses opened this issue Jun 7, 2018 · 5 comments

Comments

@bernimoses
Copy link
Contributor

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

@BurhanDanger
Copy link

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 )

@bernimoses
Copy link
Contributor Author

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

@BurhanDanger
Copy link

Oh, ok , I misunderstood

@kitsunyan
Copy link
Owner

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.

@bernimoses
Copy link
Contributor Author

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

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