Support for fetching multiple tools using some declarative configuration
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the command-line argument handling and the existing download and verification flow. Define the configuration format and how parallel downloads, SHA-256 verification, chmod, final placement, and optional dependencies should work. Done should cover the requested workflow with clear error handling and installation ordering.
Written by the indexing model from the issue text.
Description
Describe the solution you'd like
Add command line argument to specify a configuration file which would contain list of repositories to download in parallel.
My use case is to bootstrap environment using following algorithm.
- download a bunch of tools and verify sha256 of each downloaded artifact.
- Then do
chmod +xfor each one of them. - Finally only iff sha256 is verified move the file to its final destination
Bonus feature: Ability to specify dependencies between the tools to establish right installation order.
Describe alternatives you've considered
- use
jqto get list of targets and sha and combine it with shell scripts involving sha256,chmod,curl - put urls and SHAs into a bash array and iterate over in a function
None of the above solutions would be portable enough, cannot provide parallel downloads and decent error handling.
Additional context
There are similar tools. However there is none which do both batch artifact download and verification:
- https://github.com/hashicorp/go-getter
- https://github.com/devmatteini/dra
- https://github.com/izirku/gitrel
- https://github.com/zyedidia/eget
- https://github.com/egoist/bget
- https://github.com/aquaproj/aqua
- https://github.com/binqry/binq
- https://github.com/abdfnx/instal
- https://github.com/golgoth31/release-installer
Less relevant tools
- Dominant language
- Go
- Stars
- 625
- Forks
- 92
- Avg merge
- 12h 56m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from gruntwork-io/fetch
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 38/100
gruntwork-io/fetch#121 · 1 comment ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
gruntwork-io/fetch#120 · 2 reactions ·
-
bug p:needs triage
Difficulty 4/5 3-5 days Newbie friendliness 32/100
gruntwork-io/fetch#111 · 2 comments ·
-
Prevent silent failOpenenhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
gruntwork-io/fetch#104 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
gruntwork-io/fetch#99 ·
All issues in gruntwork-io/fetch
Similar issues
-
BasicEventElement `messageBroker` is never returned on read (jsonb decoded into `sql.NullString`)Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
eclipse-basyx/basyx-go-components#963 ·
Maintainers usually reply within 1 day
-
Area/Console Aspect/UI Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
wso2/agent-manager#2743 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day