[go: up one dir, main page]

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

Download externals concurrently #2670

Open
twpayne opened this issue Jan 2, 2023 · 1 comment
Open

Download externals concurrently #2670

twpayne opened this issue Jan 2, 2023 · 1 comment
Labels
enhancement New feature or request v3 Planned for v3

Comments

@twpayne
Copy link
Owner
twpayne commented Jan 2, 2023

Is your feature request related to a problem? Please describe.

chezmoi downloads externals serially. Downloading externals takes time, and this can lead to long pauses in chezmoi's progress (#2369). It would be nice if this overall process could be faster.

Describe the solution you'd like

chezmoi should download externals concurrently, subject to some externally-specified sensible limit (e.g. number of simultaneous concurrent downloads).

Describe alternatives you've considered

Keeping things as they are.

Additional context

Programs like curl and aria2 are much more advanced. Maybe, as well as enabling concurrent downloads, chezmoi could include a download plugin option.

@twpayne twpayne added enhancement New feature or request v3 Planned for v3 labels Jan 2, 2023
@halostatue
Copy link
Collaborator

Possible with go channels?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v3 Planned for v3
Projects
None yet
Development

No branches or pull requests

2 participants