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

Speed up --needed install #238

Open
make-github-pseudonymous-again opened this issue Mar 22, 2021 · 0 comments
Open

Speed up --needed install #238

make-github-pseudonymous-again opened this issue Mar 22, 2021 · 0 comments

Comments

@make-github-pseudonymous-again

Currently each package passed to trizen -S --aur --needed is checked sequentially for needeness of installation. Can that be done in parallel? This is especially slow with a satellite connection.

make-github-pseudonymous-again added a commit to make-github-pseudonymous-again/dotfiles that referenced this issue Mar 30, 2021
Trizen pulls changes by default and there does not seem to be a way
around that. Fixing trizen/trizen#238 would
help, but that would not be enough. Since updates are handled earlier in
the script, there is no need to check for updates a second time here.
Hence, here we only pass to trizen the list of packages that are not
installed (`pacman -Qk` tests the opposite). Most of the time this list
is empty, efficiently bypassing all checks.

Fixes #21.
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

1 participant