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

Install multiple binaries from an archive asset #236

Merged
merged 24 commits into from
Nov 16, 2024

Conversation

duong-dt
Copy link
Contributor

This is to support installing multiple binaries from an archive asset #234 , without having to download such asset multiple times, by accepting multiple -I,--install-file arguments.

  • When multiple -I,--install-file are specified, and -o,--output is specified, then -o,--output must be a directory.
  • When multiple -I,--install-file are specified, the selected asset (either specified by -s,--select or via by -a,--automatic) must be an archive asset.

@candrapersada
Copy link

Copy link
Owner

@devmatteini devmatteini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @duong-dt and thanks for your contribution 😄!

I left some comments to check out :)

src/cli/download_handler.rs Outdated Show resolved Hide resolved
src/cli/download_handler.rs Outdated Show resolved Hide resolved
src/cli/download_handler.rs Outdated Show resolved Hide resolved
src/cli/download_handler.rs Outdated Show resolved Hide resolved
src/cli/spinner.rs Outdated Show resolved Hide resolved
tests/integration_tests.rs Outdated Show resolved Hide resolved
tests/integration_tests.rs Outdated Show resolved Hide resolved
tests/integration_tests.rs Outdated Show resolved Hide resolved
tests/integration_tests.rs Outdated Show resolved Hide resolved
src/cli/download_handler.rs Outdated Show resolved Hide resolved
duong-dt and others added 23 commits November 16, 2024 17:39
…archive which are not needed

The same checks are already done by installer::install.
@devmatteini devmatteini merged commit 9803956 into devmatteini:main Nov 16, 2024
9 checks passed
@devmatteini
Copy link
Owner

The work for this new feature is not done yet, but I think it's ok to merge this initial work.

Thanks @duong-dt for your initial implementation!

@duong-dt
Copy link
Contributor Author

Sorry I was too busy last few weeks, and cannot make further.
Thanks for accepting this.

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

Successfully merging this pull request may close these issues.

3 participants