gruntwork-io / gruntwork-io/fetch

Feature: port architecture and OS introspection support from gruntwork-install

Open
#47 1 comment 1 reaction 0 assignees View on GitHub
enhancement needs design
Dominant language
Go
Stars
624
Forks
92
PR merge metrics
No merged PRs in 30d

Description

`gruntwork-install` has the ability to introspect the OS and architecture of the system to determine which binary asset to install.

I can see why this is not in `fetch`, which is more generic and thus cannot rely on our naming conventions, but it would be nice if that functionality was baked into fetch itself. The primary use case for this would be Windows support. `gruntwork-install` is implemented in `bash`, which means it can't be used in most Windows environments. It would be nice if we can port that functionality into `fetch`, so that we can support Windows too.

Notes:

- I am not sure how to make this more generic. Perhaps we can assume our naming convention, and then if it doesn't match have an interactive prompt to select the correct one, sorting the list by name introspection?
- Alternatively, we can reimplement `gruntwork-install` to be in python or Go so that it is portable.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.